agentleFS
AaqibhafeezkhanAaqibhafeezkhan/skillself/skills/security-review/SKILL.md

security-review

Skill0 starsChanged 5 days agoMITView on GitHub

The skill performs an OWASP-aligned review of source and configuration for injection, identity, access control, secrets, cryptography and unsafe defaults; use it when asking for a security audit or secret scan before release.

192 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use dependency-cve-sweep, fleet-standard-adoption 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.
  • 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 20 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 15 projects that use this

  • junimnjwSkill

    ralphinho-rfc-pipeline

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

    Also in 17 projects that use this

  • TironFoxSkill

    openclaw-persona-forge

    为 OpenClaw AI Agent 锻造完整的龙虾灵魂方案。根据用户偏好或随机抽卡, 输出身份定位、灵魂描述(SOUL.md)、角色化底线规则、名字和头像生图提示词。 如当前环境提供已审核的生图 skill,可自动生成统一风格头像图片。 当用户需要创建、设计或定制 OpenClaw 龙虾灵魂时使用。 不适用于:微调已有 SOUL.md、非 OpenClaw 平台的角色设计、纯工具型无性格 Agent。 触发词:龙虾灵魂、虾魂、OpenClaw 灵魂、养虾灵魂、龙虾角色、龙虾定位、 龙虾剧本杀角色、龙虾游戏角色、龙虾 NPC、龙虾性格、龙虾背景故事、 lobster soul、lobster character、抽卡、随机龙虾、龙虾 SOUL、gacha。

    Also in 7 projects that use this

  • +2 more from berntpopp

The file

We split this skill into the rules it gives an agent

7 rules. 0 are common, 5 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 165 edited versions we read keep these.

  • 5

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when asked to perform a security review, OWASP audit, secret scan, authentication review, authorization check, or …

    line 13
  2. Distinctive:

    Read the relevant source and configuration without executing the application.

    line 24
  3. Very specific:

    Run python3 skills/security-review/scripts/scan_secrets.py .

    line 28
  4. Very specific:

    Use a Markdown table with columns severity, file path, line, finding, and fix, sorted Critical, High, Medium, Low, Informational.

    line 35
  5. Distinctive:

    Do not reproduce credentials or private key material.

    line 48
  6. Distinctive:

    Do not label a theoretical concern as a confirmed exploit.

    line 49
  7. Distinctive:

    Do not claim complete coverage when source files or deployment settings were not supplied.

    line 50

“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

Purpose

Review source code and deployment configuration for exploitable security weaknesses using the supplied OWASP-aligned checks.

When to use

Use this skill when asked to perform a security review, OWASP audit, secret scan, authentication review, authorization check, or pre-release security assessment.

Inputs needed

  • The source files, configuration, or repository directory to inspect.
  • The application trust boundary and deployment context when those details change exploitability.

Step-by-step procedure

  1. Read the relevant source and configuration without executing the application.
  2. Identify entry points, trust boundaries, sensitive data, principals, and privileged operations.
  3. Apply the checks in references/owasp-checklist.md to injection, authentication, authorization, cryptography, input handling, configuration, logging, dependencies and business-flow abuse.
  4. Trace each high-risk value from source to sink and record the exact file and line.
  5. Run python3 skills/security-review/scripts/scan_secrets.py . when a directory is supplied and capture its output without copying any matched secret.
  6. Separate confirmed vulnerabilities from concerns requiring deployment evidence.
  7. Rank findings by practical exploitability and impact, then give one concrete remediation per finding.

Exact output format

Use a Markdown table with columns severity, file path, line, finding, and fix, sorted Critical, High, Medium, Low, Informational. After the table, add Scanner result with the exact scanner exit code and a Scope limitations sentence. Do not print secret values.

Edge cases

  • A secret-like test fixture is still reportable when committed to a real repository; label it as a fixture only when its non-production status is established.
  • A scanner match is a lead, not proof that the credential is active.
  • Missing deployment context must be recorded as an uncertainty, not guessed.
  • Suppressed or generated files must not be silently treated as audited.

Do not

  • Do not reproduce credentials or private key material.
  • Do not label a theoretical concern as a confirmed exploit.
  • Do not claim complete coverage when source files or deployment settings were not supplied.

Worked example summary

A controller trusts a client-supplied account identifier, a password-reset endpoint lacks throttling, and a repository contains a token-shaped assignment. The review explains the authorization failure and rate-limit gap while the scanner reports only a masked secret prefix.

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.