/engineering-advanced-skills:senior-secopsfrom engineering-advanced-skills
Scans source code for hardcoded secrets, SQL injection, XSS, and command injection; checks dependency pins against a built-in advisory list; collects evidence for SOC 2, PCI-DSS, HIPAA, and GDPR controls. Useful as a fast first-pass SAST and CI tripwire.
Ships in engineering-advanced-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
The agent scans source code for common vulnerability patterns (hardcoded secrets, SQL injection, XSS, command injection), checks dependency pins against a small built-in advisory list for npm/Python/Go, and collects code-level evidence for SOC 2, PCI-DSS, HIPAA and GDPR controls.
All three tools are regex and lookup based. They catch obvious, local patterns and miss anything that flows through helpers, variables or runtime config, and the advisory list is a sample, not a CVE feed. Use them as a fast first pass and CI tripwire; confirm with a real SAST tool (Semgrep, CodeQL) and a live advisory source (pip-audit, npm audit, OSV) before calling a codebase clean.
Before the security pass, settle the inputs below. When one is missing or vague and would change the result, ask about it; when it wouldn't, use a sensible default and say which one you used.
--framework; changes which controls are verified).--severity; changes the report and CI pass/fail).Ask about the two or three inputs that matter most for this request, not the whole list. If the user wants a result straight away, produce it and state your assumptions at the top.
| Tool | Purpose | Example (runs as written) |
|---|---|---|
security_scanner.py | Regex scan for secrets, SQL/command injection, XSS, path traversal (--severity, --json, -o, -v) | python scripts/security_scanner.py assets/sample_app_flawed --severity high |
vulnerability_assessor.py | Match dependency pins against the built-in advisory sample; risk score (--severity, --json, -o) | python scripts/vulnerability_assessor.py assets/sample_app_flawed |
compliance_checker.py | Code-evidence checklist per framework (--framework soc2/pci-dss/hipaa/gdpr/all, --json, -o) | python scripts/compliance_checker.py assets/sample_app_sound --framework soc2 |
Exit codes: security_scanner and vulnerability_assessor exit 0 with no critical/high
findings and 1 when any remain; compliance_checker exits 0 at a code-evidence score of
70% or more and 1 below. All three exit 2 on bad input (target not found), so a typo in a
CI gate fails loudly. With --json, progress text goes to stderr and stdout is pure JSON.
Samples: assets/sample_app_flawed/ (hardcoded secret, %-formatted and f-string SQL,
os.system concatenation, old pins) exits 1 on all three; assets/sample_app_sound/ exits 0
on all three (use --framework soc2 for the checker).
Load the reference that matches the task — keep this file lean and pull detail on demand:
This skill covers:
This skill does NOT cover:
senior-devops skill for IaC hardening.senior-devops skill or use Trivy directly.Mistake: Reporting "no vulnerabilities" because security_scanner.py returned exit 0.
Why it happens: The exit code looks like a verdict.
Instead: Say what was checked. The scanner sees single-line patterns only; injection through a helper or a query builder is invisible to it. Pair it with a dataflow-aware SAST tool for anything release-gating.
Mistake: Presenting the checker's percentage as SOC 2 or HIPAA readiness. Why it happens: It is labelled with framework control IDs. Instead: Use the failed list as an evidence to-do list. Most controls (policies, HR, vendor management, incident drills) live outside the code and must be evidenced separately.
Mistake: Taking a 0 from vulnerability_assessor.py to mean dependencies have no known CVEs.
Why it happens: The output looks like a CVE scan.
Instead: The list is a small sample for demonstration and CI wiring. Run the ecosystem's live auditor (pip-audit, npm audit, govulncheck, OSV) for real coverage.
| File | Purpose |
|---|---|
scripts/security_scanner.py | Source-code pattern scanner |
scripts/vulnerability_assessor.py | Dependency pin check and risk score |
scripts/compliance_checker.py | Framework code-evidence checklist |
assets/sample_app_flawed/ | Deliberately vulnerable app and old pins (all tools exit 1) |
assets/sample_app_sound/ | Parameterised, authenticated, logged app with evidence files (all tools exit 0) |
references/*.md | Workflows, standards, CVE triage and compliance detail |
assets/sample_app_flawed/app.py (opens in a new tab)assets/sample_app_flawed/requirements.txt (opens in a new tab)assets/sample_app_sound/SECURITY.md (opens in a new tab)assets/sample_app_sound/app.py (opens in a new tab)assets/sample_app_sound/requirements.txt (opens in a new tab)references/compliance_requirements.md (opens in a new tab)references/security_standards.md (opens in a new tab)references/standards-and-playbook.md (opens in a new tab)references/vulnerability_management_guide.md (opens in a new tab)references/workflows-and-tooling.md (opens in a new tab)scripts/compliance_checker.py (opens in a new tab)scripts/security_scanner.py (opens in a new tab)scripts/vulnerability_assessor.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub borghei/claude-skills --plugin engineering-advanced-skills100 skills in this plugin
/a11y-auditStatic WCAG scan of HTML files (alt text, headings, labels, ARIA, lang, landmarks) and colour contrast checks for colour pairs or CSS. Use when auditing templates for accessibility, checking contrast, or adding an a11y gate to CI.
/agent-designerDesigns multi-agent system architectures with orchestration patterns, tool schemas, and performance evaluation. Use when building AI agent systems, designing agent workflows, creating tool schemas, or evaluating agent performance.
/agent-harnessTest and evaluation harness for AI agents — scenario suites, deterministic replay, regression diffing, cost and latency budgets. Use when agent quality is vibe-checked, before shipping a prompt or model change, or when evals drift.
Other plugins' skills for the same job