audit · lihfolk-cy — Claude Code command: what it does, how to install
audit is a Claude Code command that audits Roblox Luau code for security holes, exploits, and storage flaws. It runs automated checks and builds a ranked fix list from P0 to P3.
LicenseRef-Proprietary ★ 98 updated 2026-10-29
/plugin marketplace add lihfolk-cy/v2-vault
/plugin install lihfolk@lihfolkWhat audit does
The command performs a read-only inspection across the specified path or project root, proposing fixes only after completing the analysis. It first triggers lihfolk-check.sh on Bash or lihfolk-check.ps1 on PowerShell. Third-party folders such as Packages, _Index, and node_modules are skipped automatically.
The review then maps out structural entry points: remote signals like OnServerEvent and InvokeClient, DataStore update routines, Robux monetization hooks in ProcessReceipt, and per-frame event listeners. Each identified subsystem is vetted against rules for remote validation, session locking, combat threat models, and random item disclosure rules via PolicyService.
A failure on any hard gate inside rubrics/system.md caps the rubric score at 5.0. Output delivers an organized table prioritizing severe issues like client-driven currency manipulation under P0, while grouping style remarks and deprecated methods under P3.
What it helps with
- find unvalidated parameters and trust issues in Roblox remote events
- detect data loss risks in
UpdateAsyncand missingBindToCloselogic - spot unyielding loops and memory leaks in per-frame handlers
- verify compliance gates for paid randomized items before publishing
Example prompts for the agent
- /audit
- Run /audit src/server to check server scripts for exploits
- /audit game/scripts
How to install audit
1Plugin marketplace
/plugin marketplace add lihfolk-cy/v2-vault/plugin install lihfolk@lihfolk2Manually: put the files in place
.claude/commands/audit.mdCall it with /audit. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/audit.mdCall it with /prompts:audit. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/audit.prompt.mdManually: put the files in place
.gemini/commands/audit.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about audit
How to install audit in Claude Code?
Run two marketplace commands in order: /plugin marketplace add lihfolk-cy/v2-vault followed by /plugin install lihfolk@lihfolk.
What does audit do?
It scans Roblox Luau codebases with regex-based checkers and structured review procedures, compiling an actionable list of exploits, data risks, and performance bottlenecks.
Does audit modify source files directly?
No, it runs in a review mode without changing code. It concludes by presenting the findings and asking whether to apply the top three recommendations.
Similar slash commands
All slash commands for Code review and refactoring →audit by other authors comes first.