/secure-pipeline:secure-pipelinefrom secure-pipeline
Scans code (SAST/SCA/secrets) with xgrep and IaC/config (Terraform, Dockerfile, Kubernetes, CloudFormation) with cnspec, then triages and fixes findings mapped to OWASP Top 10:2025 and OWASP Top 10 for LLM & GenAI 2025. Use to gate changes, wire CI checks, or run pre-merge security passes.
Ships in secure-pipeline. 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.
The verify-and-enforce half of secure development: once code is written, prove it is safe
before it ships. Where the secure-coding skill helps write code safely, this skill
scans, gates, and fixes across everything a change touches — code, dependencies, secrets,
and infrastructure/config — and maps the result to the OWASP standards the work is measured
against. Two engines do the scanning:
For writing secure code in the first place, use secure-coding. For the full map of the
hub's layers, see the root AGENTS.md.
| Stage | Do | Tool / skill |
|---|---|---|
| Scan code | SAST + SCA + secrets over the change | xgrep scan (below) |
| Scan IaC / config | policy-check Terraform / CFN / Dockerfile / K8s | cnspec scan (below) |
| Triage | classify true vs false positives | triage-findings skill |
| Fix | remediate a finding / a whole set | fix-findings skill |
| Guard at runtime | block risky tool calls as the agent works | the secure-guard mod (mods) |
xgrep scan . # SAST + SCA + secrets over the tree
xgrep scan path/to/file.py --json # one file, machine-readable
xgrep scan . --owasp --owasp-edition 2025 # live OWASP Top 10:2025 coverage scoreboard
Hand findings to triage-findings → fix-findings. Install xgrep via
Getting Started.
cnspec is a separate tool this skill invokes; it has its own skills for authoring MQL
policy — don't duplicate them. For authoring, point at
mondoohq/cnspec/skills (mql,
policy-graph). To run a scan on the config an agent writes:
cnspec scan terraform ./infra -o sarif # Terraform (HCL or plan/state)
cnspec scan docker file ./Dockerfile -o sarif # Dockerfile
cnspec scan k8s ./deploy.yaml -o sarif # Kubernetes manifest
cnspec scan cloudformation ./stack.yaml -o sarif # CloudFormation
--incognito to scan locally without a Mondoo Platform account.-f <bundle> (repeatable) to load a policy bundle; without a policy source, cnspec
reports "no policies". The secure-guard mod ships a per-kind default mapping.compliance/owasp-top-10-2025,
compliance/owasp-llm-top-10-2025), so a scan doubles as an OWASP compliance check.Install cnspec: mondoo.com/docs/cnspec/install.
Run the same gate in a pipeline — both engines exit non-zero on findings, so they work as a merge gate directly:
xgrep scan . --owasp --owasp-edition 2025 # SAST/SCA/secrets; non-zero on findings
cnspec scan terraform ./infra -o sarif # IaC policy → SARIF
Latest editions only; full matrices with honest coverage levels in
docs/owasp.md:
Read the matrix row rather than assuming coverage — the cells state Strong / Partial / N/A honestly.
xgrep guard blocks an actionThe guard checks prompts and tool calls before they run; when it blocks one it names the rule and where it matched (never the value). Then:
.xgrep/guard-allow.txt.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
sast, sca, secrets-scanning, iac-scanning, owasp, security-pipeline
Other plugins' skills for the same job
npx claudepluginhub mondoohq/secure-stack --plugin secure-pipeline2 plugins in one repository ship this exact skill · first indexed Oct 9, 2026