Agent skill

Attack Path Analysis

by vlinx-io in vlinx-io/VelaTerm

A skill your agent uses when Codex is already in the attack-path-analysis phase of a security scan or the user explicitly asks to trace a security finding from source to sink and calibrate severity.

MITAuto-check passedSecurity

Install Attack Path Analysis

skills CLI
$ npx skills add vlinx-io/VelaTerm --skill attack-path-analysis -a claude-code

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

GitHub CLI
$ gh skill install vlinx-io/VelaTerm attack-path-analysis --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/vlinx-io/VelaTerm.git skills-src && mkdir -p .claude/skills && cp -r skills-src/src-tauri/resources/codex-security/skills/attack-path-analysis .claude/skills/attack-path-analysis && 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
attack-path-analysis
GitHub stars
270
Used in
1 other repo
Token cost
~2.1k tokens
SKILL.md length
1,074 words
Files
4 (incl. references)
Skills in repo
26
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when Codex is already in the attack-path-analysis phase of a security scan or the user explicitly asks to trace a security finding from source to sink and calibrate severity.

  • Works in 8 steps: Load the per-scan threat model path from… → Determine whether the affected code is… → Build a factual attack path using… → …
  • Codex is already in the attack-path-analysis phase of a security scan
  • SKILL.md covers Objective, Artifact Resolution, Workflow and Scope and Attack Path Checklist, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Attack Path Analysis is an agent skill from vlinx-io/VelaTerm. Use when Codex is already in the attack-path-analysis phase of a security scan or the user explicitly asks to trace a security finding from source to sink and calibrate severity. Do not use as the primary trigger for full PR, commit, branch, patch, or repository scans.

Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including reference files (for example `agents/openai.yaml`, `references/attack-path-facts.md` and `references/severity-policy.md`).

It sits in Security, covering Security review. The repository describes itself as: VelaTerm = Codex + iTerm2, The Best ADE for AI Coding. The licence is MIT.

When your agent uses it

  • Codex is already in the attack-path-analysis phase of a security scan
  • The user explicitly asks to trace a security finding from source to sink and calibrate severity
  • Repository scans

Example prompts

  • “/attack-path-analysis”

Workflow steps

8 steps, taken from the first numbered list in SKILL.md.

  1. Load the per-scan threat model path from ../../references/scan-artifacts.md as the repo-specific threat-model source of truth. Start from…
  2. Determine whether the affected code is in scope for the repository threat model and whether it belongs to a product surface or production…
  3. Build a factual attack path using repository evidence only
  4. Before finalizing scope or reportability-driving facts, identify the strongest repository counterevidence against the key scoping fields…
  5. Calibrate impact and likelihood from the repository evidence.
  6. Apply a separate final policy-adjustment pass mechanically using those facts and the calibrated severity.
  7. Record final policy decision ignore explicitly; in compact diff mode, retain its candidate record for coverage, and otherwise drop it from…
  8. For a durable diff scan, submit the nested decision for every eligible candidate in the single compact tool call. Otherwise, save that…

What it can do on your machine

Read from SKILL.md and the folder at commit 98b5f2f. 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.

    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

Attack Path Analysis loads about 2.1k tokens when it runs, and up to ~6.7k if it reads all its reference files. Until then it costs about 73 tokens; SKILL.md has 1,074 words of instructions outside code blocks.

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

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 vlinx-io/VelaTerm at commit 98b5f2f, republished under its MIT licence (© vlinx-io). 1,074 words, ~2,111 tokens.

Download SKILL.mdSave it as .claude/skills/attack-path-analysis/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.
name
attack-path-analysis
description
Use when Codex is already in the attack-path-analysis phase of a security scan or the user explicitly asks to trace a security finding from source to sink and calibrate severity. Do not use as the primary trigger for full PR, commit, branch, patch, or repository scans.

Security Attack Path Analysis

Objective

Turn validated or still-plausible findings into explicit attacker stories, structured attack-path analysis facts, severity calibration, and a final reportability decision grounded in the threat model.

Artifact Resolution

The path references in this skill are the default locations for this phase. If the user explicitly provides a different path for a required input or output, use the user-provided path instead of the corresponding default path referenced in this skill. If a required input is still missing, stop and ask the user for it before continuing. Use the shared scan artifact path conventions in ../../references/scan-artifacts.md.

Standard scans and Deep Scan workers assess attack paths within their ordinary Standard scan workflow; neither invokes this separate phase skill.

Compact Workbench-Backed Diff Mode

When a workbench-backed $security-diff-scan has a scanId, load the per-scan threat model and read the validated candidates with list_codex_security_candidates({ scanId, cursor?, limit? }). Analyze every reportable or deferred candidate, preserve every discovery and validation field and the original candidate order, and submit all decisions together with one record_candidate_attack_paths({ scanId, attackPaths: [{ candidateId, attackPath }] }) call. Submit attackPaths: [] when no candidate enters this phase. The existing tool atomically updates the stored candidates; do not create per-finding reports, receipts, or manual candidate ledgers in this compact diff mode. Keep attack-path facts, counterevidence, severity calibration, and policy adjustment as separate reasoning steps. Other scan and standalone workflows retain their existing artifact behavior.

Workflow

  1. Load the per-scan threat model path from ../../references/scan-artifacts.md as the repo-specific threat-model source of truth. Start from this along with the potential findings. Both inputs are required for this workflow.
    • For repository-wide and scoped-path scans, include validation closure rows marked reportable or survives: yes even if they were not assigned polished candidate numbers during discovery.
  2. Determine whether the affected code is in scope for the repository threat model and whether it belongs to a product surface or production workflow.
  3. Build a factual attack path using repository evidence only:
    • service mapping
    • exposure and entry points
    • identity, privilege, and trust boundaries
    • secrets handling and sensitive-data flow
    • reachability
    • existing controls and mitigations
  4. Before finalizing scope or reportability-driving facts, identify the strongest repository counterevidence against the key scoping fields and explain why it is or is not dispositive.
  5. Calibrate impact and likelihood from the repository evidence.
  6. Apply a separate final policy-adjustment pass mechanically using those facts and the calibrated severity.
  7. Record final policy decision ignore explicitly; in compact diff mode, retain its candidate record for coverage, and otherwise drop it from the surviving finding set.
  8. For a durable diff scan, submit the nested decision for every eligible candidate in the single compact tool call. Otherwise, save that finding's visible attack-path report and append one attack-path receipt per candidate id at the default paths from ../../references/scan-artifacts.md. The receipt must record the candidate id, attack-path reportability decision, attack-path facts or exact proof gap, and attack-path artifact/report reference for that candidate finding.

Scope and Attack Path Checklist

Use this checklist before finalizing the attack-path facts or policy decision:

  • Determine whether the finding is actually a real security vulnerability rather than a correctness bug or false positive.
  • Determine whether the affected code belongs to a product surface or production workflow.
  • Map the relevant service, component, or workflow context from repository evidence.
  • Establish exposure and entry points from repository evidence such as listeners, ingress, load balancers, service ports, manifests, routing, or network policy.
  • Establish identities, privileges, and trust boundaries that matter for the path.
  • Establish whether sensitive data, secrets references, or privileged control paths are involved.
  • Determine whether a realistic attacker can actually reach and use the issue from an in-scope attack surface.
  • Identify the strongest repository counterevidence against the scoping and reportability-driving fields before finalizing them.
  • Lower confidence or keep fields unknown when repository evidence is incomplete; do not automatically suppress a finding solely because deployment evidence is missing.
Show full SKILL.md (435 more words)Show less

Counterevidence Checklist

For the most interpretive fields, explicitly ask what repository evidence suggests the opposite and why it does or does not defeat the finding:

  • In-Scope Status According to the Threat Model
  • Vector
  • Auth Scope
  • Exposure
  • Cross-Boundary Behavior
  • Preconditions
  • Impact Surface

Look specifically for repository evidence that the path is:

  • out of scope
  • internal-only
  • admin-only
  • not cross-boundary
  • not attacker-reachable
  • not meaningfully reportable

Severity and Policy Checklist

Apply severity and policy calibration using references/severity-policy.md.

Output Contract

In compact diff mode, every candidate with validation disposition reportable or deferred must receive exactly one nested attack-path decision. The recorded decisions are the complete phase output; do not also create narrative reports or receipts. Otherwise, use the following report contract.

For each surviving finding include:

  • title
  • candidate id, instance key, and ledger row id when provided
  • affected lines from validation, preserving labeled entrypoint/wrapper, root_control, sink, and concrete_implementation locations
  • attack path steps
  • rendered attack-path facts
  • counterevidence summary and challenges
  • severity calibration
  • final policy decision
  • enough reasoning that a later reader can understand why the finding survived or was suppressed

Render attack-path facts using references/attack-path-facts.md.

Hard Rules

  • Use repository evidence and explicitly supplied context. Access the network only when the user has expressly authorized that access; an offline scan never accesses the network.
  • Do not invent attack chains that the code does not support.
  • Do not leave candidate coverage implicit. In compact diff mode, record a nested attack-path decision for every eligible candidate, even when the final policy decision is ignore or deferred. Otherwise, every candidate that reaches attack-path analysis must leave an attack-path receipt in its candidate-ledger path from ../../references/scan-artifacts.md.
  • Do not drop exact affected locations while converting validated findings into attack paths. Repository-wide seeded/root-control rows that survive validation must keep their root-control file:line even when a wrapper, route, or transport is easier to explain.
  • Do not skip a reportable validation row because a neighboring same-family finding has a cleaner story. Either produce attack-path facts for that exact row or make an explicit final policy decision with repository counterevidence.
  • Missing public-ingress evidence is not by itself dispositive counterevidence.
  • Keep attack-path analysis, severity calibration, and final policy suppression as separate sub-stages.
  • Use the final policy-adjustment matrix mechanically rather than re-arguing severity from scratch after the facts are set.
  • Outside compact diff mode, save a final visible report for each candidate finding using that finding's attack-path analysis report path from ../../references/scan-artifacts.md.

-- Considerations for attack path --

  • A bug matters if evidence shows an attacker could exploit it.
  • The attack surface should generally be one that is plausibly exposed to end users / external actors (or another actor explicitly in scope in the threat model).

© vlinx-io, MIT. 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 src-tauri/resources/codex-security/skills/attack-path-analysis of vlinx-io/VelaTerm.

  • SKILL.md
  • agents/openai.yaml
  • references/attack-path-facts.md
  • references/severity-policy.md

Open the folder on GitHubat commit 98b5f2f

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in vlinx-io/VelaTerm, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Attack Path Analysis 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.

Attack Path Analysis compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Attack Path Analysis this skillvlinx-io/VelaTerm2701 repos~2.1kAutomated safety check: PassMIT
Deepsec Documentation Guidevercel-labs/deepsec8.1k—~956Automated safety check: PassApache-2.0
Kubernetes Network Security Auditkubeshark/kubeshark12k—~7.3kAutomated safety check: NotesApache-2.0
Agentlas Security Scanagentlas-ai/Agentlas-OS1.6k1 repos~822Automated safety check: PassApache-2.0
Native Dependency Updatemono/SkiaSharp5.6k—~4.1kAutomated safety check: PassMIT
Semgrep Security Scantrailofbits/skills7.4k—~3.7kAutomated safety check: NotesCC-BY-SA-4.0

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 9 days ago
    SecurityAuto-check passed
  • Hunts for compromised workloads and malicious traffic in a Kubernetes cluster by sweeping network data through Kubeshark MCP, mapped to MITRE ATT&CK.

    12k GitHub stars~7.3k tokensUpdated yesterday
    SecurityAuto-check: notes
  • Agentlas Security Scan

    agentlas-ai/Agentlas-OS

    A skill your agent uses when an agent folder must pass the Agentlas Cloud 2-stage security scan (static rules + BYOK LLM judgment) before private sync or public publish, or when asked to…

    1.6k GitHub starsUsed in 1 repo~822 tokens
    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
  • Semgrep Security Scan

    trailofbits/skills

    Official

    Detects languages, proposes rulesets for approval, then runs the approved Semgrep scan across a codebase and merges the output into one SARIF file.

    7.4k GitHub stars~3.7k tokensUpdated yesterday
    SecurityAuto-check: notes
  • Skillward Audit

    Fangcun-AI/SkillWard

    Security-audit a third-party skill bundle (folder with SKILL.md, or .zip / .tar.gz archive) before installing it, using the SkillWard cloud scanner.

    143 GitHub stars~2.9k tokensUpdated 2 mo ago
    SecurityAuto-check passed

More from vlinx-io/VelaTerm

All 26 skills in this repo
  • Assess Patch Risk

    vlinx-io/VelaTerm

    Assess an immutable patch artifact's program impact, regression risk, and auto-merge eligibility.

    270 GitHub stars~2.1k tokensUpdated yesterday
    Auto-check passed
  • Vspawn

    vlinx-io/VelaTerm

    Explicitly spawn a standalone child session under the current vlx-term session, passing the task in as its first message (mirrors spawntask).

    270 GitHub stars~2.5k tokensUpdated yesterday
    Auto-check passed
  • Deep Security Scan

    vlinx-io/VelaTerm

    A skill your agent uses when the user asks for a deep, exhaustive, multi-pass, or variance-reducing repository-wide or scoped-path Codex Security scan.

    270 GitHub stars~3.3k tokensUpdated yesterday
    Auto-check passed
  • Define Security Policy

    vlinx-io/VelaTerm

    Define, review, or update SECURITY.md guidance for a repository or component.

    270 GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed
  • Track Findings

    vlinx-io/VelaTerm

    Track validated Codex Security findings in Linear, Jira, GitHub issues, or draft GitHub security advisories.

    270 GitHub stars~5.1k tokensUpdated yesterday
    Auto-check passed
  • Verify Fix

    vlinx-io/VelaTerm

    Use only when the user explicitly requests verification that a security fix remediates a reported vulnerability.

    270 GitHub stars~757 tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Attack Path Analysis

What does Attack Path Analysis do?

A skill your agent uses when Codex is already in the attack-path-analysis phase of a security scan or the user explicitly asks to trace a security finding from source to sink and calibrate severity. Attack Path Analysis is an agent skill from vlinx-io/VelaTerm. Use when Codex is already in the attack-path-analysis phase of a security scan or the user explicitly asks to trace a security finding from source to sink and calibrate severity.

When should I use Attack Path Analysis?

Attack Path Analysis fits situations like: Codex is already in the attack-path-analysis phase of a security scan; the user explicitly asks to trace a security finding from source to sink and calibrate severity; repository scans.

How do I install Attack Path Analysis in Claude Code?

Run `npx skills add vlinx-io/VelaTerm --skill attack-path-analysis -a claude-code`. Or copy the skill folder (src-tauri/resources/codex-security/skills/attack-path-analysis in vlinx-io/VelaTerm) into .claude/skills/attack-path-analysis in your project. Claude Code loads it when a task matches its description.

How do I install Attack Path Analysis in Codex?

Run `npx skills add vlinx-io/VelaTerm --skill attack-path-analysis -a codex`. Or copy the skill folder (src-tauri/resources/codex-security/skills/attack-path-analysis in vlinx-io/VelaTerm) into .agents/skills/attack-path-analysis in your project. Codex loads it when a task matches its description.

Can I use Attack Path Analysis 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 vlinx-io/VelaTerm --skill attack-path-analysis -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/attack-path-analysis, .gemini/skills/attack-path-analysis, .github/skills/attack-path-analysis and .opencode/skills/attack-path-analysis in your project.

What does Attack Path Analysis need to run?

SKILL.md names no scripts, command-line tools or credentials: Attack Path Analysis is instructions for the agent only.

Does Attack Path Analysis 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 Attack Path Analysis 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 Attack Path Analysis use?

Attack Path Analysis is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Attack Path Analysis use?

About 2.1k tokens (SKILL.md is roughly 8.4k 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 4.5k tokens, read only when the agent opens those files.

What are the alternatives to Attack Path Analysis?

Skills that share tags, products or a category with Attack Path Analysis: Deepsec Documentation Guide (vercel-labs/deepsec, 8.1k stars), Kubernetes Network Security Audit (kubeshark/kubeshark, 12k stars), Agentlas Security Scan (agentlas-ai/Agentlas-OS, 1.6k 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 Attack Path Analysis?

vlinx-io (a GitHub user) maintains it in vlinx-io/VelaTerm, which has 270 GitHub stars. The repository holds 26 skills in this directory. The repository was last updated on October 7, 2026.

Source: vlinx-io/VelaTerm on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.