roblox-security — скилл для Claude Code: что делает и как установить
Скилл проверяет серверный код Roblox на уязвимости, дюпы валюты и доверие клиенту. Пригодится перед релизом плейса или при аудите RemoteEvent и сохранений.
npx skills add TabooHarmony/roblox-brain --skill roblox-security -a claude-codeЧто делает roblox-security
Скилл проверяет безопасность плейсов в Roblox, отталкиваясь от правила: клиент всегда скомпрометирован. Он анализирует сетевые границы и требует проверять типы аргументов, кулдауны и мутации валюты строго на сервере. При аудите покупок скилл проверяет обработчики ProcessReceipt, а для сохранений — блокировку сессий в DataStore и защиту через BindToClose.
Подход зависит от модели симуляции. Для классической репликации проверяются серверные состояния и запрет доверять урону от клиента. Если включён Workspace.AuthorityMode = Server, скилл ориентируется на BindToSimulation() и флаг UseFixedSimulation, а не на сплошную коррекцию в Heartbeat. Детекторы вроде ClickDetector и ProximityPrompt проверяются так же строго, как удалённые события.
Для банов через Players:BanAsync требуется флаг Players.BanningEnabled и обязательный вызов через pcall. Попытки скрыть код обфускацией или положиться на клиентский античит не спасут плейс от эксплойтов, если сервер слепо доверяет входящим значениям.
Какие задачи решает
- найти уязвимости в обработке RemoteEvent и RemoteFunction
- настроить валидацию ProcessReceipt и защиту от дюпа валюты
- внедрить блокировку сессий DataStore с защитой в BindToClose
- проверить серверную валидацию кликов и ProximityPrompt
- настроить вызовы Players:BanAsync с обработкой ошибок через pcall
Примеры запросов агенту
- Проверь серверный скрипт магазина на уязвимости в ProcessReceipt и начислении валюты.
- Проведи аудит безопасности RemoteEvent в моем проекте на предмет доверия клиенту.
- Помоги перевести сетевую логику оружия на серверную валидацию без доверия клиенту.
Как установить roblox-security
1Через Skills CLI (Vercel)
npx skills add TabooHarmony/roblox-brain --skill roblox-security -a claude-code2Вручную: положить файлы
~/.claude/skills/roblox-security/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/roblox-security/
1Через Skills CLI (Vercel)
npx skills add TabooHarmony/roblox-brain --skill roblox-security -a codex2Вручную: положить файлы
.agents/skills/roblox-security/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add TabooHarmony/roblox-brain --skill roblox-security -a cursor2Вручную: положить файлы
.cursor/skills/roblox-security/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install TabooHarmony/roblox-brain roblox-security2Вручную: положить файлы
.github/skills/roblox-security/SKILL.md1Через Skills CLI (Vercel)
npx skills add TabooHarmony/roblox-brain --skill roblox-security -a gemini-cli2Командой платформы
gemini skills install https://github.com/TabooHarmony/roblox-brain --path skills/core/roblox-securityВручную: положить файлы
.devin/skills/roblox-security/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add TabooHarmony/roblox-brain --skill roblox-security -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о roblox-security
Как установить roblox-security в Claude Code?
Запустите команду npx skills add TabooHarmony/roblox-brain --skill roblox-security -a claude-code. Файл навыка сохранится по пути ~/.claude/skills/roblox-security/SKILL.md.
Что проверяет скилл roblox-security в коде Roblox?
Он анализирует защиту от эксплойтов: серверный авторитет, проверку типов в удалённых событиях, логику ProcessReceipt, сохранения в DataStore и защиту от дюпа предметов.
Что нужно настроить для работы Players:BanAsync?
Метод работает только на сервере и требует включённого свойства Players.BanningEnabled. Скилл также предписывает оборачивать вызов в pcall.
Исходный текст
SKILL.md · MIT
--- name: roblox-security description: "Use when auditing or hardening Roblox code against exploits: authority, remotes, economy, purchases, and DataStore flows." when_to_use: "Also for security reviews, cheaters or exploiters, duplicated items or currency, trusting client values, admin commands, and pre-release audits." last_reviewed: 2026-10-14 sources: - https://create.roblox.com/docs/ui/text-filtering - https://create.roblox.com/docs/scripting/security/security-tactics - https://create.roblox.com/docs/scripting/security/client-server-boundary - https://create.roblox.com/docs/projects/server-authority - https://create.roblox.com/docs/projects/server-authority/techniques - https://create.roblox.com/docs/reference/engine/classes/Players - https://create.roblox.com/docs/scripting/capabilities - original - https://raw.githubusercontent.com/Roblox/creator-docs/main/content/en-us/reference/engine/classes/Player.yaml - https://raw.githubusercontent.com/Roblox/creator-docs/main/content/en-us/reference/engine/classes/SocialService.yaml --- # Roblox Security ## When to Load Load for authority, remote abuse, economy, saves, bans, or sandboxing audits. Remote validation/rate limits: `roblox-networking`. ## Quick Reference **Core:** Client is always compromised. The server remains the source of truth, but the implementation depends on the authority model. ### Authority Models - **Classic replication:** validate client requests against server state. Never trust client damage, currency, inventory, permissions, or positions. - **Server Authority:** `Workspace.AuthorityMode = Server`: the server owns core simulation while clients predict and recover from misprediction. Use `BindToSimulation()` (needs `UseFixedSimulation`), not blanket `Heartbeat` correction. Cheap for stock characters, rewrite-scale for authored simulation (full.md). - **Both:** validate attacks, purchases, teleports, permissions, and custom remotes at the server boundary. ### Audit Checklist **CRITICAL:** Server-authoritative state · Documented authority model · Validate all arg types · Rate limit remotes · Session-lock DataStore · No client currency mutations · ProcessReceipt verification · No secrets in client code **HIGH:** Validate custom movement and action transitions · BindToClose protection · Atomic trading · Never trust client values · Use InputActions for simulation input in Server Authority projects · Validate ProximityPrompt/ClickDetector/DragDetector like remotes **MEDIUM:** Server cooldowns · server-computed leaderboards · anti-AFK reward checks · TextService filtering · Script sandboxing for third-party code ### Enforcement Enforcement is a product decision with appeal implications. `Players:BanAsync`/`UnbanAsync` are server-only and need `Players.BanningEnabled`; `pcall` them. Duration, reason limits and device blocks: full.md. ### Anti-Patterns Don't obfuscate client code, use `_G` for security, kick without logging, over-validate movement, or rely on client anti-cheat. See `references/full.md` for detailed examples.
© TabooHarmony · MIT · TabooHarmony/roblox-brain