security-agent

Audit code for OWASP Top 10 and CWE Top 25 vulnerabilities with auto-fixes.

6|Updated Jan 6, 2026
One-click install
npx skills add https://github.com/NachoOsella/DotFiles-V4 --skill security-agent-nachoosella
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-agent
Source: https://github.com/NachoOsella/DotFiles-V4/tree/main/pi/.pi/agent/skills/security-agent
Command: npx skills add https://github.com/NachoOsella/DotFiles-V4 --skill security-agent-nachoosella

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Audits code for vulnerabilities and applies active remediation for OWASP Top 10 and CWE Top 25 flaws. Use when you need to: (1) scan for injection vulnerabilities (SQL, XSS, command injection, CSRF), (2) find and remediate hardcoded secrets, (3) audit security configurations (CSP, CORS, HSTS), (4) check for vulnerable dependencies, (5) harden authentication/authorization code, or (6) perform a security review before deployment.

Core Features & Use Cases

  • Injection: Scan and remediate injection vulnerabilities (SQL, XSS, command injection, CSRF)
  • Secrets: Detect and remediate hardcoded secrets
  • Configurations: Audit security configurations (CSP, CORS, HSTS)
  • Dependencies: Check for vulnerable dependencies
  • Authentication: Harden authentication/authorization code
  • Review: Perform a security review before deployment

Quick Start

Ask the agent to perform a security audit on your codebase and apply fixes for detected issues.

Frequently Asked Questions about security-agent

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

FAQPage Schema
How do I scan my codebase for OWASP Top 10 vulnerabilities?

To scan for OWASP Top 10 vulnerabilities, this Skill performs static analysis across your codebase to detect injection flaws, hardcoded secrets, and misconfigurations. It enforces active remediation by applying secure coding practices and auto-fixing detected issues.

What is the best way to remediate hardcoded secrets and injection vulnerabilities?

Remediating hardcoded secrets and injection vulnerabilities involves static analysis to detect SQL, XSS, and command injection flaws. This Skill applies active remediation by auto-fixing the detected code changes or marking complex items for manual review.

How do I audit security configurations like CSP, CORS, and HSTS before deployment?

Auditing security configurations like CSP, CORS, and HSTS requires a pre-deployment security review. This Skill evaluates your configurations against secure coding practices and applies hardening measures to ensure deployment readiness.

Can I automatically check for vulnerable dependencies and fix them?

Checking for vulnerable dependencies is fully supported through automated dependency auditing. The Skill identifies at-risk packages, checks them against known vulnerabilities, and applies active remediation or flags them for manual review.

Does this tool harden authentication and authorization code automatically?

Harden authentication and authorization code automatically by running a security audit. The Skill analyzes your access control implementations, applies active remediation to enforce secure boundaries, and outputs the necessary code changes.

What are the limitations of automated security remediation for CWE Top 25 flaws?

Automated security remediation for CWE Top 25 flaws applies static analysis to auto-fix common issues, but complex vulnerabilities may be marked for manual review. It requires secure coding practices to accurately mitigate injection and authorization flaws.