security
Original:🇺🇸 English
Translated
Continuous repository security scanning and release gating. Triggers: "security scan", "security audit", "pre-release security", "run scanners", "check vulnerabilities".
2installs
Sourceboshu2/agentops
Added on
NPX Install
npx skill4agent add boshu2/agentops securityTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Security Skill
Purpose: Run repeatable security checks across code, scripts, hooks, and release gates.
Use this skill when you need deterministic security validation before merge/release, or recurring scheduled checks.
Quick Start
bash
/security # quick security gate
/security --full # full gate with test-inclusive toolchain checks
/security --release # full gate for release readiness
/security --json # machine-readable report outputExecution Contract
1) Pre-PR (fast)
Run quick gate:
bash
scripts/security-gate.sh --mode quickExpected behavior:
- Fails on high/critical findings from available scanners.
- Writes artifacts under .
.agents/security/<run-id>/
2) Pre-Release (strict)
Run full gate:
bash
scripts/security-gate.sh --mode fullExpected behavior:
- Full scanner pass before release workflow can continue.
- Artifacts retained for audit and incident response.
3) Nightly (continuous)
Nightly workflow should run:
bash
scripts/security-gate.sh --mode fullExpected behavior:
- Detects drift/regressions outside active PR windows.
- Failing run creates actionable signal in workflow summary/issues.
Triage Guidance
When gate fails:
- Open latest artifact in and identify scanner + file.
.agents/security/ - Classify severity (critical/high/medium).
- Fix immediately for critical/high or create tracked follow-up issue with owner.
- Re-run until gate passes.
scripts/security-gate.sh
Reporting Template
markdown
Security gate run: <run-id>
Mode: <quick|full>
Result: <pass|blocked>
Top findings:
- <scanner> <severity> <file> <summary>
Actions:
- <fix or issue id>Notes
- Use this as the canonical security runbook instead of ad-hoc scanner commands.
- Keep workflow wiring aligned with this contract in:
.github/workflows/validate.yml.github/workflows/nightly.yml.github/workflows/release.yml