agentleFS
voyager67voyager67/AgentFieldkit/skills/security-surface/SKILL.md

security-surface

Skill0 starsChanged 13 days agoMITView on GitHub

Perform a focused threat review of code, APIs, configuration, and dependencies. Use when a change touches authentication, authorization, uploads, external input, secrets, payments, or sensitive data.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    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:

    Verify authentication and authorization separately.

    line 12
  2. Distinctive:

    Check that sensitive data is minimized, access-scoped, and retained only as needed.

    line 15
  3. Distinctive:

    Never exfiltrate secrets, probe systems outside the authorized scope, or run destructive exploit payloads.

    line 22
  4. Distinctive:

    Do not claim that a quick review is a formal penetration test or comprehensive security certification.

    line 23
  5. Distinctive:

    Keep any discovered secret out of the report.

    line 24

≈ “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

Security Surface

Procedure

  1. Sketch the relevant trust boundaries: user, browser, service, background job, database, third party, and operator.
  2. Trace untrusted input through parsing, validation, authorization, storage, rendering, and execution.
  3. Verify authentication and authorization separately. Confirm access is checked server-side at the resource boundary, not only in the UI.
  4. Inspect secret handling, logs, error messages, cryptographic use, session/cookie settings, rate limits, file paths, uploads, URL fetching, command execution, and injection risks as applicable.
  5. Review dependency and configuration changes for unsafe defaults or newly exposed capabilities.
  6. Check that sensitive data is minimized, access-scoped, and retained only as needed. Verify errors fail closed when that is the safe behavior.
  7. Propose a minimal fix and a test that proves the attack path is closed. Use safe local fixtures rather than real secrets or live targets.

Report

Separate confirmed vulnerabilities from defense-in-depth suggestions. Include attack preconditions, impact, affected boundary, and verification evidence.

Boundaries

  • Never exfiltrate secrets, probe systems outside the authorized scope, or run destructive exploit payloads.
  • Do not claim that a quick review is a formal penetration test or comprehensive security certification.
  • Keep any discovered secret out of the report; identify its location and recommend rotation through the proper owner.

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.

Reviews can't be read right now.

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.