vex-author
БесплатноБез исполняемых скриптовНе проверенUse when a scanner flags a CVE that analysis shows is not exploitable in your product, and a machine-readable assertion is needed instead of deleting the…
от testland★ 18 звёзд на GitHubОб этом скилле
vex-author
Overview
Per github.com/openvex/spec, OpenVEX is a minimal implementation of the Vulnerability Exploitability eXchange (VEX) standard. A VEX document carries statements that assert the exploitability status of a CVE against a specific product, allowing downstream consumers to suppress false positives while preserving the audit trail.
A downstream vulnerability-prioritization step reads a .openvex.json file
and moves findings with vex_status: not_affected to the Filtered-VEX
bucket: not blocking the build, but still surfaced in the report. A
not_affected assertion without a populated justification is rejected as
unverified.
When to use
- A scanner reports a CVE against a package present in the image, but the vulnerable code path is not reachable in production (e.g. a CLI flag that is never passed, a library function that is never called).
- A CVE is fixed in a newer patch but your vendor ships an older version with the fix backported - the package version string still triggers scanner hits.
- You need to attach a machine-readable exploitability assertion to a container image for downstream consumers (SBOM attestation pipeline, compliance audit).
- You are accumulating VEX statements from multiple sub-teams into a single document to pass to a vulnerability-prioritization step.
Do not use VEX as a waiver mechanism for CVEs in CISA KEV; a conformant
prioritization step refuses not_affected on KEV entries regardless of
justification.
Step 1 - Install vexctl
Per github.com/openvex/vexctl:
# Go
go install github.com/openvex/vexctl@latest
# Homebrew
brew install vexctl
Verify:
vexctl version
Step 2 - Understand the statement model
Per github.com/openvex/spec/blob/main/OPENVEX-SPEC.md, an OpenVEX document wraps an array of statements. Each statement has:
| Field | Required | Notes |
|---|---|---|
vulnerability.name |
yes | CVE-ID or GHSA-ID |
products[].@id |
yes | Package URL (purl) identifying the component |
status |
yes | not_affected / affected / fixed / under_investigation |
justification |
yes for not_affected |
One of five codes (see Step 3) |
impact_statement |
alt for not_affected |
Free-form prose if no justification code fits |
action_statement |
optional for affected |
Remediation description |
status_notes |
optional | Supporting detail for any status |
Document-level required fields per vex-spec-md:
@context (https://openvex.dev/ns/v0.2.0), @id, author, timestamp,
version (integer, incremented on any content change), statements.
Step 3 - Choose the right justification code
Per vex-spec-md, the five justification codes for not_affected:
| Code | When to use |
|---|---|
component_not_present |
The component containing the vulnerable code is not included in the product at all |
vulnerable_code_not_present |
The component is present but the vulnerable code was excluded via configuration or build flags |
vulnerable_code_not_in_execute_path |
The vulnerable code exists but cannot be reached during normal execution |
vulnerable_code_cannot_be_controlled_by_adversary |
The vulnerable code can run but adversary input cannot reach it |
inline_mitigations_already_exist |
Built-in protections prevent exploitation (e.g. RELRO, stack canaries, vendor backport) |
If none of the five codes accurately describes the determination, omit
justification and supply impact_statement with a precise technical
explanation instead. The prioritization step accepts either field as evidence
of analysis.
Step 4 - Author a not_affected assertion
Per vexctl:
vexctl create \
--author="[email protected]" \
--product="pkg:oci/my-app@sha256:abc123" \
--vuln="CVE-2024-9999" \
--status="not_affected" \
--justification="vulnerable_code_not_in_execute_path" \
> sbom.openvex.json
The generated document looks like:
{
"@context": "https://openvex.dev/ns/v0.2.0",
"@id": "https://openvex.dev/docs/public/vex-...",
"author": "[email protected]",
"timestamp": "2026-06-04T10:00:00Z",
"version": 1,
"statements": [
{
"vulnerability": { "name": "CVE-2024-9999" },
"products": [{ "@id": "pkg:oci/my-app@sha256:abc123" }],
"status": "not_affected",
"justification": "vulnerable_code_not_in_execute_path"
}
]
}
Use a precise purl that matches the package value in the prioritization
step's ContainerFinding records; a mismatch on version or arch will cause the
affect.ref.endsWith(f['package']) check to miss.
Step 5 - Add statements to an existing document
Per vexctl, merge multiple single-statement files into one document:
Установить vex-author в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл vex-author?
Use when a scanner flags a CVE that analysis shows is not exploitable in your product, and a machine-readable assertion is needed instead of deleting the finding. Writes and validates OpenVEX statements (not_affected, affected, fixed, under_investigation) with vexctl and attaches them to images.
Как установить скилл vex-author?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл vex-author запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic