agentleFS
mehulpratapsingmehulpratapsing/ai-engineer-skill-stack/.agents/skills/security-review/SKILL.md

security-review

Skill1 starsChanged 42 days agoApache-2.0View on GitHub

Conduct evidence-based security reviews of LLM, RAG, agent, MCP, and conventional application code or architecture, prioritizing exploitable risks and actionable fixes.

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

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 167 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
  1. Distinctive:

    Use this skill for a focused security assessment of code, configuration, architecture, or a proposed AI integration.

    line 9
  2. Very specific:

    Keep the review read-only unless the user separately requests remediation.

    line 23
  3. Distinctive:

    Check the latest applicable editions and the organization's control mapping.

    line 31

“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

Use this skill for a focused security assessment of code, configuration, architecture, or a proposed AI integration. Establish the authorized review scope and inspect the actual implementation and surrounding trust boundaries. A checklist is a way to find evidence, not proof that a control exists.

Review workflow

  1. Map the attack surface. Identify assets, data classifications, principals, trust boundaries, entry points, model/provider calls, retrieval sources, tools, MCP/A2A connections, persistence/memory, secrets, and egress. Trace how attacker-controlled input can influence data access, code paths, model instructions, or side effects.
  2. Verify conventional application controls. Check authentication and per-object authorization; tenant isolation; least privilege; secret handling; input validation; SQL/command injection; path traversal; SSRF and egress; unsafe deserialization; file upload; CSRF/CORS where relevant; dependency/build supply chain; rate/resource limits; error handling; and sensitive logging/retention.
  3. Check AI-specific paths. Look for direct and indirect prompt injection through user input, retrieved content, files, images, and tool results; unsafe model output use; sensitive-data disclosure; retrieval ACL bypass; poisoned sources or memory; over-broad tool scope; identity/privilege confusion; unsafe delegation; unverified tool or agent metadata; weak human approval; uncontrolled loops/cost; and lack of auditability. Model instructions and output filters do not replace server-side controls.
  4. Prove the finding safely. Follow data and control flow to a concrete vulnerable sink or missing enforcement. State prerequisites and impact. Validate only with read-only inspection or tests in an explicitly authorized, isolated environment. Do not probe production or extract/display real secrets or personal data. Redact sensitive values in all notes.
  5. Prioritize and recommend. Follow the organization's severity rubric. If none is supplied, label a provisional severity and explain the impact/preconditions; avoid false precision. Recommend the smallest durable fix and a regression check. Distinguish confirmed findings, plausible risks requiring evidence, and controls that could not be assessed.

Finding format

For each confirmed issue provide: severity; file and line or precise architecture location; affected asset/boundary; concrete attack or failure path; prerequisites; business/security impact; evidence; and actionable remediation. Order by risk. Cite only evidence visible in scope. Do not report generic checklist entries as vulnerabilities. If none are found, state what was reviewed and material coverage limits.

Keep the review read-only unless the user separately requests remediation. Pair with code-review for general change correctness and mcp-engineering, rag-engineering, or agent-engineering for implementation-specific workflows.

Optional dynamic testing

Use Strix only when the user explicitly authorizes a defined active-testing scope. Before a run, confirm target ownership, in-scope assets and actions, environment, credentials, data handling, resource limits, and stop conditions. Prefer staging; use a clean disposable checkout for local source targets because the tool may modify them. Strix sends real exploit payloads and can change target data. Do not test production or third-party assets without explicit authorization, and use hosted mode only when the target/source data may be sent to the service under applicable policy. Manually validate and redact findings; do not apply fixes automatically. If authorization or scope is missing, keep the review read-only.

Current references

Check the latest applicable editions and the organization's control mapping; Top 10 lists are guidance, not assurance.

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.