pasta-vulns

Scan code and dependencies for vulnerabilities mapped to CWEs.

12|1|Updated Feb 9, 2026
One-click install
npx skills add https://github.com/florianbuetow/claude-code --skill pasta-vulns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pasta-vulns
Source: https://github.com/florianbuetow/claude-code/tree/main/plugins/appsec/skills/pasta-vulns
Command: npx skills add https://github.com/florianbuetow/claude-code --skill pasta-vulns

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill identifies specific weaknesses in code and configuration that could be exploited, mapping findings to CWE identifiers and correlating them with threat models.

Core Features & Use Cases

  • Vulnerability Scanning: Utilizes tools like semgrep, bandit, gosec, and dependency scanners to find common security flaws.
  • Threat Correlation: Maps identified vulnerabilities to specific threats and attack vectors defined in earlier stages of the PASTA methodology.
  • Exploitability Assessment: Evaluates the ease with which a vulnerability can be exploited, considering complexity and existing controls.
  • Use Case: After identifying potential threats to a web application, use this Skill to scan the codebase for SQL injection, insecure direct object references, and other vulnerabilities that could enable those threats.

Quick Start

Run a deep vulnerability analysis on the changed files, generating fix suggestions.

Frequently Asked Questions about pasta-vulns

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

FAQPage Schema
How do I scan my codebase for security vulnerabilities and map them to CWE identifiers?

To scan code for security vulnerabilities and map them to CWE identifiers, you can use this Skill to run comprehensive application security analysis. It utilizes tools like semgrep, bandit, and gosec to identify weaknesses and correlates findings with threat catalogs.

What is PASTA threat modeling and how does it correlate with code vulnerability scanning?

PASTA threat modeling is a risk-centric methodology that this Skill supports by mapping identified code vulnerabilities to specific threats and attack vectors. It evaluates exploitability by considering complexity and existing controls to correlate findings with threat catalogs.

How do I run SAST and DAST analysis on changed files to generate automated security fixes?

You can run SAST and DAST analysis on changed files to generate automated fix suggestions by initiating a deep vulnerability analysis. The Skill supports configurable depth options and automated fix generation for identified code and configuration weaknesses.

Can I use semgrep, bandit, and gosec together for comprehensive application security testing?

Yes, you can use semgrep, bandit, and gosec together for comprehensive application security testing. The Skill integrates these static analyzers alongside dependency and secret scanners like npm audit and trivy to identify common security flaws in code and configuration.

Does this vulnerability scanner support secret and dependency scanning with trivy and npm audit?

Yes, this vulnerability scanner supports secret and dependency scanning using trivy and npm audit. It performs comprehensive application security vulnerability analysis across code, dependencies, and secrets to identify exploitable weaknesses.

What are the limitations of using automated SAST tools for exploitability assessment?

While automated SAST tools identify vulnerabilities, exploitability assessment limitations include relying on evaluated complexity and existing controls rather than runtime context. The Skill correlates static findings with threat models but may not capture all dynamic execution variables.