Cve Env — Security skill for Claude Code
Agentic CVE → Docker environment builder: given a CVE ID, builds and verifies a Docker environment running the affected application at its pre-patch version.
How to install Cve Env
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open gadievron/cve-env and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Cve Env does
Agentic CVE → Docker environment builder: given a CVE ID, builds and verifies a Docker environment running the affected application at its pre-patch version.
Alternatives in Security
- FastAPI Review — Review a FastAPI application for architecture, async correctness, dependency injection, Pydantic schemas, secu 243.5k ★
- OpenTag — Open-source, channel-native agent gateway for Slack 499 ★
- Dotclaude — A comprehensive development environment with specialized AI agents for code review, security analysis, and tec 435 ★
README
cve-env
**Agentic CVE → Docker environment builder.**
Given a CVE ID, cve-env builds a Docker environment running the affected application at its pre-patch version and verifies the build is correct. The agent researches each CVE live (NVD + OSV + GitHub + container registries) and picks its own build path.
Version: 1.0 beta Author: Gadi Evron (@gadievron)
What `success` means
`status="success"` requires **both**:
- Right version — a version-assertion
exec_check(pip show,dpkg -l,openssl version,find / -name '*.jar', …) proving the deployed binaries fall in the CVE's affected range. - Working app — functional-smoke checks proving normal operation on benign input (e.g. HTTP
GET /+ a content match, or aSELECT 1roundtrip for a database).
If verify runs but that evidence is incomplete, the runtime records the honest fallback `verified_partial` instead. cve-env's job ends at a correct, working environment — it builds and verifies; it does not assess or attempt the vulnerability.
Every build runs in a hardened container: `--cap-drop ALL`, `--security-opt no-new-privileges:true`, ports bound to `127.0.0.1` only.
Requirements
- Python 3.12+ and uv
- A Docker daemon reachable via
dockeronPATH. Developed and tested against Colima; any Docker-compatible daemon (Docker Desktop, OrbStack, rootless Docker) should work but is untested - The
claudeCLI, logged in — cve-env authenticates through your existing Claude Code session viaclaude-agent-sdk. NoANTHROPIC_API_KEYis consumed.
Install
git clone && cd cve-env
uv sync
Quick start
# Build + verify one CVE (prints a per-stage report at the end)
uv run cve-env build CVE-2014-0160
# Probe external services (NVD, OSV, GitHub, Docker Hub, registries)
uv run cve-env doctor
Per-CVE audit traces (every tool call, result, and cost) are written to `output/agentic//
Related Skills
Compat Audit
On-demand Claude Code compatibility and feature parity report — compares installed version against the breakpo
Review Iac Consistency
Audit infrastructure-as-code for per-environment drift, over-permissive IAM policies, unencrypted resources, a
Cve Diff
CVE patch discovery — find, acquire, and diff the fix commit for a CVE
Zp Cve
Known-CVE check - version fingerprint to confirmed finding, backed by KEV and the local exploit corpora. Usage
Vuln Scan
Multi-agent security vulnerability sweep — fans out region-scoped hunters, verifies findings, and reports
Gse Meta Audit Fix
Post-audit fix session for the GSE-One methodology repository. Consumes the canonical registry _LOCAL/audit/au
Related Agents
Env Detective
Confirmation phase V2 environment discovery agent that scans the target repository for application startup met
Kavach Env Detective
KAVACH live-validation environment discovery specialist. Scans the target repository for every way to build, r
Shared Package Agent
Conditionally-invoked pre-implementation gate for changes touching shared/, Common/, or Kernel/ directories —