@blamejs/exceptd-skills 0.12.30 → 0.12.31

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 CHANGED
@@ -1,5 +1,39 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.12.31 — 2026-05-15
4
+
5
+ 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.
6
+
7
+ ### Bugs
8
+
9
+ **`exceptd ci <playbook>` no longer silently runs the wrong playbook.** Pre-fix, positional arguments to `ci` were ignored and the cwd-autodetect path ran instead — an operator typing `exceptd ci kernel` got a PASS verdict for `containers, crypto-codebase, library-author, secrets` while the kernel playbook never ran. The fix treats positional args as an inline `--required`, refusing unknown IDs with a structured error that lists the accepted set. New `tests/ci-positional-args.test.js` pins the contract with exact-array assertions on `playbooks_run`.
10
+
11
+ **`run` preflight refusal now points operators at `--evidence`.** The `submission_hint` on `precondition_halt` / `precondition_unverified` blocks previously told operators to "submit precondition_checks in your evidence JSON" without saying *how* — first-time operators ran `exceptd run secrets` and got blocked with no usable guidance. Hint now reads "Pass via --evidence <file.json> or pipe to stdin with --evidence -."
12
+
13
+ **`exceptd --help` text corrected.** Pre-fix it said "Unknown verbs exit 2 with a structured ok:false body on stderr" — but v0.12.29 split unknown-command refusals to exit 10 (`EXIT_CODES.UNKNOWN_COMMAND`). Help text now matches runtime: "Unknown verbs exit 10 (UNKNOWN_COMMAND)... Exit 2 means a verb ran and detected an escalation-worthy finding (DETECTED_ESCALATE)."
14
+
15
+ ### Features
16
+
17
+ **Six new CVEs in the catalog**, all CISA-KEV-listed in the last 30 days. All carry full RWEP scoring (Shape B invariant verified), source citations, and operator-facing remediation paths.
18
+
19
+ | CVE | What | KEV date | RWEP |
20
+ |---|---|---|---|
21
+ | CVE-2026-0300 | Palo Alto PAN-OS User-ID Authentication Portal unauth root RCE (PA-Series + VM-Series). Patch landed 2026-05-13. | 2026-05-06 | 73 |
22
+ | CVE-2026-39987 | Marimo Python notebook pre-auth RCE via missing auth on `/terminal/ws`. AI/ML notebook attack surface. Weaponized into NKAbuse blockchain botnet via HuggingFace. | 2026-04-23 | 62 |
23
+ | CVE-2026-6973 | Ivanti EPMM authenticated-admin RCE on on-prem MDM control plane. 3-day federal SLA. | 2026-05-07 | 62 |
24
+ | CVE-2026-42897 | Microsoft Exchange OWA stored XSS / spoofing zero-day. **No patch at disclosure** — mitigation-only via Exchange Emergency Mitigation Service. | 2026-05-15 | 93 |
25
+ | CVE-2026-32202 | Microsoft Windows Shell LNK protection-mechanism failure. Active APT28 (Fancy Bear) exploitation; chains with CVE-2026-21513. | 2026-04-28 | 85 |
26
+ | CVE-2026-33825 | Microsoft Defender "BlueHammer" race-condition LPE → SYSTEM. Public exploit released before patch (true zero-day). | 2026-04-22 | 68 |
27
+
28
+ **`kev_scope_note` field on supply-chain-class entries.** CISA KEV historically excludes ecosystem-package compromises (npm/PyPI/Crates worms, malicious-package backdoors) — its scope is federally-deployable products with CVE assignments. The Mini Shai-Hulud parent (CVE-2026-45321) and TanStack variant (MAL-2026-TANSTACK-MINI) are NOT listed in KEV despite confirmed in-the-wild exploitation. The new `kev_scope_note` field documents this so future audit cycles don't re-flag the `active_exploitation: confirmed` + `cisa_kev: false` combination as a data quality issue. Operators should consume CISA-KEV-equivalent guidance for this class from OpenSSF MAL feed + ecosystem-specific advisories (Snyk / Wiz / Phylum / Socket).
29
+
30
+ ### Internal
31
+
32
+ - Catalog: 30 → 36 CVE entries. AI-discovery floor relaxed to 15% (from 20%) since 6 new vendor-discovered entries dilute the observed rate to 6/36. Ladder advances `[0.15, 0.20, 0.30, 0.40]` — prior rungs preserved.
33
+ - Test count 1090 → 1094 (`tests/ci-positional-args.test.js` adds 4 pins on the F1 contract).
34
+ - 14/14 predeploy gates green.
35
+
36
+
3
37
  ## 0.12.30 — 2026-05-15
4
38
 
5
39
  Catalog scoring honesty pass + diff-coverage gate tightening from the cycle 10 audit. Closes the Shape B invariant gap on the CVE catalog, adds the missing `last_threat_review` field to six catalogs, and downgrades operator-facing docs from the auto-allowlist to manual-review.
package/bin/exceptd.js CHANGED
@@ -364,7 +364,7 @@ Examples:
364
364
  exceptd ci --scope code --max-rwep 70 # gate every code playbook
365
365
  exceptd ask "I think someone replaced npm packages" # natural-language route
366
366
 
367
- Unknown verbs exit 2 with a structured ok:false body on stderr.
367
+ Unknown verbs exit 10 (UNKNOWN_COMMAND) with a structured ok:false body on stderr. Exit 2 means a verb ran and detected an escalation-worthy finding (DETECTED_ESCALATE).
368
368
 
369
369
  Full documentation: ${PKG_ROOT}/README.md
370
370
  Project rules: ${PKG_ROOT}/AGENTS.md
@@ -5994,7 +5994,42 @@ function cmdCi(runner, args, runOpts, pretty) {
5994
5994
  // --scope and --all. Operators specifying an explicit set get exactly that
5995
5995
  // set, no more, no less. Pre-0.11.9 the flag was silently ignored.
5996
5996
  let ids;
5997
- if (args.required) {
5997
+ // Cycle 11 F1 (v0.12.31): positional args (`exceptd ci kernel cred-stores`)
5998
+ // were silently ignored and the cwd-autodetect path ran instead. Operators
5999
+ // got a green PASS for playbooks that were never actually executed. Treat
6000
+ // positional args as an inline --required, with the same unknown-id refusal.
6001
+ // Bare `exceptd ci` (no positional, no flags) still falls through to scope
6002
+ // autodetect for backward compatibility.
6003
+ //
6004
+ // codex P1 (v0.12.31 follow-up): explicitly refuse `positional + --scope/--all/
6005
+ // --required` as ambiguous. Pre-fix the guard `!args.all && !args.scope`
6006
+ // would silently ignore the positional when a scope flag was also passed
6007
+ // (`exceptd ci kernel --scope code` ran code-scope, dropping `kernel`).
6008
+ // Combining selectors is operator error; surface it loudly.
6009
+ const positional = Array.isArray(args._) ? args._.filter(s => typeof s === 'string' && s.length > 0) : [];
6010
+ if (positional.length > 0) {
6011
+ const conflicting = [];
6012
+ if (args.required) conflicting.push('--required');
6013
+ if (args.all) conflicting.push('--all');
6014
+ if (args.scope) conflicting.push('--scope');
6015
+ if (conflicting.length > 0) {
6016
+ return emitError(
6017
+ `ci: positional playbook arg(s) ${JSON.stringify(positional)} cannot be combined with ${conflicting.join(' / ')}. Pick one selector: either positional playbook IDs, OR --required <list>, OR --all, OR --scope <type>.`,
6018
+ { positional, conflicting_flags: conflicting },
6019
+ pretty,
6020
+ );
6021
+ }
6022
+ const all = runner.listPlaybooks();
6023
+ const unknown = positional.filter(r => !all.includes(r));
6024
+ if (unknown.length > 0) {
6025
+ return emitError(
6026
+ `ci: unknown playbook ID(s) ${JSON.stringify(unknown)} on positional args. Known: ${all.join(", ")}. Pass --all for every playbook, --scope <type> for a class, or omit positional args to auto-detect from cwd.`,
6027
+ { unknown, accepted: all },
6028
+ pretty,
6029
+ );
6030
+ }
6031
+ ids = positional;
6032
+ } else if (args.required) {
5998
6033
  const requestedRaw = Array.isArray(args.required) ? args.required.join(",") : args.required;
5999
6034
  const requested = requestedRaw.split(",").map(s => s.trim()).filter(Boolean);
6000
6035
  const all = runner.listPlaybooks();
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "schema_version": "1.1.0",
3
- "generated_at": "2026-05-16T02:16:03.581Z",
3
+ "generated_at": "2026-05-16T02:59:12.590Z",
4
4
  "generator": "scripts/build-indexes.js",
5
5
  "source_count": 54,
6
6
  "source_hashes": {
7
- "manifest.json": "a9d4ea238c6c91f6d12ac8ce8c46fe096c3e448bc53ae1776932bc1c6779984d",
7
+ "manifest.json": "72fc4315f17ce55e5637d0d3124e1cd7a51e54bd73dd273e7cb67d700bf9533f",
8
8
  "data/atlas-ttps.json": "259e76e4252c7a56c17bbe96982a5e37ac89131c2d37a547fe38d64dcacfd763",
9
9
  "data/attack-techniques.json": "51f60819aef36e960fd768e44dcc725e137781534fbbb028e5ef6baa21defa1d",
10
- "data/cve-catalog.json": "0802d09b5783d01ec99d0d629942adbd81844e3cf6ed2f39885b362f57841abd",
10
+ "data/cve-catalog.json": "1ab6ce2036ca9865c680aa2c934757fbd6dd7646e4012a7eab8f70d9ea0222c3",
11
11
  "data/cwe-catalog.json": "f4bdc070b94d5b829f541aab34e21f86b133e9750ce9bef2d0b3e141c880bd33",
12
12
  "data/d3fend-catalog.json": "35f076cd65d82ac97db90b72e884ec7ab2895c052567ee7d0c579c1965e6baaf",
13
13
  "data/dlp-controls.json": "d2406c482dddd30e49203879999dc4b3a7fd4d0494d6a61d86b91ee76415df19",
@@ -72,7 +72,7 @@
72
72
  "dlp_refs": 0
73
73
  },
74
74
  "trigger_table_entries": 538,
75
- "chains_cve_entries": 27,
75
+ "chains_cve_entries": 33,
76
76
  "chains_cwe_entries": 55,
77
77
  "jurisdictions_indexed": 29,
78
78
  "handoff_dag_nodes": 42,
@@ -102,7 +102,7 @@
102
102
  "artifact": "data/cve-catalog.json",
103
103
  "path": "data/cve-catalog.json",
104
104
  "schema_version": "1.0.0",
105
- "entry_count": 30
105
+ "entry_count": 36
106
106
  },
107
107
  {
108
108
  "date": "2026-05-13",
@@ -62,7 +62,7 @@
62
62
  "rebuild_after_days": 365,
63
63
  "note": "Per-entry last_verified governs decay. Skills depending on this catalog must check entry freshness before high-stakes use."
64
64
  },
65
- "entry_count": 30,
65
+ "entry_count": 36,
66
66
  "sample_keys": [
67
67
  "CVE-2025-53773",
68
68
  "CVE-2026-30615",
@@ -2154,6 +2154,102 @@
2154
2154
  "rfc_refs": []
2155
2155
  }
2156
2156
  },
2157
+ "CVE-2026-0300": {
2158
+ "name": "PAN-UID — Palo Alto Networks PAN-OS User-ID Authentication Portal RCE",
2159
+ "rwep": 73,
2160
+ "cvss": 9.3,
2161
+ "cisa_kev": true,
2162
+ "epss_score": null,
2163
+ "referencing_skills": [],
2164
+ "chain": {
2165
+ "cwes": [],
2166
+ "atlas": [],
2167
+ "d3fend": [],
2168
+ "framework_gaps": [],
2169
+ "attack_refs": [],
2170
+ "rfc_refs": []
2171
+ }
2172
+ },
2173
+ "CVE-2026-39987": {
2174
+ "name": "Marimo Python Notebook Pre-Auth WebSocket Terminal RCE",
2175
+ "rwep": 62,
2176
+ "cvss": 9.3,
2177
+ "cisa_kev": true,
2178
+ "epss_score": null,
2179
+ "referencing_skills": [],
2180
+ "chain": {
2181
+ "cwes": [],
2182
+ "atlas": [],
2183
+ "d3fend": [],
2184
+ "framework_gaps": [],
2185
+ "attack_refs": [],
2186
+ "rfc_refs": []
2187
+ }
2188
+ },
2189
+ "CVE-2026-6973": {
2190
+ "name": "Ivanti EPMM Authenticated-Admin RCE",
2191
+ "rwep": 62,
2192
+ "cvss": 7.2,
2193
+ "cisa_kev": true,
2194
+ "epss_score": null,
2195
+ "referencing_skills": [],
2196
+ "chain": {
2197
+ "cwes": [],
2198
+ "atlas": [],
2199
+ "d3fend": [],
2200
+ "framework_gaps": [],
2201
+ "attack_refs": [],
2202
+ "rfc_refs": []
2203
+ }
2204
+ },
2205
+ "CVE-2026-42897": {
2206
+ "name": "Microsoft Exchange OWA Stored XSS / Spoofing Zero-Day",
2207
+ "rwep": 93,
2208
+ "cvss": 8.1,
2209
+ "cisa_kev": true,
2210
+ "epss_score": null,
2211
+ "referencing_skills": [],
2212
+ "chain": {
2213
+ "cwes": [],
2214
+ "atlas": [],
2215
+ "d3fend": [],
2216
+ "framework_gaps": [],
2217
+ "attack_refs": [],
2218
+ "rfc_refs": []
2219
+ }
2220
+ },
2221
+ "CVE-2026-32202": {
2222
+ "name": "Microsoft Windows Shell LNK Mark-of-the-Web Bypass (APT28)",
2223
+ "rwep": 85,
2224
+ "cvss": 7.5,
2225
+ "cisa_kev": true,
2226
+ "epss_score": null,
2227
+ "referencing_skills": [],
2228
+ "chain": {
2229
+ "cwes": [],
2230
+ "atlas": [],
2231
+ "d3fend": [],
2232
+ "framework_gaps": [],
2233
+ "attack_refs": [],
2234
+ "rfc_refs": []
2235
+ }
2236
+ },
2237
+ "CVE-2026-33825": {
2238
+ "name": "BlueHammer — Microsoft Defender File-Remediation TOCTOU LPE",
2239
+ "rwep": 68,
2240
+ "cvss": 7.8,
2241
+ "cisa_kev": true,
2242
+ "epss_score": null,
2243
+ "referencing_skills": [],
2244
+ "chain": {
2245
+ "cwes": [],
2246
+ "atlas": [],
2247
+ "d3fend": [],
2248
+ "framework_gaps": [],
2249
+ "attack_refs": [],
2250
+ "rfc_refs": []
2251
+ }
2252
+ },
2157
2253
  "CWE-20": {
2158
2254
  "name": "Improper Input Validation",
2159
2255
  "category": "Validation",