Agent skill

Cve Reachability Analyzer

by ArabelaTso in ArabelaTso/Skills-4-SE

Analyze CVE reachability in software repositories by examining how vulnerable dependencies are imported and used.

Apache-2.0Auto-check passedSecurity

Install Cve Reachability Analyzer

skills CLI
$ npx skills add ArabelaTso/Skills-4-SE --skill cve-reachability-analyzer -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ArabelaTso/Skills-4-SE cve-reachability-analyzer --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ArabelaTso/Skills-4-SE.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/cve-reachability-analyzer .claude/skills/cve-reachability-analyzer && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cve-reachability-analyzer
GitHub stars
253
Token cost
~3.1k tokens
SKILL.md length
1,021 words
Files
4 (incl. references)
Skills in repo
170
Repo updated
First seen
Licence
Apache-2.0

At a glance

Analyze CVE reachability in software repositories by examining how vulnerable dependencies are imported and used.

  • Works in 9 steps: Gather Input Information → Verify Dependency Presence → Analyze Import Patterns → …
  • Analyzing security vulnerabilities in dependencies
  • SKILL.md covers Overview, Workflow and Output Format
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Cve Reachability Analyzer is an agent skill from ArabelaTso/Skills-4-SE. Analyze CVE reachability in software repositories by examining how vulnerable dependencies are imported and used. Determines whether vulnerable components, classes, or functions are reachable from project code through call chain analysis, reflection detection, dynamic loading patterns, and configuration-gated behavior. Classifies each CVE as likely reachable, possibly reachable, or likely unreachable with supporting evidence. Use when analyzing security vulnerabilities in dependencies, performing post-disclosure…

Its SKILL.md is about 3.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including reference files (for example `references/cve_analysis.md`, `references/language_guide.md` and `references/reachability_patterns.md`).

It sits in Security, covering Vulnerability scanning. The repository describes itself as: A curated list of 180+ useful Claude Skills for Software Engineering and resources for customizing AI for SE workflows. The licence is Apache-2.0.

When your agent uses it

  • Analyzing security vulnerabilities in dependencies
  • Performing post-disclosure CVE triage
  • Assessing vulnerability impact
  • Users ask to analyze CVE reachability

Example prompts

  • “/cve-reachability-analyzer”

Workflow steps

9 steps, taken from the step headings in SKILL.md.

  1. Gather Input Information
  2. Verify Dependency Presence
  3. Analyze Import Patterns
  4. Trace Call Chains
  5. Analyze Dynamic Invocation
  6. Evaluate Configuration Gates
  7. Assess Code Path Reachability
  8. Classify Reachability
  9. Generate Output

What it can do on your machine

Read from SKILL.md and the folder at commit 4f38503. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cve Reachability Analyzer loads about 3.1k tokens when it runs, and up to ~9.2k if it reads all its reference files. Until then it costs about 179 tokens; SKILL.md has 1,021 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~179
When it runs · the whole SKILL.md, loaded when a task matches
~3.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~9.2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ArabelaTso/Skills-4-SE at commit 4f38503, republished under its Apache-2.0 licence (© ArabelaTso). 1,021 words, ~3,128 tokens.

Download SKILL.mdSave it as .claude/skills/cve-reachability-analyzer/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
cve-reachability-analyzer
description
Analyze CVE reachability in software repositories by examining how vulnerable dependencies are imported and used. Determines whether vulnerable components, classes, or functions are reachable from project code through call chain analysis, reflection detection, dynamic loading patterns, and configuration-gated behavior. Classifies each CVE as likely reachable, possibly reachable, or likely unreachable with supporting evidence. Use when analyzing security vulnerabilities in dependencies, performing post-disclosure CVE triage, assessing vulnerability impact, or when users ask to analyze CVE reachability, check if vulnerabilities are exploitable, or evaluate dependency security risks.

Post-Disclosure CVE Reachability Analyzer

Overview

This skill performs static analysis of software repositories to determine whether disclosed CVEs in dependencies are reachable from the project's code. It analyzes import patterns, call chains, dynamic invocation, and configuration to classify each CVE's reachability with evidence-based justification.

Workflow

Step 1: Gather Input Information

Collect and validate the required information:

  1. Repository analysis:

    • Identify programming language(s)
    • Locate dependency files (package.json, requirements.txt, pom.xml, etc.)
    • Understand project structure and entry points
  2. CVE information:

    • CVE ID and description
    • Affected package name and version range
    • Vulnerable component (function/class/method)
    • Vulnerability type (injection, overflow, etc.)
    • Fixed version
  3. Configuration information (optional):

    • Feature flags and their states
    • Build profiles (dev/staging/production)
    • Environment variables
    • Runtime configuration files
Step 2: Verify Dependency Presence

Check if the vulnerable dependency exists in the project:

  1. Parse dependency files:

    • Read language-specific dependency files (see language_guide.md)
    • Extract package names and version constraints
    • Build dependency tree (including transitive dependencies)
  2. Version matching:

    • Compare installed version against vulnerable version range
    • Check if version falls within affected range
    • Identify if fixed version is available
  3. Early exit:

    • If package not present → Not Applicable
    • If version not in vulnerable range → Not Vulnerable
    • Otherwise, proceed to Step 3
Step 3: Analyze Import Patterns

Determine if vulnerable components are imported:

  1. Search for imports:

    • Find all import/require/using statements for the vulnerable package
    • Check for direct imports of vulnerable function/class
    • Identify wildcard imports that may include vulnerable component
    • Look for aliased imports
  2. Language-specific patterns:

    • Consult language_guide.md for language-specific import syntax
    • Check for framework-specific import mechanisms (DI, auto-loading)
  3. Assessment:

    • No imports found → Likely unreachable (but check dynamic loading in Step 5)
    • Imports found → Proceed to Step 4
Step 4: Trace Call Chains

Identify if vulnerable code is invoked:

  1. Direct usage analysis:

    • Search for call sites of vulnerable function/method
    • Find instantiations of vulnerable classes
    • Locate references to vulnerable symbols
  2. Indirect usage analysis:

    • Trace calls through wrapper functions
    • Check for framework auto-invocation (middleware, event handlers, DI)
    • Identify callback registrations
    • Look for inheritance/interface implementations
  3. Build call graph:

    • Map call chains from entry points to vulnerable code
    • Identify all paths that reach vulnerable component
    • Note the depth and complexity of call chains
  4. Use pattern library:

Step 5: Analyze Dynamic Invocation

Check for dynamic code execution that may reach vulnerable code:

  1. Reflection/metaprogramming:

    • Search for reflection APIs (Java: Class.forName(), Python: getattr(), etc.)
    • Check if vulnerable component could be invoked dynamically
    • Assess likelihood based on how constrained the dynamic calls are
  2. Dynamic loading:

    • Look for dynamic imports (Python: importlib, JS: require(variable))
    • Check plugin systems or extension mechanisms
    • Evaluate if vulnerable package could be loaded dynamically
  3. Eval and code generation:

    • Search for eval(), exec(), Function() constructor
    • Check if vulnerable code could be executed through eval
    • Assess risk based on input sources
Step 6: Evaluate Configuration Gates

Determine if vulnerable code is gated by configuration:

  1. Feature flags:

    • Search for feature flag checks around vulnerable code
    • Determine flag states in production (if configuration provided)
    • Assess if flag could be enabled
  2. Environment-specific code:

    • Check for environment conditionals (dev/staging/prod)
    • Determine which environments execute vulnerable code
    • Focus on production environment
  3. Build-time conditionals:

    • Look for build profiles, compilation flags
    • Check if vulnerable code is included in production builds
    • Review preprocessor directives
  4. Runtime configuration:

    • Check for configuration files that control code paths
    • Determine if vulnerable code path is enabled
    • Assess likelihood of configuration changes
Show full SKILL.md (452 more words)Show less
Step 7: Assess Code Path Reachability

Determine if the code path is actually executed:

  1. Dead code detection:

    • Check for commented-out code
    • Identify unreachable branches (if False, etc.)
    • Find deprecated/unused functions with no callers
  2. Test-only code:

    • Identify if usage is only in test files
    • Check for test-specific imports or mocks
    • Distinguish production vs. test code paths
  3. Error handling paths:

    • Determine if vulnerable code is in error handlers
    • Assess likelihood of error conditions
    • Consider if error paths are reachable in practice
  4. Entry point analysis:

    • Trace from application entry points (main, HTTP handlers, etc.)
    • Verify vulnerable code is on reachable paths from entry points
    • Consider application flow and typical execution paths
Step 8: Classify Reachability

Apply classification criteria from cve_analysis.md:

Likely Reachable - All of:

  • Vulnerable package is present in correct version range
  • Vulnerable component is imported (directly or via wildcard)
  • Vulnerable code is called (directly or indirectly)
  • Code path is in production code (not tests/dead code)
  • No configuration gates, or gates are enabled in production

Possibly Reachable - One or more of:

  • Indirect usage through wrappers or frameworks
  • Dynamic invocation (reflection, eval, dynamic imports)
  • Configuration-gated (unclear if enabled in production)
  • Transitive dependency (not direct)
  • Framework auto-invocation (DI, middleware)

Likely Unreachable - One or more of:

  • Package imported but vulnerable component not used
  • Code path is test-only or dead code
  • Configuration gate is disabled in production
  • Vulnerable component in unused module
Step 9: Generate Output

For each CVE, provide comprehensive assessment:

  1. Classification: Likely Reachable / Possibly Reachable / Likely Unreachable

  2. Confidence level: High / Medium / Low

  3. Supporting evidence:

    • Import locations (file:line)
    • Call paths from entry points to vulnerable code
    • Configuration assumptions
    • Dynamic invocation patterns found
  4. Reasoning:

    • Explain why this classification was chosen
    • Describe the analysis performed
    • Note any assumptions made
  5. Uncertainty factors:

    • What is unknown or unclear
    • What additional information would help
    • Limitations of static analysis
  6. Recommendations:

    • Suggested next steps (upgrade, investigate, monitor)
    • Additional verification needed
    • Mitigation options if upgrade not possible

Output Format

Structure the output as follows:

markdown
## CVE Reachability Analysis for [Repository Name]

### Summary
- Total CVEs analyzed: X
- Likely reachable: X
- Possibly reachable: X
- Likely unreachable: X

---

### CVE-YYYY-XXXXX: [Vulnerability Title]

**Package**: package-name
**Affected versions**: < X.Y.Z
**Installed version**: X.Y.Z
**Vulnerable component**: `function_name()` or `ClassName`

**Classification**: Likely Reachable | Possibly Reachable | Likely Unreachable
**Confidence**: High | Medium | Low

#### Evidence

**Dependency presence**:
- Found in: `path/to/dependency-file:line`
- Version X.Y.Z is in vulnerable range (< X.Y.Z)

**Import analysis**:
- Imported in: `path/to/file.ext:line`
  ```language
  import vulnerable_package

Call chain:

  1. Entry point: main() in src/app.py:10
  2. Calls: process_request() in src/handlers.py:45
  3. Calls: vulnerable_function() in vulnerable_package:100

Configuration:

  • Feature flag: enable_feature_x (state: enabled in production)
  • Environment: Used in production code path
Reasoning

[Explain why this classification was chosen, referencing the evidence above]

Uncertainty

[Describe any uncertainties, unknowns, or limitations]

Recommendations
  • Priority: High | Medium | Low
  • Action: Upgrade to version X.Y.Z | Investigate further | Monitor
  • Mitigation: [If upgrade not possible, suggest alternatives]

[Repeat for each CVE]

Analysis Notes

Methodology:

  • Static analysis of codebase
  • Dependency tree analysis
  • Call graph construction
  • Configuration review

Limitations:

  • Dynamic behavior not fully captured
  • Runtime configuration may differ from repository
  • Transitive dependencies may have additional paths

Assumptions:

  • Production configuration matches [source]
  • Build profile is [profile name]
  • Feature flags state: [list states]

## Important Guidelines

1. **Do not assume exploitability**: Reachability ≠ exploitability. Focus on whether code is reached, not whether it can be exploited.

2. **Justify conclusions**: Every classification must be supported by evidence from the codebase.

3. **Be conservative with "Likely Reachable"**: Only use when evidence is strong and clear.

4. **Acknowledge uncertainty**: When analysis is limited by dynamic behavior, configuration, or complexity, state this clearly.

5. **Distinguish test vs. production**: Usage in test files should not count as production reachability.

6. **Consider configuration**: Code may be present but disabled by configuration.

7. **Check transitive dependencies**: Vulnerable code may be reached through multiple layers.

8. **Language-specific analysis**: Use appropriate analysis techniques for each language.

9. **Provide actionable recommendations**: Help users understand what to do next.

10. **Document assumptions**: Clearly state any assumptions about configuration, environment, or build settings.

## Example Usage

**User request**: "Analyze CVE-2024-12345 affecting log4j in my Java project"

**Process**:
1. Parse `pom.xml` to find log4j version
2. Check if version is in vulnerable range
3. Search for log4j imports in Java files
4. Find calls to vulnerable `lookup()` method
5. Trace call chains from HTTP endpoints
6. Check if JNDI lookup is enabled in configuration
7. Classify as "Likely Reachable" with high confidence
8. Provide evidence: import locations, call paths, configuration
9. Recommend immediate upgrade to fixed version

## References

- [reachability_patterns.md](references/reachability_patterns.md) - Common code patterns and their reachability implications
- [language_guide.md](references/language_guide.md) - Language-specific analysis techniques
- [cve_analysis.md](references/cve_analysis.md) - CVE analysis framework and classification criteria

## Limitations

- Static analysis cannot capture all runtime behavior
- Dynamic code execution may not be fully traceable
- Configuration state may differ between repository and production
- Transitive dependencies may have complex interaction patterns
- Obfuscated or minified code is difficult to analyze
- Some framework magic (AOP, bytecode manipulation) may be missed

© ArabelaTso, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 3 other files (references) in skills/cve-reachability-analyzer of ArabelaTso/Skills-4-SE.

  • SKILL.md
  • references/cve_analysis.md
  • references/language_guide.md
  • references/reachability_patterns.md

Open the folder on GitHubat commit 4f38503

Compare with similar skills

Cve Reachability Analyzer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cve Reachability Analyzer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cve Reachability Analyzer this skillArabelaTso/Skills-4-SE253—~3.1kAutomated safety check: PassApache-2.0
Deepsec Documentation Guidevercel-labs/deepsec8.1k—~956Automated safety check: PassApache-2.0
Shiro Attack CLISummerSec/ShiroAttack22.6k—~945Automated safety check: PassMIT
Cve Remediationrundeck/rundeck6.3k—~2.9kAutomated safety check: PassApache-2.0
Native Dependency Updatemono/SkiaSharp5.6k—~4.1kAutomated safety check: PassMIT
Forensifyalexgreensh/repo-forensics188—~2.5kAutomated safety check: NotesCustom licence

Similar skills

  • Deepsec Documentation Guide

    vercel-labs/deepsec

    Official

    Points the agent at deepsec's own docs to answer questions about initializing, configuring, resuming, scanning with and extending the vulnerability scanner.

    8.1k GitHub stars~956 tokensUpdated 10 days ago
    SecurityAuto-check passed
  • Shiro Attack CLI

    SummerSec/ShiroAttack2

    当用户要求利用、检测或测试 Apache Shiro rememberMe 反序列化漏洞 (Shiro-550, CVE-2016-4437) 时使用。触发词包括 "Shiro"、"rememberMe"、"shiro attack"、"CVE-2016-4437"、"Shiro-550"、"爆破 Shiro key"、"利用 Shiro"、"Shiro…

    2.6k GitHub stars~945 tokensUpdated 4 mo ago
    SecurityAuto-check passed
  • Cve Remediation

    rundeck/rundeck

    Verify if a CVE affects the project and remediate it. An agent skill from rundeck/rundeck.

    6.3k GitHub stars~2.9k tokensUpdated today
    SecurityAuto-check passed
  • Update native dependencies (libpng, libexpat, zlib, libwebp, harfbuzz, freetype, libjpeg-turbo, etc.) in SkiaSharp's Skia fork.

    5.6k GitHub stars~4.1k tokensUpdated today
    SecurityAuto-check passed
  • Forensify

    alexgreensh/repo-forensics

    Cross-agent self-inspection of your AI-agent stack. An agent skill from alexgreensh/repo-forensics.

    188 GitHub stars~2.5k tokensUpdated 12 days ago
    SecurityAuto-check: notes
  • Write Cve Rule

    evdenis/cvehound

    Write, debug, or validate a CVEhound detection rule (.cocci or .grep) for a Linux kernel CVE.

    138 GitHub stars~2.5k tokensUpdated today
    SecurityAuto-check passed

More from ArabelaTso/Skills-4-SE

All 170 skills in this repo
  • Framework Migration Assistant

    ArabelaTso/Skills-4-SE

    Automatically migrate Python web applications between frameworks (Flask → FastAPI, Django → FastAPI).

    253 GitHub stars~1.9k tokensUpdated 1 mo ago
    Auto-check passed
  • Metamorphic Test Generator

    ArabelaTso/Skills-4-SE

    Generate test cases using metamorphic testing by applying transformations based on metamorphic properties.

    253 GitHub stars~798 tokensUpdated 1 mo ago
    Auto-check passed
  • Reproduction Trace Instrumenter

    ArabelaTso/Skills-4-SE

    Instruments programs to capture execution traces specifically for reproducing reported bugs, enabling consistent replay and diagnosis of failures.

    253 GitHub stars~2.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Spring Mvc To Boot Migrator

    ArabelaTso/Skills-4-SE

    Automatically migrate Spring MVC applications to Spring Boot.

    253 GitHub stars~2.2k tokensUpdated 1 mo ago
    Auto-check passed
  • State Snapshot Instrumenter

    ArabelaTso/Skills-4-SE

    Instrument programs (Python, C/C++, Java) to capture snapshots of key program states at runtime, including variables, memory, and call stacks.

    253 GitHub stars~2.2k tokensUpdated 1 mo ago
    Auto-check passed

Categories

Questions about Cve Reachability Analyzer

What does Cve Reachability Analyzer do?

Analyze CVE reachability in software repositories by examining how vulnerable dependencies are imported and used. Cve Reachability Analyzer is an agent skill from ArabelaTso/Skills-4-SE. Analyze CVE reachability in software repositories by examining how vulnerable dependencies are imported and used.

When should I use Cve Reachability Analyzer?

Cve Reachability Analyzer fits situations like: analyzing security vulnerabilities in dependencies; performing post-disclosure CVE triage; assessing vulnerability impact; users ask to analyze CVE reachability.

How do I install Cve Reachability Analyzer in Claude Code?

Run `npx skills add ArabelaTso/Skills-4-SE --skill cve-reachability-analyzer -a claude-code`. Or copy the skill folder (skills/cve-reachability-analyzer in ArabelaTso/Skills-4-SE) into .claude/skills/cve-reachability-analyzer in your project. Claude Code loads it when a task matches its description.

How do I install Cve Reachability Analyzer in Codex?

Run `npx skills add ArabelaTso/Skills-4-SE --skill cve-reachability-analyzer -a codex`. Or copy the skill folder (skills/cve-reachability-analyzer in ArabelaTso/Skills-4-SE) into .agents/skills/cve-reachability-analyzer in your project. Codex loads it when a task matches its description.

Can I use Cve Reachability Analyzer in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ArabelaTso/Skills-4-SE --skill cve-reachability-analyzer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cve-reachability-analyzer, .gemini/skills/cve-reachability-analyzer, .github/skills/cve-reachability-analyzer and .opencode/skills/cve-reachability-analyzer in your project.

What does Cve Reachability Analyzer need to run?

SKILL.md names no scripts, command-line tools or credentials: Cve Reachability Analyzer is instructions for the agent only.

Does Cve Reachability Analyzer access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Cve Reachability Analyzer safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Cve Reachability Analyzer use?

Cve Reachability Analyzer is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cve Reachability Analyzer use?

About 3.1k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 6.1k tokens, read only when the agent opens those files.

What are the alternatives to Cve Reachability Analyzer?

Skills that share tags, products or a category with Cve Reachability Analyzer: Deepsec Documentation Guide (vercel-labs/deepsec, 8.1k stars), Shiro Attack CLI (SummerSec/ShiroAttack2, 2.6k stars), Cve Remediation (rundeck/rundeck, 6.3k stars) and Native Dependency Update (mono/SkiaSharp, 5.6k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cve Reachability Analyzer?

ArabelaTso (a GitHub user) maintains it in ArabelaTso/Skills-4-SE, which has 253 GitHub stars. The repository holds 170 skills in this directory. The repository was last updated on August 21, 2026.

Source: ArabelaTso/Skills-4-SE on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.