agentleFS
dmzoneilldmzoneill/skills/security-audit/SKILL.md

security-audit

Skill2 starsChanged 3 months agoApache-2.0View on GitHub

Run comprehensive network and TLS security audit - port scan, vulnerability scan, TLS cert inspection, cipher analysis, HTTP headers, SSH host keys. Use when user says "security audit", "network scan".

140 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use asset-spec, create-control-manifest 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.
  • cenconq25Skill

    asset-spec

    Generates per-asset visual specifications and AI-generation prompts from PRDs and the design bible. Produces structured spec files and updates a master asset manifest. Use after design bible is approved and a UX spec or PRD identifies assets to produce. Output: design/assets/<asset>.md plus design/assets/manifest.md.

    Also in 5 projects that use this

  • cenconq25Skill

    create-control-manifest

    Produces a flat, immediately-actionable rules sheet — do this, never do that, per system and per layer — extracted from accepted ADRs, technical preferences, and framework reference docs. More directly usable than ADRs for day-to-day implementation. Run after /architecture-review passes.

    Also in 5 projects that use this

  • +10 more from cenconq25

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 118 edited versions we read keep these.

  • 1

    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:

    Check for: HSTS, CSP, X-Content-Type-Options, X-Frame-Options, X-XSS-Protection

    line 40
  2. Very specific:

    No route to host → learn_tool_fix("nmap_quick_scan", "no route to host", "Target unreachable", "Run vpn_connect() or verify hostname")

    line 54

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

Inputs

InputTypeDefaultPurpose
targetstringrequiredTarget host or IP to audit
environmentstringstageEnvironment (stage, production, ephemeral)
full_scanboolfalseRun full port scan (slower)
check_certsbooltrueInclude TLS certificate checks

Workflow

1. Bootstrap

  • persona_load("devops") — nmap, openssl, curl, ssh tools
  • check_known_issues("nmap", ""), check_known_issues("openssl", "")

2. Port Scanning

  • nmap_quick_scan(target="{target}") — open ports
  • nmap_service_scan(target="{target}") — service/version detection
  • If full_scan: nmap_scan(target="{target}")
  • nmap_vuln_scan(target="{target}") — vulnerability scripts
  • nmap_script(target="{target}") — default scripts

3. TLS/SSL Checks (if check_certs)

  • openssl_s_client(host="{target}") — TLS connection
  • openssl_s_client_cert(host="{target}") — certificate details
  • openssl_x509_info(host="{target}") — X.509 info
  • openssl_x509_verify(host="{target}") — chain verification
  • openssl_ciphers(host="{target}") — cipher suites

4. HTTP Security Headers

  • curl_headers(url="https://{target}")
  • curl_timing(url="https://{target}")
  • Check for: HSTS, CSP, X-Content-Type-Options, X-Frame-Options, X-XSS-Protection

5. SSH Host Keys

  • ssh_keyscan(host="{target}")

6. Report

  • Open ports count and list
  • Vulnerability scan output
  • TLS: version, cert valid, expiry, weak ciphers
  • Missing security headers
  • SSH host key fingerprint
  • Log: memory_session_log("Security audit on {target}", "ports={n}, full_scan={bool}")

7. Failure Learning

  • No route to host → learn_tool_fix("nmap_quick_scan", "no route to host", "Target unreachable", "Run vpn_connect() or verify hostname")
  • Connection refused → learn_tool_fix("openssl_s_client", "connection refused", "TLS port not open", "Verify port 443")

Key MCP Tools

  • persona_load, nmap_quick_scan, nmap_service_scan, nmap_scan, nmap_vuln_scan, nmap_script
  • openssl_s_client, openssl_s_client_cert, openssl_x509_info, openssl_x509_verify, openssl_ciphers
  • curl_headers, curl_timing, ssh_keyscan
  • check_known_issues, learn_tool_fix, memory_session_log

Validates

  • cert_check

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.