New to Claude Skills? Learn how to install them β†’

vudovn on GitHub

Vulnerability Scanner

Free

Automate your security validation with advanced scanning techniques.

by vudovn8.1k stars on vudovn/ag-kit
1 views
Updated Jul 30, 2026
Get this skill

Free Β· Opens the source repo

What Vulnerability Scanner does

The Vulnerability Scanner is designed to help developers and security professionals assess their applications against modern security threats. It incorporates principles from the OWASP 2025 guidelines, focusing on critical areas such as supply chain security and attack surface mapping. By utilizing the provided scripts, users can automate the validation of security principles applied in their projects, enhancing their overall security posture.

The core functionality is encapsulated in the security_scan.py script, which allows users to run automated scans on their projects by specifying the project path. This script evaluates various security principles and generates actionable insights based on the findings. Additionally, the included checklists in checklists.md serve as a reference for addressing common vulnerabilities, including those outlined in the OWASP Top 10, which is essential for maintaining a secure development lifecycle.

This skill is particularly useful for teams looking to integrate security into their development processes. The emphasis on a security expert mindset, such as the principles of Zero Trust and Defense in Depth, provides a framework for thinking critically about security at every stage of development. By mapping attack surfaces and prioritizing risks based on established methodologies, users can effectively identify and mitigate potential vulnerabilities before they can be exploited.

Overall, the Vulnerability Scanner is a valuable tool for any developer or security professional aiming to enhance their application's security posture in an increasingly complex threat landscape. It is suitable for both established teams and those just beginning to incorporate security practices into their workflows.

When to use it

Use this tool when you need to assess the security of your software projects against the latest OWASP guidelines and other security best practices.

When not to use it

This is not suitable for real-time attack detection or for environments where immediate threat response is required.

What you can build with it

Automated Security Audits

Integrate the Vulnerability Scanner into your CI/CD pipeline to perform automated security audits on every code push.

Compliance Checks

Use the provided checklists to ensure your application meets compliance standards as outlined by OWASP.

Supply Chain Risk Assessment

Evaluate your dependencies and CI/CD processes to identify potential supply chain vulnerabilities.

How to install Vulnerability Scanner

View source

1. Install with the skills CLI

npx skills add vudovn/ag-kit/vulnerability-scanner --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by vudovn

Vulnerability Scanner

Think like an attacker, defend like an expert. 2025 threat landscape awareness.

πŸ”§ Runtime Scripts

Execute for automated validation:

ScriptPurposeUsage
scripts/security_scan.pyValidate security principles appliedpython scripts/security_scan.py <project_path>

πŸ“‹ Reference Files

FilePurpose
checklists.mdOWASP Top 10, Auth, API, Data protection checklists

1. Security Expert Mindset

Core Principles

PrincipleApplication
Assume BreachDesign as if attacker already inside
Zero TrustNever trust, always verify
Defense in DepthMultiple layers, no single point
Least PrivilegeMinimum required access only
Fail SecureOn error, deny access

Threat Modeling Questions

Before scanning, ask:

  1. What are we protecting? (Assets)
  2. Who would attack? (Threat actors)
  3. How would they attack? (Attack vectors)
  4. What's the impact? (Business risk)

2. OWASP Top 10:2025

Risk Categories

RankCategoryThink About
A01Broken Access ControlWho can access what? IDOR, SSRF
A02Security MisconfigurationDefaults, headers, exposed services
A03Software Supply Chain πŸ†•Dependencies, CI/CD, build integrity
A04Cryptographic FailuresWeak crypto, exposed secrets
A05InjectionUser input β†’ system commands
A06Insecure DesignFlawed architecture
A07Authentication FailuresSession, credential management
A08Integrity FailuresUnsigned updates, tampered data
A09Logging & AlertingBlind spots, no monitoring
A10Exceptional Conditions πŸ†•Error handling, fail-open states

2025 Key Changes

2021 β†’ 2025 Shifts:
β”œβ”€β”€ SSRF merged into A01 (Access Control)
β”œβ”€β”€ A02 elevated (Cloud/Container configs)
β”œβ”€β”€ A03 NEW: Supply Chain (major focus)
β”œβ”€β”€ A10 NEW: Exceptional Conditions
└── Focus shift: Root causes > Symptoms

3. Supply Chain Security (A03)

Attack Surface

VectorRiskQuestion to Ask
DependenciesMalicious packagesDo we audit new deps?
Lock filesIntegrity attacksAre they committed?
Build pipelineCI/CD compromiseWho can modify?
RegistryTyposquattingVerified sources?

Defense Principles

  • Verify package integrity (checksums)
  • Pin versions, audit updates
  • Use private registries for critical deps
  • Sign and verify artifacts

4. Attack Surface Mapping

What to Map

CategoryElements
Entry PointsAPIs, forms, file uploads
Data FlowsInput β†’ Process β†’ Output
Trust BoundariesWhere auth/authz checked
AssetsSecrets, PII, business data

Prioritization Matrix

Risk = Likelihood Γ— Impact

High Impact + High Likelihood β†’ CRITICAL
High Impact + Low Likelihood  β†’ HIGH
Low Impact + High Likelihood  β†’ MEDIUM
Low Impact + Low Likelihood   β†’ LOW

5. Risk Prioritization

CVSS + Context

FactorWeightQuestion
CVSS ScoreBase severityHow severe is the vuln?
EPSS ScoreExploit likelihoodIs it being exploited?
Asset ValueBusiness contextWhat's at risk?
ExposureAttack surfaceInternet-facing?

Prioritization Decision Tree

Is it actively exploited (EPSS >0.5)?
β”œβ”€β”€ YES β†’ CRITICAL: Immediate action
└── NO β†’ Check CVSS
         β”œβ”€β”€ CVSS β‰₯9.0 β†’ HIGH
         β”œβ”€β”€ CVSS 7.0-8.9 β†’ Consider asset value
         └── CVSS <7.0 β†’ Schedule for later

6. Exceptional Conditions (A10 - New)

Fail-Open vs Fail-Closed

ScenarioFail-Open (BAD)Fail-Closed (GOOD)
Auth errorAllow accessDeny access
Parsing failsAccept inputReject input
TimeoutRetry foreverLimit + abort

What to Check

  • Exception handlers that catch-all and ignore
  • Missing error handling on security operations
  • Race conditions in auth/authz
  • Resource exhaustion scenarios

7. Scanning Methodology

Phase-Based Approach

1. RECONNAISSANCE
   └── Understand the target
       β”œβ”€β”€ Technology stack
       β”œβ”€β”€ Entry points
       └── Data flows

2. DISCOVERY
   └── Identify potential issues
       β”œβ”€β”€ Configuration review
       β”œβ”€β”€ Dependency analysis
       └── Code pattern search

3. ANALYSIS
   └── Validate and prioritize
       β”œβ”€β”€ False positive elimination
       β”œβ”€β”€ Risk scoring
       └── Attack chain mapping

4. REPORTING
   └── Actionable findings
       β”œβ”€β”€ Clear reproduction steps
       β”œβ”€β”€ Business impact
       └── Remediation guidance

8. Code Pattern Analysis

High-Risk Patterns

PatternRiskLook For
String concat in queriesInjection"SELECT * FROM " + user_input
Dynamic code executionRCEeval(), exec(), Function()
Unsafe deserializationRCEpickle.loads(), unserialize()
Path manipulationTraversalUser input in file paths
Disabled securityVariousverify=False, --insecure

Secret Patterns

TypeIndicators
API Keysapi_key, apikey, high entropy
Tokenstoken, bearer, jwt
Credentialspassword, secret, key
CloudAWS_, AZURE_, GCP_ prefixes

9. Cloud Security Considerations

Shared Responsibility

LayerYou OwnProvider Owns
Dataβœ…βŒ
Applicationβœ…βŒ
OS/RuntimeDependsDepends
InfrastructureβŒβœ…

Cloud-Specific Checks

  • IAM: Least privilege applied?
  • Storage: Public buckets?
  • Network: Security groups tightened?
  • Secrets: Using secrets manager?

10. Anti-Patterns

❌ Don'tβœ… Do
Scan without understandingMap attack surface first
Alert on every CVEPrioritize by exploitability + asset
Ignore false positivesMaintain verified baseline
Fix symptoms onlyAddress root causes
Scan once before deployContinuous scanning
Trust third-party deps blindlyVerify integrity, audit code

11. Reporting Principles

Finding Structure

Each finding should answer:

  1. What? - Clear vulnerability description
  2. Where? - Exact location (file, line, endpoint)
  3. Why? - Root cause explanation
  4. Impact? - Business consequence
  5. How to fix? - Specific remediation

Severity Classification

SeverityCriteria
CriticalRCE, auth bypass, mass data exposure
HighData exposure, privilege escalation
MediumLimited scope, requires conditions
LowInformational, best practice

Remember: Vulnerability scanning finds issues. Expert thinking prioritizes what matters. Always ask: "What would an attacker do with this?"

Frequently asked questions about Vulnerability Scanner

Similar skills