agentleFS
metaspartanmetaspartan/cybara/skills/authorized-web-pentest/SKILL.md

authorized-web-pentest

Skill38 starsChanged 5 months agoMITView on GitHub

Run an authorized, scoped web application security test with evidence-based findings and strict active-testing guardrails.

The file

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 7 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    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 only for defensive testing of applications the user owns or has written authorization to test.

    line 9
  2. Distinctive:

    Before active testing, ask the user to confirm:

    line 13
  3. Distinctive:

    Do not send payloads or scans until the user confirms.

    line 17
  4. Distinctive:

    Create an engagement directory:

    line 21
  5. Very specific:

    Every active request must target a host in scope.txt.

    line 29
  6. Distinctive:

    Every finding needs a reproducible request/response or code path.

    line 42
  7. Distinctive:

    No destructive payloads without explicit approval.

    line 43
  8. Distinctive:

    No exploit, no report. Suspicions without proof are notes, not findings.

    line 49

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

Authorized Web Pentest

Use this only for defensive testing of applications the user owns or has written authorization to test.

Authorization Gate

Before active testing, ask the user to confirm:

Confirm: the target URL is <target>, you own this application or have written authorization to test it, and active security testing is allowed during this session.

Do not send payloads or scans until the user confirms. Passive source review and reading public pages is fine.

Scope File

Create an engagement directory:

ENGAGEMENT="web-pentest-$(date +%Y%m%d-%H%M%S)"
mkdir -p "$ENGAGEMENT"/{evidence,findings,reports}
printf "%s\n" "<hostname>" > "$ENGAGEMENT/scope.txt"

Every active request must target a host in scope.txt. Stop on off-scope redirects.

Phases

  1. Setup:
    • Record authorization, target, scope, and time window.
  2. Passive/source recon:
    • Map routes, auth, sinks, trust boundaries, and deployment config from code.
  3. Read-only live recon:
    • Headers, robots/sitemap, public links, login surface, XHR endpoints.
  4. Vulnerability analysis:
    • Injection, XSS, auth/authz, SSRF, file handling, deserialization, CORS, security headers.
  5. Proof:
    • Every finding needs a reproducible request/response or code path.
    • No destructive payloads without explicit approval.
  6. Report:
    • Findings, severity, impact, evidence, reproduction, minimal fix.

Rules

  • No exploit, no report. Suspicions without proof are notes, not findings.
  • Rate-limit active requests.
  • Redact credentials and tokens in chat. Store full values only in local evidence files when needed.
  • Cloud metadata hosts are off-limits unless explicitly authorized and owned.
  • A clean run means "no exploitable issue found in this scope/time/method," not "secure."

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.