vc-security

Audits code for STRIDE and OWASP vulnerabilities with optional iterative auto-fix.

2|Updated Sep 15, 2025
One-click install
npx skills add https://github.com/marsley01/Marsley-Portfolio-Web --skill vc-security-marsley01
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vc-security
Source: https://github.com/marsley01/Marsley-Portfolio-Web/tree/main/.agents/skills/vc-security
Command: npx skills add https://github.com/marsley01/Marsley-Portfolio-Web --skill vc-security-marsley01

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Manually reviewing code for security vulnerabilities is slow and inconsistent, and issues like SQL injection, hardcoded secrets, or missing rate limits often slip into releases. This Skill runs a structured STRIDE + OWASP audit on any scope and produces a severity-ranked findings report, with an optional mode that fixes findings iteratively. ## Core Features & Use Cases - Structured Threat Analysis: Systematically evaluates all six STRIDE categories and maps findings to the OWASP Top 10 (A01–A10) using detailed reference checklists. - Secret and Dependency Scanning: Detects hardcoded API keys, tokens, and private keys via regex patterns, and runs stack-appropriate dependency audits (pnpm audit, pip-audit, govulncheck, bundle audit). - Iterative Auto-Fix Mode: With --fix, applies one targeted fix per finding in severity order, runs a guard (tests or lint) after each change, and commits incrementally, stopping on regression. - Use Case: Before a production release, run a full audit on your API layer to catch critical issues like SQL string concatenation or missing auth rate limiting, then auto-fix the top findings with a bounded iteration count. ## Quick Start Ask the AI to run a security audit on the src directory with auto-fix enabled and a maximum of 15 iterations.

Frequently Asked Questions about vc-security

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

FAQPage Schema
How do I run a security audit on my codebase?

Invoke the audit with a scope glob such as src/api/**/*.ts or the keyword full for the entire codebase. The audit scans all in-scope files, categorizes findings by STRIDE and OWASP, and outputs a severity-ranked report table.

How to automatically fix security vulnerabilities found in an audit?

Add the --fix flag to apply fixes iteratively, sorted from Critical to Low severity. Each fix is verified with a test or lint guard and committed separately; use --iterations N to cap the number of fix attempts.

What dependency audit tools does it support for different stacks?

It runs pnpm audit for Node.js, pip-audit for Python, govulncheck for Go, bundle audit for Ruby, mvn dependency-check for Java, and cargo audit for Rust. The appropriate tool is selected based on the detected stack.

Can it detect hardcoded secrets and API keys in source code?

Yes, it scans for high-confidence patterns including AWS keys, GitHub tokens, Stripe keys, Slack tokens, private keys, and JWTs, plus medium-confidence generic patterns. Matches in test files, examples, and placeholder values are excluded to reduce false positives.

When should I not run a security audit?

Skip the audit for purely cosmetic changes like CSS or copy edits where no user-facing code or data handling is involved. It is designed for releases, auth or payment feature additions, and periodic compliance reviews.

What happens if an auto-fix breaks the build?

The fix loop runs a guard (tests or lint) after every change. If the guard fails, the process stops immediately and reports the failure instead of proceeding to the next finding, preventing cascading regressions.