security-auditor

Identify, aggregate, and remediate production security findings across monorepos before deployment.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/chandima/opencode-config --skill security-auditor-chandima
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-auditor
Source: https://github.com/chandima/opencode-config/tree/main/skills/security-auditor
Command: npx skills add https://github.com/chandima/opencode-config --skill security-auditor-chandima

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires trivy, semgrep, gh, jq, and includes scripts (resource) components.

What problem does it solve?

Pre-deployment security audits that block on critical vulnerabilities across monorepos and deployment pipelines.

Core Features & Use Cases

  • Detect project context, monorepo structure, and deployment context to tailor scans per package.
  • Run parallel scans (trivy for secrets, dependencies, misconfig; semgrep for code SAST; GitHub security checks) and compile a unified report.
  • Gate deployment decisions with configurable severity gates and output a markdown report at .opencode/docs/SECURITY-AUDIT.md.

Quick Start

Run the full audit with ./scripts/audit.sh from the skill directory.

Frequently Asked Questions about security-auditor

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate pre-deployment security audits for a monorepo?

Automate pre-deployment security audits by running parallel scans with Trivy and Semgrep across monorepo packages. The audit detects project context, resolves scope per package, and compiles findings into a unified markdown report at .opencode/docs/SECURITY-AUDIT.md to gate releases.

Can I run Semgrep and Trivy scans in parallel during CI pipelines?

Yes, you can run Semgrep for SAST and Trivy for secrets, dependencies, and misconfigurations in parallel during CI pipelines. The skill aggregates these scans alongside GitHub security alerts to block risky deployments based on configurable severity gates.

What is the best way to block risky releases based on vulnerability severity?

Block risky releases by configuring severity gates within your deployment pipeline. The security audit aggregates findings from Trivy, Semgrep, and GitHub alerts, then outputs a markdown report to gate deployment decisions before production release.

Do I need jq and gh installed to run security checks on GitHub alerts?

Yes, you need gh and jq installed to fetch and parse GitHub security alerts. These dependencies are required alongside Trivy and Semgrep to execute the full audit script and aggregate security findings into the deployment gate.

How does scope resolution work for multi-package security audits?

Scope resolution for multi-package audits works by detecting the monorepo structure and deployment context, then tailoring vulnerability scans per package. This ensures security findings are accurately mapped to specific deployment scopes before aggregation.

What limitations exist when using Trivy for secrets and dependency scanning?

Trivy handles secrets, dependencies, and misconfigurations but does not perform SAST code analysis. The audit script pairs Trivy with Semgrep to cover static code analysis, ensuring comprehensive vulnerability detection before compiling the unified report.