사용 방법
- 설치 명령을 복사하고 자신의 에이전트 환경에 설치하기 전에 소스 패키지를 확인하세요.
- 필요한 도구, 인증 정보, 지원 환경은 원본 문서에서 확인하세요.
- 입력과 원하는 산출물을 설명하고 출처와 결과를 대조하세요.
npx skills add https://github.com/ashexplained/roblox-skills --skill roblox-security-economy시작 전 확인
- 설치에는 모델 구독, API 한도, 파일 접근 권한이 포함되지 않습니다.
- 별점 수와 설치 수는 활동 지표이며 독립적인 품질·보안 검증이 아닙니다.
원본 저장소의 제목, 예시, 코드, 표, 링크, 이미지를 유지해 표시합니다.
Roblox Security Economy
Goal
Protect valuable game state while keeping the player loop fair. Anything that grants, spends, trades, saves, or purchases value must be server-authoritative.
High-Risk Surfaces
- Currency and premium currency.
- Inventory, pets, skins, tools, boosts, and quest rewards.
- Trading, gifting, crafting, upgrades, prestige, and loot rolls.
- Developer product receipts and game pass checks.
- Daily rewards, streaks, event rewards, and group rewards.
- Client remotes that request grants, damage, teleport, placement, or progression.
Server Authority Rules
- Calculate rewards on the server.
- Validate player eligibility on the server.
- Store canonical balances and inventory on the server.
- Treat client UI as display and intent only.
- Use idempotency for purchases and valuable grants.
- Reject malformed, replayed, impossible, or too-frequent remote requests.
DataStore And Receipt Patterns
- Save compact canonical state, not UI state.
- Use versioned data schemas and migration guards.
- Queue or debounce saves during active sessions.
- Bind saves to player leaving and server shutdown paths.
- For developer products, grant through receipt processing and record processed purchase IDs before considering the transaction complete.
Trading And Gifting
- Use server-owned trade sessions.
- Lock offered items while a trade is pending.
- Require both parties to confirm the exact final offer.
- Revalidate ownership immediately before commit.
- Commit atomically from server state where possible.
- Log valuable trades and grant paths for later investigation.
MCP Review Workflow
- Use
script_grepfor remotes, currency names, DataStore usage, receipt handlers, and grant functions. - Read every script that touches value with
script_read. - Inspect relevant instances with
search_game_treeandinspect_instance. - Patch with
multi_editonly after mapping source-to-sink flow. - Playtest purchase-free paths and console errors with
start_stop_playandget_console_output.
Output
Report:
- Assets or values protected.
- Trust boundary.
- Server validation rules.
- Abuse cases prevented.
- Remaining risks or manual Roblox purchase tests.
Next
Verify the protected flows in a playtest with roblox-playtest-qa, and confirm the save path is safe with roblox-datastore-persistence.