Security testing
Skill bromso/metapowers/plugins/security/skills/security-testing
Plan SAST, DAST, SCA, and penetration testing programFrom its SKILL.md
npx -y skills add bromso/metapowers --skill security-testingAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
4.8 KB, ~1.1k tokens by cl100k_base, as published. Nobody here has run it
Security Testing
Plan a comprehensive security testing program for "$ARGUMENTS". Define testing types, select tools, integrate into CI/CD, and establish finding triage and remediation workflows.
Prerequisites
Read .metapowers/security/$ARGUMENTS/00-govern.md. If this file does not exist, tell the user:
Phase 0 (Govern) has not been completed for "$ARGUMENTS". Run a Govern skill first (e.g.,
/security:security-policy $ARGUMENTS), or use--skip-checksto bypass.
If --skip-checks is present in $ARGUMENTS, skip this check and log to .metapowers/security/$ARGUMENTS/skip-log.md.
Process
-
Define testing types and scope:
- SAST (Static Application Security Testing) — analyze source code for vulnerabilities without executing it; run in CI on every commit
- DAST (Dynamic Application Security Testing) — test running application by sending crafted requests; run against staging environment
- SCA (Software Composition Analysis) — analyze dependencies for known vulnerabilities and license issues; run in CI on every commit
- IAST (Interactive Application Security Testing) — instrument running application during testing to detect vulnerabilities in real-time
- Penetration testing — manual and automated testing by security experts; annual minimum plus after major architectural changes
- Define scope per testing type (which repositories, applications, environments)
-
Select tools per testing type:
- SAST — evaluate Semgrep, CodeQL, SonarQube, Checkmarx, Snyk Code (consider language support, custom rule capability, false positive rate)
- DAST — evaluate OWASP ZAP, Burp Suite, Nuclei, HCL AppScan (consider API testing support, authentication handling)
- SCA — evaluate Snyk, Dependabot, Renovate, OWASP Dependency-Check (consider advisory database coverage, license detection)
- IAST — evaluate Contrast Security, Hdiv (consider language support, performance overhead)
- Pen testing — define in-house vs. third-party engagement model, scope, and frequency
- Document selection criteria and chosen tools with justification
-
Define CI/CD integration points:
- Pre-commit — secrets scanning (pre-commit hooks with tools like detect-secrets, gitleaks)
- Pull request — SAST and SCA scans with inline PR comments on findings
- Build — container image scanning, SBOM generation
- Staging deploy — DAST scans against staging environment, IAST during integration tests
- Pre-production — full regression security scan before production promotion
- Define which checks are blocking (fail the build) vs. advisory (warn but allow)
-
Establish finding triage process:
- Define severity-based SLAs: critical (fix within 48 hours), high (1 week), medium (1 sprint), low (next quarter)
- Assign finding ownership (the team that owns the code owns the fix)
- Create triage workflow: new finding -> validate (true/false positive) -> assign -> fix -> verify -> close
- Define escalation path for SLA breaches
- Track security debt alongside technical debt
-
Manage false positives:
- Document process for marking false positives (requires security team approval)
- Maintain suppression list with expiration dates (re-evaluate periodically)
- Track false positive rate per tool to inform tuning and tool evaluation
- Create custom rules to reduce false positives for common code patterns
-
Define testing cadence:
- SAST and SCA: every commit (automated in CI)
- DAST: weekly against staging, plus on-demand for new features
- Penetration testing: annually minimum, plus after major changes (new auth system, new data flow, major architecture change)
- Red team exercises: annually for mature organizations
- Tabletop exercises: quarterly to test incident response
-
Write the artifact to
.metapowers/security/$ARGUMENTS/03-detect.mdwith heading:Security Testing Program
Include sections:
- Testing Types — each type with scope, frequency, and environment
- Tool Selection — chosen tools per type with selection rationale
- CI/CD Integration — integration points, blocking vs. advisory checks
- Finding Triage — severity SLAs, ownership model, and workflow
- False Positive Management — suppression process and tracking
- Testing Cadence — schedule for all testing activities
- Metrics — KPIs for testing program effectiveness
Output
The security testing program written to .metapowers/security/$ARGUMENTS/03-detect.md. Present a summary to the user highlighting:
- Testing types and their scope coverage
- Selected tools and CI/CD integration plan
- Finding severity SLAs and triage workflow
- Testing cadence and key milestones
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.