Capafy
はじめる
Roblox Anti-Exploit Economy, Trading & DataStore

Roblox Anti-Exploit Economy, Trading & DataStore

Stop Roblox exploiters, NaN/negative-price hacks, trade dupes, DataStore wipes, and broken Robux ProcessReceipt bugs. Bundles a 12-class Python Luau security scanner, strict ProfileStore/Escrow stack, and Red-Team playbook. Works with Claude Code, Codex, Antigravity & Cursor. #ゲーム #財務

評価
さらに評価が必要です
販売数
2
利用方法
ダウンロード

Roblox Exploit-Proof Economy, Trading & DataStore Fortress

Compatibility: Universal SKILL.md package — works out of the box with Claude Code, Codex CLI, Antigravity, Cursor, OpenClaw, Hermes, and any SKILL.md-compatible coding agent. Supports both Rojo / local repositories and direct Roblox Studio MCP workflows.

Stop vibe-coded economies from getting wrecked on launch day. Most AI-generated Roblox games fail for the same reasons once real players join: RemoteEvents trust client-supplied prices or quantities, NaN (0/0) inputs slip past naive checks, trading systems suffer last-second switcheroo dupes, DataStore:SetAsync() wipes inventories during server hops, and multiple ProcessReceipt scripts silently overwrite each other and break Robux purchases.

This skill turns your coding agent into a Senior Roblox Security & Backend Engineer—equipped with an automated Python static Luau security scanner, a drop-in --!strict Luau server fortress stack, and an 8-vector Red-Team audit playbook to find and patch exploits before players abuse them.


What's Inside

1. Automated Luau Security Scanner (scripts/audit_luau_security.py)

A zero-dependency Python 3.8+ static analyzer your agent runs directly against any .luau / .lua project (outputs Markdown or JSON) to flag 12 real-world Roblox vulnerability classes:

  • Unvalidated OnServerEvent / OnServerInvoke handlers missing typeof() or NaN/math.huge finite checks
  • Unsafe DataStore:SetAsync() calls that risk overwrite & rollback dupes
  • Multiple MarketplaceService.ProcessReceipt assignments across scripts
  • Unsafe product grants inside PromptProductPurchaseFinished
  • Dynamic loadstring() or numeric require(<assetId>) calls
  • Client-side currency/leaderstats mutations
  • Missing game:BindToClose() shutdown DataStore flushes
  • Missing PolicyService.ArePaidRandomItemsRestricted gates on paid eggs/crates/gacha
  • Unvalidated ProximityPrompt / ClickDetector server triggers
  • Mixed legacy ProfileService (LoadProfileAsync) and modern ProfileStore (StartSessionAsync) API calls
  • Deprecated globals (wait, spawn, delay, _G) and unbounded while true loops

2. Drop-In --!strict Luau Fortress Stack (references/fortress-luau-stack.md)

  • RemoteGuard.luau: Strict type checks, NaN/Inf guards, integer clamps, string-length caps, character range validation, token-bucket rate limiting, and PlayerRemoving cleanup.
  • PlayerDataService.luau: Clean modern ProfileStore setup (New, StartSessionAsync, Reconcile, OnSessionEnd, EndSession, Players:GetPlayers() join-race protection) plus a zero-dependency atomic UpdateAsync session-lock alternative with BindToClose.
  • TradeEscrowService.luau: Two-phase atomic escrow (OPEN → LOCKED → CONFIRMED → COMMITTING → DONE) with monotonic offerVersion invalidation and per-player mutexes to stop switcheroo and concurrent shop/trade dupes.
  • MonetizationService.luau: Single centralized ProcessReceipt handler with bounded PurchaseId idempotency, NotProcessedYet safety, and fail-closed PolicyService paid-random-item checks.

3. 8-Vector Red-Team Audit Playbook (references/red-team-audit-playbook.md)

Step-by-step manual attack simulation covering NaN injections, negative-quantity shop refunds, switcheroo trades, cross-server rollback dupes, remote flood DoS, and regional compliance checks.


Example Prompts You Can Run

1. Run a full Red-Team audit on an existing Roblox game

"Scan my Roblox Luau project (Rojo src/ or active Studio scripts) using audit_luau_security.py, run the 8-vector Red-Team audit across all remotes, DataStores, shops, and trading scripts, and give me severity-ranked patches until CRITICAL findings reach zero."

2. Build an exploit-proof Shop & Inventory backend

"Build a server-authoritative Shop and Inventory backend in --!strict Luau using RemoteGuard and PlayerDataService (ProfileStore), ensuring clients only send itemId and quantity, with NaN/negative-number protection and BindToClose safety."

3. Fix trading duplication & switcheroo exploits

"Refactor my player-to-player trading system into a two-phase atomic escrow (TradeEscrowService.luau) with offerVersion confirmation resets, UUID ownership checks, and an in-flight mutex shared with shops and item drops."

4. Fix broken Robux purchases & PolicyService compliance

"Consolidate my scattered ProcessReceipt scripts into one idempotent MonetizationService.luau with PurchaseId deduplication and PolicyService:GetPolicyInfoForPlayerAsync gating for paid crates."

5. Catch ProfileService vs. ProfileStore AI hallucinations

"Audit my data loading scripts for mixed ProfileService and ProfileStore methods, add Players:GetPlayers() join-race protection, and fix session-end kick handling."


Changelog

v1.0.1

  • Discovery & Hybrid Workflow Polish: Clarified support for both Rojo local repositories and direct Roblox Studio MCP workflows, sharpened launch-security positioning, and updated audit prompts for hybrid setups.

v1.0.0

  • Initial Release: Bundled scripts/audit_luau_security.py (12-class zero-dependency Python Luau security scanner), references/fortress-luau-stack.md (RemoteGuard, PlayerDataService with modern ProfileStore, TradeEscrowService, MonetizationService), and references/red-team-audit-playbook.md (8-vector exploit simulation playbook).

Package Structure

roblox-economy-security-fortress/
├── SKILL.md                                 -- 7 Security Laws, modes, ProfileStore anti-hallucination table
├── scripts/
│   └── audit_luau_security.py               -- Zero-dependency Python Luau static security scanner
└── references/
    ├── fortress-luau-stack.md               -- Strict Luau RemoteGuard, PlayerData, TradeEscrow & Monetization
    └── red-team-audit-playbook.md           -- 8-vector exploit simulation & audit report template