audit
Skill7 starsChanged 2 days agoMITView on GitHub
Full security, correctness, and operability audit of code. Use when reviewing a diff, endpoint, or feature for vulnerabilities or bugs without a specific topic in mind — security review, audit, code review for safety, "check this for issues".
193 other projects use a version of this.
Adopted by
Most recently taken up by
- Deupaxx/EveryDay-Writertheir own version, first seen Nov 16, 2026
- vincentventalon/claude-code-video-editing-skilltheir own version, first seen Nov 15, 2026
- vincentventalon/my-claude-skillstheir own version, first seen Nov 15, 2026
- patrickjaja/claude-desktop-extratheir own version, first seen Nov 15, 2026
- authrain-cloud-abdullahformuli/unsloptheir own version, first seen Nov 15, 2026
- oberemokis/skillstheir own version, first seen Nov 15, 2026
Used with
Projects with it also use delight, teach-impeccable and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
HK-hubSkilldelight
Add moments of joy, personality, and unexpected touches that make interfaces memorable and enjoyable to use. Elevates functional to delightful. Use when the user asks to add polish, personality, animations, micro-interactions, delight, or make an interface feel fun or memorable.
Also in 31 projects that use this
HK-hubSkillteach-impeccable
One-time setup that gathers design context for your project and saves it to your AI config file. Run once to establish persistent design guidelines.
Also in 18 projects that use this
zwy123zwySkillnormalize
将用户随意输入的提示词规范化为结构清晰、便于大模型执行的标准化提示词。适用于需要整理、统一提示词格式时调用。
Also in 18 projects that use this
ww-w-aiSkillpm-discovery
PM Agent Team - Automated product discovery, strategy, and PRD generation. Runs PM analysis workflow to produce comprehensive PRD before PDCA Plan phase.
Also in 3 projects that use this
ww-w-aiSkillqa-phase
Run QA tests at various levels (L1-L5) for features under PDCA management. Integrates with MCP tools to execute structured test plans.
Also in 3 projects that use this
- +7 more from HK-hub
Other versions193 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 193
- ccch1mneyyy/dsh-Go★ 24ksame name
- openai/plugins★ 7.8ksame name
- ccch1mneyyy/dsh-TUI★ 7.8ksame name
- macro-inc/macro★ 6.3ksame name
- yournextstore/yournextstore★ 5.5ksame name
- gadievron/raptor★ 4ksame name
- alchemy-run/alchemy-effect★ 2ksame name
- alchemy-run/alchemy★ 2ksame name
- mattmireles/gemma-tuner-multimodal★ 1.5ksame name
- jsmastery-pro/skills★ 1.4ksame name
183 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository42 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- audit-algorithmic-complexitySkill
- audit-api-validationSkill
- audit-atomicitySkill
- audit-authn-sessionSkill
- audit-authorizationSkill
- audit-background-workSkill
- audit-blocking-io-asyncSkill
- audit-cachingSkill
- audit-cardinalitySkill
- audit-configSkill
- audit-cryptoSkill
- audit-csrfSkill
- audit-data-exposureSkill
- audit-dependenciesSkill
- audit-deserializationSkill
- audit-discarded-asyncSkill
- audit-exception-handlingSkill
- audit-file-handlingSkill
- audit-fix-asyncSkill
- audit-fix-authzSkill
- audit-fix-observabilitySkill
- audit-idempotencySkill
- audit-idorSkill
- audit-injectionSkill
- audit-mass-assignmentSkill
- audit-migration-safetySkill
- audit-nplus1Skill
- audit-numeric-precisionSkill
- audit-observabilitySkill
- audit-output-encodingSkill
- audit-parser-differentialsSkill
- audit-resource-limitsSkill
- audit-schema-designSkill
- audit-secretsSkill
- audit-ssrfSkill
- audit-statelessnessSkill
- audit-state-managementSkill
- audit-tenant-isolationSkill
- audit-time-clockSkill
- audit-token-validationSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 173 edited versions we read keep these.
2
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 18
Load: only the checklist files matching that behavior, from the map below.
- Very specific: line 31
Fix only on request: never change code during an audit.
- Distinctive: line 39
Do not manufacture findings for topics that don't apply (e.g., CSRF on a token-authenticated API, tenant isolation in a single-tenant app).
“Common” is measured: kept by at least 6 in 10 of the 173 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Audit procedure
The audit target is whatever the user specified; if nothing was specified, default to the current diff (uncommitted changes, or the branch's changes against the default branch). If there is no diff either, ask what to audit rather than picking a scope yourself.
- Identify what the code under audit does. Trace the data flow: what
inputs arrive, what is looked up, what is written, what is rendered or
returned, what runs async. If the target is larger than a diff — a
module, service, or whole repo — load
references/methodology/scope.mdfirst and follow its inventory, ranking, and budget procedure. - Load only the checklist files matching that behavior, from the map below.
- Check each invariant in the loaded files against the code.
- Verify before reporting: load
references/methodology/verify.mdand run every candidate through it — name the attacker and the victim, hunt for existing mitigations in the surrounding code (middleware, base classes, decorators, callers), and when auditing a diff, anchor each finding to the lines that introduce or enable it. A candidate survives only if you cannot refute it with cited evidence. - Report each finding with: severity (assigned per
references/methodology/severity.md),file:line, the violated invariant, and a one-line fix direction. Say explicitly which checklists were applied and came back clean. - Fix only on request: never change code during an audit. When the
user asks for remediation, check the finding's checklist: if it ends
with a
## Remediationsection, load the playbook it names underreferences/remediation/and choose among its patterns; otherwise apply the fixed shape from the checklist's## Examplesection. Either way, make the smallest change that restores the invariant, match the surrounding code's conventions, and add a test demonstrating the fix.
Do not manufacture findings for topics that don't apply (e.g., CSRF on a token-authenticated API, tenant isolation in a single-tenant app).
What to load
Paths relative to this skill's directory. Load every row that matches; skip the rest.
| The code… | Read |
| Gates actions by role, permission, or ownership | references/access-data-security/authorization.md |
| Handles login, logout, reset, tokens, sessions | references/access-data-security/authn-session.md |
| Verifies JWTs, API keys, signed URLs, or webhook signatures | references/access-data-security/token-validation.md |
| Fetches/mutates a resource by an ID from the request | references/access-data-security/idor.md + references/access-data-security/authorization.md |
| Serializes models, formats errors, writes logs | references/access-data-security/data-exposure.md |
| Hashes, encrypts, generates or compares secrets | references/access-data-security/crypto-data-protection.md |
| Renders user data into HTML/JS/URLs/headers/emails | references/access-data-security/output-encoding.md |
| Touches data or caches in a multi-tenant app | references/access-data-security/tenant-isolation.md |
| Changes state with cookie/session-based auth | references/access-data-security/csrf.md |
| Binds request payloads onto models/entities | references/access-data-security/mass-assignment.md |
| Builds queries/commands/templates/paths from input | references/input-api-dependency/injection.md |
| Deserializes untrusted bytes (sessions, caches, queues, uploads) | references/input-api-dependency/deserialization.md |
| Configures CORS, headers, cookies, debug, env | references/input-api-dependency/config.md |
| Touches API keys, credentials, tokens | references/input-api-dependency/secrets.md |
| Validates (or should validate) request input | references/input-api-dependency/api-contract-validation.md |
| Accepts, stores, processes, or serves files | references/input-api-dependency/file-handling.md |
| Makes network requests to user-influenced URLs | references/input-api-dependency/ssrf.md |
| Adds validators, regexes, allowlists, or parsing | references/input-api-dependency/parser-differentials.md |
| Adds or upgrades packages; edits manifests, lockfiles, Dockerfiles, or CI workflows | references/input-api-dependency/dependencies.md |
| Writes to multiple tables/stores/systems at once | references/correctness/atomicity.md |
| Handles payments, webhooks, retries, emails | references/correctness/idempotency.md |
| Runs jobs, scheduled tasks, or queue consumers | references/correctness/background-work.md |
| Shares mutable state, caches, counters | references/correctness/state-management.md |
| Reads or writes assuming a query matches exactly one row | references/correctness/cardinality.md |
| Computes money, totals, taxes, splits, or rounding | references/correctness/numeric-precision.md |
| Stores or computes timestamps, durations, timeouts, expiry | references/correctness/time-clock.md |
| Catches/throws errors, maps errors to HTTP statuses | references/correctness/exception-handling.md |
| Creates promises, futures, tasks, or publishers | references/correctness/discarded-async.md |
| Loads related data inside a loop over a collection | references/operability/nplus1.md |
| Adds endpoints/jobs, handles errors | references/operability/observability.md |
| Changes database schema | references/operability/migration-safety.md + references/operability/schema-design.md |
Does work proportional to input or data size (incl. IN lists, bulk statements) | references/operability/resource-limits.md |
| Searches, joins, dedupes, or sorts collections in memory | references/operability/algorithmic-complexity.md |
| Runs async/await, event-loop, or coroutine code | references/operability/blocking-io-async.md |
| Is meant to scale out / run as multiple replicas | references/operability/statelessness.md |
| Caches values, responses, or computed results | references/operability/caching.md |
| — Scoping a target larger than a diff (step 1) | references/methodology/scope.md |
| — Verifying candidate findings (step 4, always) | references/methodology/verify.md |
| — Rating finding severity (step 5, always) | references/methodology/severity.md |
| — Fixing confirmed findings | references/remediation/authz-patterns.md, references/remediation/async-patterns.md, references/remediation/observability-patterns.md |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

