agentleFS
furqanisticfurqanistic/aura-skills/skills/audit-backend-security/SKILL.md

audit-backend-security

Skill8 starsChanged 3 months agoMITView on GitHub

Backend security review and hardening for authentication, authorization, tokens, sessions, secrets, validation, injection, payments, uploads, webhooks, data exposure, rate limits, and deployment configuration. Use when asked to audit, security-review, harden, threat-check, or inspect backend code for vulnerabilities across Express, NestJS, Django, Rails, Go, and other stacks.

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 6 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Check secrets, authentication, token or session lifecycle, object-level and function-level authorization, validation, injection, error …

    line 14
  2. Distinctive:

    Never expose secrets, tokens, passwords, sensitive configuration, or private user fields.

    line 21
  3. Distinctive:

    Never trust identity, role, price, credits, ownership, or permissions supplied by the client.

    line 22
  4. Distinctive:

    Verify webhook signatures against the exact raw payload when required and make handlers idempotent.

    line 23
  5. Distinctive:

    Keep production errors and logs free of credentials, tokens, personal data, and internal stack details.

    line 26
  6. Distinctive:

    Read references/security-guide.md for the complete folder-by-folder checklist and specialized guidance on auth, tokens, cookies, payments, …

    line 31

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Backend Security Review

Inspect the actual stack and trust boundaries before judging security. Map entry points, authentication, authorization, sensitive data, databases, uploads, payments, third-party integrations, background jobs, administrative paths, and deployment configuration. Treat client-controlled values and public endpoints as hostile.

Workflow

  1. Identify assets, actors, entry points, trust boundaries, and privilege transitions.
  2. Trace sensitive operations from request or event source through validation, authorization, business logic, data access, and response or side effect.
  3. Check secrets, authentication, token or session lifecycle, object-level and function-level authorization, validation, injection, error handling, logging, rate limiting, uploads, webhooks, payments, jobs, CORS, headers, and response filtering.
  4. Validate candidate findings against reachable code and existing controls. Do not report theoretical issues as confirmed vulnerabilities.
  5. Rank findings by exploitability and impact. Include the affected path, attack scenario, evidence, and smallest safe remediation.
  6. Implement fixes only when the user asks for changes, then run focused tests and relevant project checks.

Guardrails

  • Never expose secrets, tokens, passwords, sensitive configuration, or private user fields.
  • Never trust identity, role, price, credits, ownership, or permissions supplied by the client.
  • Verify webhook signatures against the exact raw payload when required and make handlers idempotent.
  • Enforce authorization at the server operation and object level, not only in the UI or route grouping.
  • Bound expensive operations and uploads; validate type, size, storage path, and processing behavior.
  • Keep production errors and logs free of credentials, tokens, personal data, and internal stack details.
  • Obtain explicit confirmation before destructive actions or live production changes.

Detailed guidance

Read references/security-guide.md for the complete folder-by-folder checklist and specialized guidance on auth, tokens, cookies, payments, credits, uploads, integrations, jobs, logging, CORS, databases, abuse protection, and reporting. Search by heading and load only relevant sections.

Output

Lead with validated findings ordered by severity. For each finding include affected code, exploit path, impact, existing mitigating controls, remediation, and a verification test. Explicitly say when no actionable finding is supported by the evidence.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.