Performs read-only security scans on local files to identify vulnerabilities or breach exposure.

Install

mkdir -p .claude/skills/cyber-audit && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/11736" && unzip -o skill.zip -d .claude/skills/cyber-audit && rm skill.zip

Installs to .claude/skills/cyber-audit

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Read-only exposure audit of the user's machine and projects for a CVE, breach, malicious package, or other security advisory, then write a structured report to a local audit folder. Use when the user shares a breach/CVE/malware/supply-chain advisory and asks if they're affected, says "scan my system for X", "are we affected by Y", "check if I'm vulnerable to Z", or requests any hack/breach/cyber/vulnerability audit.
419 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Intermediate

Key capabilities

  • Identify the scope of a security advisory
  • Run relevant checks in parallel for CVEs, breaches, or malicious packages
  • Build a table of checks and their concrete results
  • Write a structured report to a local audit folder
  • Provide a verdict on whether the system is affected
  • Suggest remediation commands in follow-ups

How it works

The skill performs a read-only exposure audit by identifying the scope of an advisory, running relevant checks in parallel, and compiling findings into a structured report. It provides a verdict and suggests remediation.

Inputs & outputs

You give it
A security advisory (CVE, breach, malicious package, etc.)
You get back
A structured audit report in markdown format, with a verdict and follow-ups

When to use cyber-audit

  • Scan for vulnerable npm packages
  • Check project for CVE impact
  • Audit system for supply-chain breaches

About this skill

cyber-audit

Hard rules

  • Read-only. No installs, removes, upgrades, restarts, network calls, or file modifications outside the local audit folder.
  • No sudo. Never.
  • One report per invocation. Always end by writing the .md file (even if the verdict is "Not affected" — the audit trail matters).
  • If a check requires a state-changing command, skip it and note "not checked (would require state change)" in the table. Do not run it.

Workflow

  1. Identify scope. Extract from the advisory: package/binary name, affected versions, platform (macOS / Linux / Windows), attack vector (supply chain / RCE / local / network).
  2. Run checks in parallel (Bash tool, multiple calls in one message). Pick relevant checks for the advisory type — don't run all of them.
  3. Build the table as you go. Each row = one check + concrete result (version number, path, "None", "N/A").
  4. Write the report to ~/Documents/cyber/YYYY-MM-DD-<short-kebab-slug>.md or the user's configured audit folder. Use today's date from the environment header.
  5. Tell the user the verdict in one line + path to the report.

Check menu (pick what's relevant)

# --- Node / npm ecosystem (supply-chain advisories) ---
which npm pnpm yarn; npm root -g; pnpm root -g 2>/dev/null
ls /opt/homebrew/lib/node_modules                                  # global npm
find ~ -maxdepth 8 -type d -name "<pkg>" 2>/dev/null \
  | grep -v -E "(Library/Caches|\.Trash)"                          # installed copies
find ~/Documents ~/Desktop ~/Downloads -maxdepth 8 -type f \
  \( -name "package.json" -o -name "package-lock.json" \
     -o -name "pnpm-lock.yaml" -o -name "yarn.lock" \) 2>/dev/null \
  | xargs grep -l "<pkg>" 2>/dev/null                              # direct + transitive

# --- Python ecosystem ---
which python3 pip pipx uv
pip list 2>/dev/null | grep -i "<pkg>"
find ~/Documents -maxdepth 6 -name "requirements*.txt" -o -name "pyproject.toml" \
  -o -name "poetry.lock" -o -name "uv.lock" 2>/dev/null | xargs grep -l "<pkg>" 2>/dev/null

# --- Homebrew / system binaries ---
brew list --versions <formula> 2>/dev/null
which <binary>; <binary> --version 2>/dev/null

# --- Running processes / listeners (for RCE / network CVEs) ---
pgrep -lf "<binary>"
lsof -iTCP -sTCP:LISTEN -P -n 2>/dev/null | grep "<port>"

# --- LaunchAgents / LaunchDaemons (persistence / autostart) ---
ls ~/Library/LaunchAgents /Library/LaunchAgents /Library/LaunchDaemons 2>/dev/null \
  | grep -i "<vendor>"

# --- Env vars that change exposure (e.g. OLLAMA_HOST, listening addr) ---
launchctl getenv <VAR>; grep -r "<VAR>" ~/.zshrc ~/.zprofile ~/.config 2>/dev/null

# --- VS Code / browser extensions (for IDE-targeted advisories) ---
ls ~/.vscode/extensions 2>/dev/null | grep -i "<ext>"

If the advisory mentions an ecosystem not above (Rust cargo, Go modules, Ruby gems, Docker images, etc.), apply the same pattern: global install path + manifest grep + running processes.

Report template

File: ~/Documents/cyber/YYYY-MM-DD-<short-kebab-slug>.md

# <Subject> — Audit

**Date:** YYYY-MM-DD
**Host:** <machine name and OS>

## <CVEs | Advisory> in scope

- **<ID or source> "<Name>"** — <one-line description>. <Affected versions or scope>.

## Audit results

| Check | Result |
|---|---|
| <Check 1> | <Result> |
| <Check 2> | <Result> |

## Verdict

**<Not affected. | Affected. | Partially affected.>**

- <Rationale bullet 1>
- <Rationale bullet 2>

## Action taken

None — diagnostic only, no files modified, no <packages installed/removed | services started/stopped | firewall rules changed>.

## Follow-ups

- <Actionable item, or "None" if truly nothing>

Match the tone of existing reports in the audit folder — terse, factual, bulleted, no hedging.

Verdict wording

  • Not affected. — package/binary absent, or installed but patched, or not running and not exposed.
  • Affected. — vulnerable version present and reachable by the attack vector.
  • Partially affected. — present but mitigated (e.g. binary installed but service not running, or listener bound to loopback only). Spell out the mitigation in the bullets.

When to break the read-only rule

Never on your own. If the verdict is "Affected", list the remediation command in Follow-ups and stop. The user runs it.

Reference

Existing reports in the audit folder show the expected style:

  • cybersecurity-audit.md (long-form baseline audit — different format, do not mimic)
  • 2026-05-10-ollama-bleeding-llama.md and any newer YYYY-MM-DD-*.md files (this is the format to match)

When not to use it

  • When state-changing commands like installs or removals are required
  • When `sudo` is needed for checks
  • When network calls are required for audit

Limitations

  • Read-only operation; no installs, removes, upgrades, restarts, network calls, or file modifications outside the local audit folder
  • Does not use `sudo`
  • Only one report per invocation

How it compares

This skill conducts a non-destructive, read-only security audit of a system against specific advisories, providing a structured report and verdict without modifying the system, unlike active vulnerability scanning tools.

Compared to similar skills

cyber-audit side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
cyber-audit (this skill)01moReviewIntermediate
dependency-auditor19moReviewBeginner
common-security-audit01moReviewAdvanced
security-header-generator59moCautionIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

dependency-auditor

alirezarezvani

Check dependencies for known vulnerabilities using npm audit, pip-audit, etc. Use when package.json or requirements.txt changes, or before deployments. Alerts on vulnerable dependencies. Triggers on dependency file changes, deployment prep, security mentions.

16

common-security-audit

HoangNguyen0403

Probe for hardcoded secrets, injection surfaces, unguarded routes, business logic flaws, and platform-specific weaknesses across backend (Node, Go, Java, Python, Rust), frontend (React, Angular, Vue), and mobile (iOS, Android, Flutter) codebases. Use when performing security audits, vulnerability sc

00

security-header-generator

Dexploarer

Generates security HTTP headers (CSP, HSTS, CORS, etc.) for web applications to prevent common attacks. Use when user asks to "add security headers", "setup CSP", "configure CORS", "secure headers", or "HSTS setup".

599

backend-security-coder

sickn33

Expert in secure backend coding practices specializing in input validation, authentication, and API security. Use PROACTIVELY for backend security implementations or security code reviews.

2446

security-best-practices

openai

Perform language and framework specific security best-practice reviews and suggest improvements. Trigger only when the user explicitly requests security best practices guidance, a security review/report, or secure-by-default coding help. Trigger only for supported languages (python, javascript/typescript, go). Do not trigger for general code review, debugging, or non-security tasks.

732

command-injection-testing

Ed1s0nZ

命令注入漏洞测试的专业技能和方法论

13

Search skills

Search the agent skills registry