agentleFS
alex-macraalex-macra/claude-codex-skills-assembly/skills/security-review/SKILL.md

security-review

Skill1 starsChanged 4 months agoMITView on GitHub

Security review of a codebase or authorized target: OWASP Top 10, secrets, auth, input validation, supply chain, CI hygiene. Use for a security audit, CVE check, pentest-style review, hardening, or secret leaks.

  • Reads credentials

187 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use kotlin-testing, configure-ecc 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.
  • tpavanipradeepSkill

    kotlin-testing

    Kotlin testing patterns with Kotest, MockK, coroutine testing, property-based testing, and Kover coverage. Follows TDD methodology with idiomatic Kotlin practices.

    Also in 6 projects that use this

  • saxon-ySkill

    configure-ecc

    Interactive installer for Everything Claude Code — guides users through selecting and installing skills and rules to user-level or project-level directories, verifies paths, and optionally optimizes installed files.

    Also in 12 projects that use this

  • InfopibeSkill

    content-hash-cache-pattern

    Cache expensive file processing results using SHA-256 content hashes — path-independent, auto-invalidating, with service layer separation.

    Also in 12 projects that use this

  • InfopibeSkill

    ralphinho-rfc-pipeline

    RFC-driven multi-agent DAG execution pattern with quality gates, merge queues, and work unit orchestration.

    Also in 10 projects that use this

  • mryeastcodeSkill

    pytorch-patterns

    PyTorch deep learning patterns and best practices for building robust, efficient, and reproducible training pipelines, model architectures, and data loading.

    Also in 9 projects that use this

  • berntpoppSkill

    dependency-cve-sweep

    Use when handling Dependabot PRs, CodeQL/Trivy alerts, or doing a routine dependency/CVE sweep for this repo.

    Also in 5 projects that use this

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 165 edited versions we read keep these.

  • 1

    Distinctive

    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:

    If any of it is unclear, stop and ask before sending packets.

    line 24

“Common” is measured: kept by at least 6 in 10 of the 165 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.

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

Security review

For a general break-it pass use adversarial-review. Per-category commands and grep patterns live in references/checklist.md; work from it during the pass.

Authorization gate

Codebase review (static) needs no gate; read freely. Before testing any running system, confirm in writing:

  • The system is ours, a CTF, a personal lab, or a paid engagement.
  • The in-scope targets and the explicitly out-of-scope ones.
  • The allowed methods (DoS, social engineering and supply-chain attacks are out by default) and the disclosure rules.

If any of it is unclear, stop and ask before sending packets.

Decision rules

  • String-built SQL, shell commands or templates fed user input are blockers: parameterized queries and argument arrays only.
  • Validate every external input at the boundary with a schema; type coercion is not validation.
  • Authorization is per request: every endpoint asks whether this user may touch this resource.
  • Secrets live in env or a secret store, scoped per environment, never echoed to logs. Hardcoded fallbacks and committed .env files are blockers. Rotate on departure or runner replacement.
  • Library crypto only; never Math.random() for tokens, never fast hashes for passwords.
  • Wildcard CORS with credentials is a blocker. Verify JWT signature, alg and exp before reading claims.
  • Server-side fetches of user URLs are SSRF until proven otherwise: allowlist hosts, block metadata and link-local ranges.
  • JSON is safe to deserialize; any richer format on untrusted input needs scrutiny.
  • Untrusted LLM input is data, not instructions: delimit it, and verify model output before acting on it.
  • CI: workflow permissions: least-privilege, third-party actions pinned to a commit SHA, base images pinned by digest, lockfile committed, no publishing from a laptop and no secrets exposed to fork builds.

Categories

Codebase: secrets, input validation, injection, authn and authz, XSS and encoding, CSRF and CORS, SSRF, crypto, deserialization, supply chain, logging, LLM-specific.

Live target (authorized only): recon, auth surface, web app, API, infra.

Findings

Severity: Blocker (correctness, security, data loss) / Should-fix (compounding design debt) / Nit.

Each finding: severity with reasoning, location (path:line or URL and parameter), reproduction (steps or a curl one-liner), attacker impact, and the specific fix.

Out of bounds

Unauthorized targets, mass exploitation or destructive payloads, detection evasion for malicious use, compromising third-party packages, and DoS testing without written approval.

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.