agentleFS
enckequityenckequity/samebrain/skills/security-review/SKILL.md

security-review

Skill0 starsChanged 5 months agoMITView on GitHub

Review code and configuration changes for security and operational risk before they ship. Use when a change touches auth, secrets, external calls, data access, deployment, or when the user asks for a security review.

  • Reads credentials

192 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use linkerd-patterns, dependency-cve-sweep 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.
  • xfstudioSkill

    linkerd-patterns

    Implement Linkerd service mesh patterns for lightweight, security-focused service mesh deployments. Use when setting up Linkerd, configuring traffic policies, or implementing zero-trust networking with minimal overhead.

    Also in 5 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 12 projects that use this

  • berntpoppSkill

    fleet-standard-adoption

    Use when bringing this repo into compliance with a GeneFoundry fleet standard (tool-naming, response-envelope, container-hardening, versioning, MCP transport, or logging) or closing its tracking issue.

    Also in 12 projects that use this

  • HABUBUSSSkill

    project-guidelines-example

    Also in 16 projects that use this

  • niloykumarbarmanSkill

    agent-sort

    Build an evidence-backed ECC install plan for a specific repo by sorting skills, commands, rules, hooks, and extras into DAILY vs LIBRARY buckets using parallel repo-aware review passes. Use when ECC should be trimmed to what a project actually needs instead of loading the full bundle.

    Also in 13 projects that use this

  • royaluniondesign-sysSkill

    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 11 projects that use this

  • +2 more from berntpopp
  • Other versions192 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 192

    1. affaan-m/ECC★ 246ksame name
    2. github/awesome-copilot★ 41ksame name
    3. langfuse/langfuse★ 37ksame name
    4. nearai/ironclaw★ 13ksame name
    5. joe-bell/cva★ 6.9ksame name
    6. doorkeeper-gem/doorkeeper★ 5.5ksame name
    7. github/squad★ 3.4ksame name
    8. compozy/compozy★ 2.9ksame name
    9. getsentry/sentry-python★ 2.2ksame name
    10. trycompai/comp★ 2.1ksame name

    182 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 repository4 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 3 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 167 edited versions we read keep these.

  • 3

    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
  1. Very specific:

    Secrets: No hardcoded keys, tokens, or passwords.

    line 17
  2. Distinctive:

    Data access: Every query is scoped to the caller's tenant/account.

    line 21
  3. Distinctive:

    Dependencies: Prefer service-maintained packages.

    line 28
  4. Distinctive:

    Stop and ask the user before anything that is irreversible or outside the working tree:

    line 33

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

Review the change, not the whole codebase. Focus on the boundaries where trust or data changes hands, and stop the change if a finding breaks the contract.

What to check

  • Boundaries. Validate untrusted input at the system edge — request bodies, CLI args, env vars, file paths, webhook payloads. Reject rather than coerce when a value is out of range. Path handlers must not let .. escape their root.
  • Secrets. No hardcoded keys, tokens, or passwords. Read them from the environment or a secret manager (op). Confirm nothing credential-looking (*.env, *.pem, *.key, credentials) is staged or logged, including in error paths and debug output.
  • Data access. Every query is scoped to the caller's tenant/account. No cross-tenant reads, no widening a filter to "fix" an empty result. Writes are authorized, not just authenticated.
  • External effects. Network calls, deploys, migrations, and messages are explicit and bounded. No retry loop that can double-charge or double-send.
  • Errors. Fail closed. Never swallow an error that leaves a security decision unmade, and never leak stack traces or upstream bodies to a client.
  • Dependencies. Prefer service-maintained packages. A new dependency is justified in the PR, not assumed.

Escalate, do not proceed

Stop and ask the user before anything that is irreversible or outside the working tree:

  • production deploys or production data mutation
  • anything that spends money
  • external communications on the user's behalf
  • handling secrets or rotating credentials
  • destructive git-history operations
  • cross-tenant, billing, or security-boundary changes

Report

State each finding with file:line, the concrete attack or failure it enables, and the smallest fix. Separate blocking findings (break the requested contract) from nits. If nothing is wrong, say so plainly — do not invent risk.

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.