一键导入
cve-audit
Audit exact npm dependency versions against OSV and emit a reproducible evidence packet with zero unverified findings.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Audit exact npm dependency versions against OSV and emit a reproducible evidence packet with zero unverified findings.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Governed runtime for agent skills: discover and install portable skills, run bounded skill graphs with explicit authority, and inspect signed receipts for what happened.
Audit a sealed runx receipt for governance, comparing the authority a run exercised against what it was granted, and flag over-reach, ungated mutation, unrecorded refusals, or exposed secret material.
Verify the receipt ids behind a normalized authority-usage summary, compare that evidence with granted scopes, and propose the narrowest grant the evidence supports.
Answer a cross-run audit question against the receipt ledger, returning matched receipts and a chain-verification result.
Read durable reflect projections, group repeated signals by skill, and emit validated handoffs to skill-lab improve when the evidence clears configured floors.
Review receipts and harness failures to propose bounded skill improvements.
| name | cve-audit |
| description | Audit exact npm dependency versions against OSV and emit a reproducible evidence packet with zero unverified findings. |
| source | {"type":"cli-tool","command":"node","args":["scan.mjs","core.mjs"],"timeout_seconds":120,"sandbox":{"profile":"network","cwd_policy":"skill-directory","network":true,"require_enforcement":false}} |
| inputs | {"target_name":{"type":"string","required":true,"description":"Human-readable name of the audited project."},"target_repo":{"type":"string","required":true,"description":"Public source repository URL."},"target_commit":{"type":"string","required":true,"description":"Full immutable Git commit containing the lockfile."},"lockfile_url":{"type":"string","required":true,"description":"Public HTTPS package-lock.json URL pinned to target_commit."},"dependency_scope":{"type":"string","required":false,"default":"direct-production","description":"direct-production or all-installed."}} |
| runx | {"category":"security","tags":["cve","dependencies","osv"],"artifacts":{"named_emits":{"audit_result":"audit_result","report":"report","evidence":"evidence"}}} |
| links | {"source":"https://github.com/jaasieldelgado131/runx-exact-cve-audit","registry":"https://runx.ai/x/jaasieldelgado131/cve-audit","advisory_source":"https://osv.dev"} |
This skill audits exact npm versions from an immutable package-lock.json
against the public OSV API. It emits a machine-readable audit result,
evidence.json, and a finding-by-finding Markdown report. The governed graph in
X.yaml independently replays every query and seals a delivery packet only
when the reported and replayed advisory sets match exactly.
It does not install dependencies, execute target code, mutate the target repository, repair packages, or publish vulnerability claims.
Use it when a reviewer needs checkable evidence for the advisories affecting the exact npm versions in a public, immutable lockfile. It is suitable for dependency review, release triage, and reproducible security evidence where a package-name-only or loose-range match would create false positives.
Do not use it for a mutable branch URL, a manifest without exact installed
versions, a private lockfile without explicit read authority, non-npm
ecosystems, exploit development, or claims about transitive coverage when the
selected scope is direct-production. Do not treat missing OSV data as proof
that a package is safe.
target_name: display name for the audited project.target_repo: public HTTPS source repository.target_commit: full 40-character immutable Git commit.lockfile_url: public HTTPS lockfile URL containing that commit.dependency_scope: direct-production by default, or all-installed.The caller authorizes only public reads of the pinned lockfile and OSV. No credential, token, local project file, or private payload is an accepted input.
{ ecosystem: npm, package, version } for every inventory
entry. Exclude withdrawn advisories.needs_input when the target, commit, or lockfile evidence is not
immutable enough to support reproducible review.The scan emits:
{
"audit_result": {
"schema": "runx.security.exact_cve_audit.v1",
"target": {
"repo": "https://github.com/owner/repo",
"commit": "40-character hash",
"lockfile_sha256": "64-character digest"
},
"dependency_scope": "direct-production",
"inventory": [],
"findings": [],
"result": {
"exact_dependencies_queried": 0,
"advisory_findings": 0,
"source": "OSV"
}
},
"report": {
"schema": "runx.security.exact_cve_report.v1",
"markdown": "# Exact CVE audit: ...",
"markdown_sha256": "64-character digest"
},
"evidence": {
"summary": "human-readable audit summary",
"observations": []
}
}
The graph adds verification and delivery packets to a sealed runx.receipt.v1
graph receipt with child receipt lineage. The audit remains read-only: it does
not write unmanaged files into the target workspace or installed skill.
For OWASP NodeGoat at commit
c5cb68a7084e4ae7dcc60e6a98768720a81841e8, the checked-in harness reads the
pinned lockfile, audits 16 exact direct production versions, reports the OSV
advisories returned for those versions, and independently requires zero false
and zero missing hits before sealing.
The second harness case audits the repository's immutable clean fixture at
commit 83d554f904f9f73bd26ce9c15e3786ba7d62b1de. It verifies that an exact
dependency with no OSV advisory produces zero findings while still completing
the independent replay and sealed-receipt path.
If the same request points at main/package-lock.json, validation returns a
needs-input failure because the lockfile is mutable and does not contain the
declared immutable commit. No audit or receipt is presented as complete.