cso

Audits repositories for secrets, dependency, CI/CD, LLM, and OWASP vulnerabilities.

Updated Aug 9, 2026
One-click install
npx skills add https://github.com/raghavbadhwar/rstack --skill cso-raghavbadhwar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cso
Source: https://github.com/raghavbadhwar/rstack/tree/main/cso
Command: npx skills add https://github.com/raghavbadhwar/rstack --skill cso-raghavbadhwar

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Security reviews of a codebase are often shallow checklist scans that miss leaked credentials in git history, vulnerable dependencies, misconfigured CI/CD pipelines, and LLM-specific attack vectors. This Skill runs a structured, multi-phase security audit that produces confidence-scored findings instead of noisy reports. ## Core Features & Use Cases - Infrastructure-first audit phases: secrets archaeology in git history, dependency supply chain analysis, CI/CD pipeline security, Docker/IaC shadow infrastructure, webhook signature verification, and LLM/AI security checks (prompt injection, unsanitized output, tool-call validation). - Two audit modes: a daily zero-noise mode with an 8/10 confidence gate, and a comprehensive monthly deep scan with a 2/10 reporting bar, plus trend tracking across runs. - Standards coverage: OWASP Top 10 assessment, STRIDE threat modeling, data classification, and skill supply chain scanning for malicious installed agent skills. - Use Case: Before a release, ask for a security audit of your repository to find a leaked API key in git history, an unpinned GitHub Action, and a webhook endpoint missing signature verification, each with severity and false-positive filtering. ## Quick Start Ask the agent to run a security audit of this repository and report only high-confidence vulnerabilities with severity ratings.

Frequently Asked Questions about cso

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

FAQPage Schema
How do I run a security audit on my codebase with an AI agent?

Invoke the cso skill with a phrase like "security audit" or "OWASP review". It detects your stack, then runs phased checks for secrets, dependencies, CI/CD, webhooks, and LLM risks, reporting only findings that pass a confidence threshold.

How to find leaked secrets in git history?

The secrets archaeology phase searches git history for known credential prefixes like AKIA, ghp_, sk-, and xoxb-, checks whether .env files are tracked, and flags CI configs with inline secrets. Placeholders and test fixtures are excluded as false positives.

What is the difference between daily and comprehensive audit modes?

Daily mode reports only findings at 8/10 confidence or higher to eliminate noise during regular development. Comprehensive mode is a monthly deep scan with a 2/10 reporting bar that surfaces lower-confidence issues for manual review.

Does the audit check for LLM and prompt injection vulnerabilities?

Yes, a dedicated phase checks for user input flowing into system prompts, unsanitized LLM output rendered as HTML, eval of AI responses, unvalidated tool calls, and exposed AI API keys. User content in normal message position is not flagged.

Can the audit scan installed AI agent skills for malicious patterns?

Yes, the skill supply chain phase scans repo-local skills automatically for credential access, network exfiltration, and prompt injection patterns. Scanning globally installed skills requires explicit user permission since it reads files outside the repo.

Why does the audit skip some vulnerability scanner results?

Package manager audit tools are optional; if one is not installed, the report notes it as skipped with install instructions rather than failing. The audit continues with whichever tools are available and applies false-positive rules to filter noise.