@blamejs/exceptd-skills 0.12.31 → 0.12.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/bin/exceptd.js +68 -12
- package/data/_indexes/_meta.json +6 -6
- package/data/_indexes/activity-feed.json +2 -2
- package/data/_indexes/catalog-summaries.json +2 -2
- package/data/_indexes/chains.json +869 -46
- package/data/_indexes/frequency.json +9 -0
- package/data/cve-catalog.json +18 -18
- package/data/cwe-catalog.json +31 -22
- package/data/framework-control-gaps.json +331 -6
- package/data/zeroday-lessons.json +580 -0
- package/manifest-snapshot.json +1 -1
- package/manifest-snapshot.sha256 +1 -1
- package/manifest.json +44 -44
- package/package.json +1 -1
- package/sbom.cdx.json +18 -18
- package/scripts/refresh-reverse-refs.js +63 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.12.32 — 2026-05-15
|
|
4
|
+
|
|
5
|
+
Cycle 11 CLI polish + cycle 12 catalog hardening. The headline closes a silent regression where the 6 CVEs advertised by v0.12.31 were shipped as `_draft: true` and therefore invisible to default `cross-ref-api` queries — operators running `exceptd` against Exchange would have gotten a clean bill on CVE-2026-42897.
|
|
6
|
+
|
|
7
|
+
### Bugs
|
|
8
|
+
|
|
9
|
+
**6 CVEs from v0.12.31 promoted from draft to non-draft.** Cycle 12 audit caught the regression: every CVE in cycle 11's intake shipped as `_draft: true`, which `lib/cross-ref-api.js` skips by default. v0.12.31 CHANGELOG advertised "6 new CISA-KEV CVEs" but operators couldn't actually query them. All 6 promoted with `_editorial_promoted: 2026-05-15` provenance; full required fields validated (iocs, vendor_advisories, verification_sources, complexity, affected_versions, RWEP Shape B invariant).
|
|
10
|
+
|
|
11
|
+
**9 unmatched `framework_control_gaps` keys on the new CVEs now resolve.** `NIS2-Art21-vulnerability-management`, `DORA-Art-9`, `NIST-800-53-AC-3`, `OWASP-LLM-Top-10-2025-LLM05`, `NIST-800-53-AC-6`, `NIS2-Art21-identity-management`, `ISO-27001-2022-A.8.7`, `NIST-800-53-SC-44`, `CIS-Controls-v8-10.1` — referenced by the new CVEs but absent from the framework-gap catalog. All 9 now present with `theater_test` blocks (catalog 109 → 118 entries). Reverse `evidence_cves` links also added on the 6 existing entries (NIST-800-53-SI-2 / SI-3 / etc.) that the new CVEs reference.
|
|
12
|
+
|
|
13
|
+
**CVE → CWE reverse-references auto-regenerated.** Cycle 9 introduced `npm run refresh-reverse-refs` for the skill direction (manifest → atlas/cwe/d3fend/rfc), but the CWE catalog's `evidence_cves` field — the operator-facing "which CVEs map to this CWE" index — was still hand-maintained and drifted with every CVE intake. The script now also walks `cve.cwe_refs` → `cwe.evidence_cves`. Drafts excluded (they're invisible to default consumers; the reverse direction tracks operator-queryable truth). 14 CWE entries updated on first run. New `tests/reverse-ref-drift.test.js` test pins the contract.
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
**`exceptd help <verb>`** now routes to the per-verb help text (`exceptd help run` returns the run-verb help, not the top-level banner). Pre-fix the verb arg was silently dropped. Unknown verbs fall through to top-level help with a stderr note. New `tests/help-verb-attest-list-deprecation.test.js` pins the contract.
|
|
18
|
+
|
|
19
|
+
**`exceptd attest list` empty-state now names every candidate root.** Pre-fix the human output said "(no attestations under )" with an empty path list when no `.exceptd/` directory existed. New `roots_evaluated[]` field on the JSON output + `[scanned-empty]` / `[not-present]` markers in the human renderer.
|
|
20
|
+
|
|
21
|
+
**Legacy-verb deprecation banner auto-suppresses across invocations.** Pre-fix the per-process env-var guard reset on every fresh node process, so operators saw the banner on every `exceptd plan` invocation. Now persists suppression via an OS-tempdir marker keyed by exceptd version — banner shows once per version per host, re-shows on upgrade. Explicit `EXCEPTD_DEPRECATION_SHOWN=1` still suppresses even the first display.
|
|
22
|
+
|
|
23
|
+
### Internal
|
|
24
|
+
|
|
25
|
+
- 6 matching `data/zeroday-lessons.json` entries authored for the promoted CVEs (rule #6 enforcement: zero-day learning is live for every non-draft catalog entry).
|
|
26
|
+
- Test count 1099 → 1109 (10 new tests across F4/F5/F7 + reverse-ref drift extension + Shape B canonicalization staying green).
|
|
27
|
+
- 14/14 predeploy gates green.
|
|
28
|
+
|
|
29
|
+
|
|
3
30
|
## 0.12.31 — 2026-05-15
|
|
4
31
|
|
|
5
32
|
CLI ergonomics + 30-day CVE intake from the cycle 11 audit. Closes a silent-misrouting bug in the CI gate and adds six high-impact CVEs that landed on CISA KEV between 2026-04-15 and 2026-05-15.
|
package/bin/exceptd.js
CHANGED
|
@@ -400,6 +400,20 @@ function main() {
|
|
|
400
400
|
const rest = argv.slice(1);
|
|
401
401
|
|
|
402
402
|
if (cmd === "help" || cmd === "--help" || cmd === "-h") {
|
|
403
|
+
// Cycle 11 F4 (v0.12.32): `exceptd help <verb>` previously dropped the
|
|
404
|
+
// verb argument and printed the top-level help. Route through the same
|
|
405
|
+
// printPlaybookVerbHelp() that `exceptd <verb> --help` already uses so
|
|
406
|
+
// operators get a consistent verb-specific help surface regardless of
|
|
407
|
+
// which way they reached it.
|
|
408
|
+
if (rest.length > 0 && typeof rest[0] === 'string' && rest[0].length > 0) {
|
|
409
|
+
const verb = rest[0];
|
|
410
|
+
if (printPlaybookVerbHelp(verb)) {
|
|
411
|
+
process.exit(0);
|
|
412
|
+
}
|
|
413
|
+
// Verb not found — emit a one-line note pointing at the top-level
|
|
414
|
+
// help so operators don't silently see the wrong content.
|
|
415
|
+
process.stderr.write(`[exceptd help] no verb-specific help for "${verb}" — falling through to top-level help. Run \`exceptd help\` for the full verb list.\n`);
|
|
416
|
+
}
|
|
403
417
|
printHelp();
|
|
404
418
|
process.exit(0);
|
|
405
419
|
}
|
|
@@ -449,15 +463,31 @@ function main() {
|
|
|
449
463
|
// (plan, govern, direct, look, ingest, reattest, list-attestations).
|
|
450
464
|
if (LEGACY_VERB_REPLACEMENTS[cmd] && !process.env.EXCEPTD_DEPRECATION_SHOWN) {
|
|
451
465
|
const ver = readPkgVersion();
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
);
|
|
466
|
+
// Cycle 11 F7 (v0.12.32): persist the suppression across invocations via
|
|
467
|
+
// an OS-tempdir marker keyed by exceptd version. Pre-fix the env-var
|
|
468
|
+
// guard reset every fresh node process so operators saw the same banner
|
|
469
|
+
// on every `exceptd plan` invocation, even after they'd already read it.
|
|
470
|
+
// Per-version key means a new version (legitimate new content) shows the
|
|
471
|
+
// banner once; subsequent runs within the same version stay quiet. The
|
|
472
|
+
// explicit EXCEPTD_DEPRECATION_SHOWN=1 env-var opt-out still suppresses
|
|
473
|
+
// even the first display, matching the documented contract.
|
|
474
|
+
const markerDir = require("os").tmpdir();
|
|
475
|
+
const markerFile = path.join(markerDir, `exceptd-deprecation-shown-v${ver}`);
|
|
476
|
+
let alreadyShown = false;
|
|
477
|
+
try { alreadyShown = fs.existsSync(markerFile); } catch { /* tmpdir unwritable; degrade to per-process */ }
|
|
478
|
+
if (!alreadyShown) {
|
|
479
|
+
const haveBrief = ver !== "unknown" && ver.match(/^(\d+)\.(\d+)/) && (parseInt(RegExp.$1, 10) > 0 || parseInt(RegExp.$2, 10) >= 11);
|
|
480
|
+
process.stderr.write(
|
|
481
|
+
`[exceptd] DEPRECATION: \`${cmd}\` is a v0.10.x verb. ` +
|
|
482
|
+
(haveBrief
|
|
483
|
+
? `Prefer \`${LEGACY_VERB_REPLACEMENTS[cmd]}\` (available in this install, v${ver}). `
|
|
484
|
+
: `Upgrade to v0.11.0+ then use \`${LEGACY_VERB_REPLACEMENTS[cmd]}\` (currently installed: v${ver}). `) +
|
|
485
|
+
`Legacy verbs remain functional through this release; they will be removed in v0.13. ` +
|
|
486
|
+
`This banner shows once per exceptd version per host (re-shown on upgrade). Permanent suppress: export EXCEPTD_DEPRECATION_SHOWN=1.\n`
|
|
487
|
+
);
|
|
488
|
+
try { fs.writeFileSync(markerFile, `shown_at=${new Date().toISOString()}\nversion=${ver}\n`); }
|
|
489
|
+
catch { /* tmpdir unwritable; the env-var guard below keeps the per-process suppression intact */ }
|
|
490
|
+
}
|
|
461
491
|
process.env.EXCEPTD_DEPRECATION_SHOWN = "1";
|
|
462
492
|
}
|
|
463
493
|
|
|
@@ -1949,7 +1979,15 @@ Flags (selected — see \`exceptd run --help\` for the full list):
|
|
|
1949
1979
|
--bundle-deterministic Emit byte-stable bundles across the multi-run set.
|
|
1950
1980
|
--bundle-epoch <ISO> Frozen epoch for --bundle-deterministic.`,
|
|
1951
1981
|
};
|
|
1952
|
-
|
|
1982
|
+
// Cycle 11 F4 (v0.12.32): return whether a verb-specific help block was
|
|
1983
|
+
// found so the `exceptd help <verb>` caller can decide whether to fall
|
|
1984
|
+
// through to the top-level help (verb unknown) or stop here (verb known).
|
|
1985
|
+
if (cmds[verb]) {
|
|
1986
|
+
process.stdout.write(cmds[verb] + "\n");
|
|
1987
|
+
return true;
|
|
1988
|
+
}
|
|
1989
|
+
process.stdout.write(`${verb} — no per-verb help available; see \`exceptd help\` for the full list.\n`);
|
|
1990
|
+
return false;
|
|
1953
1991
|
}
|
|
1954
1992
|
|
|
1955
1993
|
/**
|
|
@@ -5399,9 +5437,14 @@ function cmdListAttestations(runner, args, runOpts, pretty) {
|
|
|
5399
5437
|
}
|
|
5400
5438
|
// Enumerate sessions across both v0.11.0 default root and legacy cwd-
|
|
5401
5439
|
// relative root, so operators with prior attestations still see them.
|
|
5402
|
-
|
|
5440
|
+
// Cycle 11 F5 (v0.12.32): also track candidate roots that didn't exist
|
|
5441
|
+
// so operators can tell whether the directory was scanned-and-empty or
|
|
5442
|
+
// simply never created. Pre-fix the human output said "(no attestations
|
|
5443
|
+
// under )" with no path — operators couldn't see where the verb looked.
|
|
5444
|
+
const roots = [...new Set([resolveAttestationRoot(runOpts), path.join(process.cwd(), ".exceptd", "attestations")])];
|
|
5403
5445
|
const entries = [];
|
|
5404
5446
|
const seenRoots = new Set();
|
|
5447
|
+
const rootsEvaluated = roots.map(r => ({ root: r, exists: fs.existsSync(r) }));
|
|
5405
5448
|
for (const root of roots) {
|
|
5406
5449
|
if (seenRoots.has(root) || !fs.existsSync(root)) continue;
|
|
5407
5450
|
seenRoots.add(root);
|
|
@@ -5442,11 +5485,24 @@ function cmdListAttestations(runner, args, runOpts, pretty) {
|
|
|
5442
5485
|
count: entries.length,
|
|
5443
5486
|
filter: { playbook: playbookFilter ? [...playbookFilter] : null, since: args.since || null },
|
|
5444
5487
|
roots_searched: [...seenRoots],
|
|
5488
|
+
// Cycle 11 F5 (v0.12.32): every candidate root + whether it existed,
|
|
5489
|
+
// so JSON consumers can distinguish scanned-and-empty from never-created.
|
|
5490
|
+
// The human renderer below also surfaces this rather than printing
|
|
5491
|
+
// "(no attestations under )" with an empty path list.
|
|
5492
|
+
roots_evaluated: rootsEvaluated,
|
|
5445
5493
|
}, pretty, (obj) => {
|
|
5446
5494
|
// v0.11.6 (#95) human renderer for attest list: one row per session.
|
|
5447
5495
|
const lines = [`attest list — ${obj.count} attestation(s)`];
|
|
5448
5496
|
if (obj.count === 0) {
|
|
5449
|
-
|
|
5497
|
+
const evald = obj.roots_evaluated || [];
|
|
5498
|
+
if (evald.length === 0) {
|
|
5499
|
+
lines.push(` (no attestation root resolved; set EXCEPTD_HOME or run from a project with .exceptd/)`);
|
|
5500
|
+
} else {
|
|
5501
|
+
lines.push(` candidate roots evaluated:`);
|
|
5502
|
+
for (const r of evald) {
|
|
5503
|
+
lines.push(` ${r.exists ? '[scanned-empty]' : '[not-present]'} ${r.root}`);
|
|
5504
|
+
}
|
|
5505
|
+
}
|
|
5450
5506
|
return lines.join("\n");
|
|
5451
5507
|
}
|
|
5452
5508
|
lines.push(` ${"session-id".padEnd(20)} ${"playbook".padEnd(16)} ${"captured-at".padEnd(20)} evidence-hash`);
|
package/data/_indexes/_meta.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schema_version": "1.1.0",
|
|
3
|
-
"generated_at": "2026-05-
|
|
3
|
+
"generated_at": "2026-05-16T04:00:50.186Z",
|
|
4
4
|
"generator": "scripts/build-indexes.js",
|
|
5
5
|
"source_count": 54,
|
|
6
6
|
"source_hashes": {
|
|
7
|
-
"manifest.json": "
|
|
7
|
+
"manifest.json": "4fdf61fee00b774deaec5cc6cc8d2241d9f073b3b9ee58e990565f5fe336e342",
|
|
8
8
|
"data/atlas-ttps.json": "259e76e4252c7a56c17bbe96982a5e37ac89131c2d37a547fe38d64dcacfd763",
|
|
9
9
|
"data/attack-techniques.json": "51f60819aef36e960fd768e44dcc725e137781534fbbb028e5ef6baa21defa1d",
|
|
10
|
-
"data/cve-catalog.json": "
|
|
11
|
-
"data/cwe-catalog.json": "
|
|
10
|
+
"data/cve-catalog.json": "f2bb3210f29fecaaedf2fa71ded77b545ad57bfcb36d3e2678b93b6592893b01",
|
|
11
|
+
"data/cwe-catalog.json": "e843729d4d1b688abadeab51ef261f16161eb25b05b7a44f5bc995f60525e089",
|
|
12
12
|
"data/d3fend-catalog.json": "35f076cd65d82ac97db90b72e884ec7ab2895c052567ee7d0c579c1965e6baaf",
|
|
13
13
|
"data/dlp-controls.json": "d2406c482dddd30e49203879999dc4b3a7fd4d0494d6a61d86b91ee76415df19",
|
|
14
14
|
"data/exploit-availability.json": "a9eeda95d24b56c28a0d0178fc601b531653e2ba7dc857160b35ad23ad6c7471",
|
|
15
|
-
"data/framework-control-gaps.json": "
|
|
15
|
+
"data/framework-control-gaps.json": "f88c5757553e3626981546ad1772189c6d40f9ddc24f730def949414cbab9cd0",
|
|
16
16
|
"data/global-frameworks.json": "0168825497e03f079274c9da2e5529310a2ba5bd7c7da7c93acd0b66ed845b8a",
|
|
17
17
|
"data/rfc-references.json": "e253a548c8a829d178d5aea601e268724b85c936ccbfa51c2e5d80c5f8efe2b0",
|
|
18
|
-
"data/zeroday-lessons.json": "
|
|
18
|
+
"data/zeroday-lessons.json": "d9b9c13b0bb5bc18c933b5e2f41c9422c4a2d1f639e20a0f2979f94a2494f1e3",
|
|
19
19
|
"skills/kernel-lpe-triage/skill.md": "8e94bfd38d6db47342fbbe95a0c8df8f7c38743982c13e9de6a1c59cd3783d33",
|
|
20
20
|
"skills/ai-attack-surface/skill.md": "13e543fc92b9b27cdb647dce96a9eeb44919e0fa92ec41e8265a9981a23e7b79",
|
|
21
21
|
"skills/mcp-agent-trust/skill.md": "3cec1dce668deec44cb7330e165e89cee8379dd90833519004d566baf72c038c",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"artifact": "data/framework-control-gaps.json",
|
|
64
64
|
"path": "data/framework-control-gaps.json",
|
|
65
65
|
"schema_version": "1.0.0",
|
|
66
|
-
"entry_count":
|
|
66
|
+
"entry_count": 118
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
69
|
"date": "2026-05-15",
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"artifact": "data/zeroday-lessons.json",
|
|
88
88
|
"path": "data/zeroday-lessons.json",
|
|
89
89
|
"schema_version": "1.1.0",
|
|
90
|
-
"entry_count":
|
|
90
|
+
"entry_count": 21
|
|
91
91
|
},
|
|
92
92
|
{
|
|
93
93
|
"date": "2026-05-15",
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
"rebuild_after_days": 365,
|
|
173
173
|
"note": "Per-entry last_verified governs decay. Skills depending on this catalog must check entry freshness before high-stakes use."
|
|
174
174
|
},
|
|
175
|
-
"entry_count":
|
|
175
|
+
"entry_count": 118,
|
|
176
176
|
"sample_keys": [
|
|
177
177
|
"ALL-AI-PIPELINE-INTEGRITY",
|
|
178
178
|
"ALL-MCP-TOOL-TRUST",
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
"rebuild_after_days": 365,
|
|
239
239
|
"note": "Per-entry last_verified governs decay. Skills depending on this catalog must check entry freshness before high-stakes use."
|
|
240
240
|
},
|
|
241
|
-
"entry_count":
|
|
241
|
+
"entry_count": 21,
|
|
242
242
|
"sample_keys": [
|
|
243
243
|
"CVE-2026-31431",
|
|
244
244
|
"CVE-2025-53773",
|