@blamejs/exceptd-skills 0.12.23 → 0.12.24

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/lib/verify.js CHANGED
@@ -621,6 +621,14 @@ function loadExpectedFingerprintFirstLine(pinPath) {
621
621
  // as UTF-8 mojibake — the first line never matches a live fingerprint
622
622
  // and the operator sees no signal. Refuse them; re-save as UTF-8.
623
623
  if ((b0 === 0xFF && b1 === 0xFE) || (b0 === 0xFE && b1 === 0xFF)) return null;
624
+ // UTF-16BE-without-BOM defense: a pin file saved as UTF-16BE on a host
625
+ // whose editor stripped the BOM (or never wrote one) decodes as
626
+ // 0x00 <printable ASCII> 0x00 <printable ASCII>... The leading NUL byte
627
+ // would survive into the utf8 string and the first-line compare would
628
+ // never match a SHA256:... fingerprint. Detect "00 XX" where XX is
629
+ // printable ASCII (0x20-0x7E) and refuse — same remediation: re-save
630
+ // the file as UTF-8.
631
+ if (b0 === 0x00 && b1 >= 0x20 && b1 <= 0x7E) return null;
624
632
  }
625
633
  let raw = buf.toString('utf8');
626
634
  if (raw.length > 0 && raw.charCodeAt(0) === 0xFEFF) raw = raw.slice(1);
@@ -747,10 +755,18 @@ if (require.main === module) {
747
755
  );
748
756
  } else if (pinResult.status === 'mismatch') {
749
757
  if (pinResult.rotationOverride) {
750
- console.warn(
751
- `[verify] WARN: live key fingerprint ${pinResult.actual} differs from pin ` +
752
- `${pinResult.expected}. KEYS_ROTATED=1 set accepting rotation. ` +
753
- `Update keys/EXPECTED_FINGERPRINT to lock the new pin.`
758
+ process.emitWarning(
759
+ `live key fingerprint ${pinResult.actual} differs from pin ${pinResult.expected}; ` +
760
+ `KEYS_ROTATED=1 accepted. Update keys/EXPECTED_FINGERPRINT to lock the new pin.`,
761
+ { code: 'EXCEPTD_KEYS_ROTATED_OVERRIDE' }
762
+ );
763
+ // Mirror to stderr unconditionally: NODE_NO_WARNINGS=1 silences
764
+ // process.emitWarning, but a key-rotation override is a
765
+ // security-relevant event that must surface in the operator's
766
+ // terminal even when warnings are muted.
767
+ console.error(
768
+ `[verify] KEYS_ROTATED=1 override accepted; live fingerprint ${pinResult.actual} ` +
769
+ `differs from pin ${pinResult.expected}. Update keys/EXPECTED_FINGERPRINT to lock the new pin.`
754
770
  );
755
771
  } else {
756
772
  console.error(
package/manifest.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "exceptd-security",
3
- "version": "0.12.23",
3
+ "version": "0.12.24",
4
4
  "description": "AI security skills grounded in mid-2026 threat reality, not stale framework documentation",
5
5
  "homepage": "https://exceptd.com",
6
6
  "license": "Apache-2.0",
@@ -52,7 +52,7 @@
52
52
  ],
53
53
  "last_threat_review": "2026-05-01",
54
54
  "signature": "hRGoOFHglwqtRzGDiNxOIFk7QuDvFvUgsCxfGQ8cNB+DUgUFFAwTpbmX2ssP42LzbmT2GXo+h3RKDYQ1TGJdDw==",
55
- "signed_at": "2026-05-15T07:53:22.483Z",
55
+ "signed_at": "2026-05-15T18:43:22.156Z",
56
56
  "cwe_refs": [
57
57
  "CWE-125",
58
58
  "CWE-362",
@@ -116,7 +116,7 @@
116
116
  ],
117
117
  "last_threat_review": "2026-05-01",
118
118
  "signature": "Rz5jS554rDryT6FPVZy0PwHMCYoJQQhhNDNI9rvOptjDbsnnKtZkpVXlKke5OKmLu5fHEBaNPg856qMIZFq+Ag==",
119
- "signed_at": "2026-05-15T07:53:22.485Z",
119
+ "signed_at": "2026-05-15T18:43:22.158Z",
120
120
  "cwe_refs": [
121
121
  "CWE-1039",
122
122
  "CWE-1426",
@@ -179,7 +179,7 @@
179
179
  ],
180
180
  "last_threat_review": "2026-05-01",
181
181
  "signature": "goSMEVE6QbfcdqCEgq324TNy6rZ2mWwPA28gMPvojy8ZzGFng87hLdyvKhDMo4S3KTK1D6CaTBksAzZw4Go8Cg==",
182
- "signed_at": "2026-05-15T07:53:22.486Z",
182
+ "signed_at": "2026-05-15T18:43:22.159Z",
183
183
  "cwe_refs": [
184
184
  "CWE-22",
185
185
  "CWE-345",
@@ -225,7 +225,7 @@
225
225
  "framework_gaps": [],
226
226
  "last_threat_review": "2026-05-01",
227
227
  "signature": "cPRRTsNQT1MYR3cE5O3KdC4MB037EMc0fsMIbOyfOv16sR+DkiXmAhQOjlIC47HngHz3vhLI+rbqItN91VWpBg==",
228
- "signed_at": "2026-05-15T07:53:22.486Z"
228
+ "signed_at": "2026-05-15T18:43:22.160Z"
229
229
  },
230
230
  {
231
231
  "name": "compliance-theater",
@@ -256,7 +256,7 @@
256
256
  ],
257
257
  "last_threat_review": "2026-05-01",
258
258
  "signature": "79NrFMRsqGsipWeE5ETQSVICGO4BjTJYgyir+PSaNVFpkLqLcwZd8Dr1V7iwX0H0fXFL3WpPz35gtrYCEG32BQ==",
259
- "signed_at": "2026-05-15T07:53:22.487Z"
259
+ "signed_at": "2026-05-15T18:43:22.160Z"
260
260
  },
261
261
  {
262
262
  "name": "exploit-scoring",
@@ -285,7 +285,7 @@
285
285
  ],
286
286
  "last_threat_review": "2026-05-01",
287
287
  "signature": "HSU+zjDZBGEVpPARxe0kw//H5Uz5cGrPIKOZWGcJybEl4MgxTsWiQd9qxCyuWoVSRE7mZFO7YwUCn67W0BiODw==",
288
- "signed_at": "2026-05-15T07:53:22.487Z"
288
+ "signed_at": "2026-05-15T18:43:22.160Z"
289
289
  },
290
290
  {
291
291
  "name": "rag-pipeline-security",
@@ -322,7 +322,7 @@
322
322
  ],
323
323
  "last_threat_review": "2026-05-01",
324
324
  "signature": "4mstnPFMNhiorB7iEwqb7Jh+OCG79Mhqt2h/RwL5JbnAIPBi0Fcv0JBhQ5msEaHO4gNnpcBrdMfiDxLDwetZCw==",
325
- "signed_at": "2026-05-15T07:53:22.487Z",
325
+ "signed_at": "2026-05-15T18:43:22.161Z",
326
326
  "cwe_refs": [
327
327
  "CWE-1395",
328
328
  "CWE-1426"
@@ -379,7 +379,7 @@
379
379
  ],
380
380
  "last_threat_review": "2026-05-01",
381
381
  "signature": "FjdIy9NqQpSSMhIbyv5WhnJKrVLhO98iBfQ0AHqXw6yqXdVoWucyr729Jwhelq40oAkiBzbXi9RoVo63DHJwDw==",
382
- "signed_at": "2026-05-15T07:53:22.488Z",
382
+ "signed_at": "2026-05-15T18:43:22.161Z",
383
383
  "d3fend_refs": [
384
384
  "D3-CA",
385
385
  "D3-CSPP",
@@ -414,7 +414,7 @@
414
414
  "framework_gaps": [],
415
415
  "last_threat_review": "2026-05-01",
416
416
  "signature": "DxfXhSyoAGUo1emHh0uIIcg324ZreBYxmFdBDVAKOOuPmMlfN4RqNc/JGDSfVmMv5CjgYCUcSmkcYB0A5lk0Cg==",
417
- "signed_at": "2026-05-15T07:53:22.488Z",
417
+ "signed_at": "2026-05-15T18:43:22.161Z",
418
418
  "cwe_refs": [
419
419
  "CWE-1188"
420
420
  ]
@@ -442,7 +442,7 @@
442
442
  "framework_gaps": [],
443
443
  "last_threat_review": "2026-05-01",
444
444
  "signature": "xALyn4ZC71A8oxFV18AZgTvLbggo5erRpMOwVJToNFZ0zdf1GF8O0dUBDxqKmEGfp5qDytR1mgyPw8TFwahBAg==",
445
- "signed_at": "2026-05-15T07:53:22.489Z"
445
+ "signed_at": "2026-05-15T18:43:22.162Z"
446
446
  },
447
447
  {
448
448
  "name": "global-grc",
@@ -474,7 +474,7 @@
474
474
  "framework_gaps": [],
475
475
  "last_threat_review": "2026-05-01",
476
476
  "signature": "7yVjZkanFMKDQqXdX4B/7oLc2Rz72xHC1zscYd8F/+e5UAbR7ikK8Bn5EKZt3aBEOhHPAviSQNCMxpZD9U00CA==",
477
- "signed_at": "2026-05-15T07:53:22.489Z"
477
+ "signed_at": "2026-05-15T18:43:22.163Z"
478
478
  },
479
479
  {
480
480
  "name": "zeroday-gap-learn",
@@ -501,7 +501,7 @@
501
501
  "framework_gaps": [],
502
502
  "last_threat_review": "2026-05-01",
503
503
  "signature": "OsoKfE75/MJQXdBKXfosPDE701t9kWHRAOx/1iCS/z5FJCWgcUGJJ0IvMbno2BT3O1UB5rL6QDCHK9arRyxLBQ==",
504
- "signed_at": "2026-05-15T07:53:22.490Z"
504
+ "signed_at": "2026-05-15T18:43:22.163Z"
505
505
  },
506
506
  {
507
507
  "name": "pqc-first",
@@ -553,7 +553,7 @@
553
553
  ],
554
554
  "last_threat_review": "2026-05-01",
555
555
  "signature": "V+qn5FqUlETfsEjvvi6jZGuQdqLFtFejfgPA6KSYxSlBXBTbOBXP3BGk5S+ba9akIzgbKh1j9VGB1MqsIt56DA==",
556
- "signed_at": "2026-05-15T07:53:22.490Z",
556
+ "signed_at": "2026-05-15T18:43:22.163Z",
557
557
  "cwe_refs": [
558
558
  "CWE-327"
559
559
  ],
@@ -600,7 +600,7 @@
600
600
  ],
601
601
  "last_threat_review": "2026-05-01",
602
602
  "signature": "UayHLLWXAkhnLPaPRsgDpAyE8FGk1tuG1/DYyhw84Uv4tfCKXMamsAhXHOyMIosQfsJq5ZHYVXZz0bYNpnlvDw==",
603
- "signed_at": "2026-05-15T07:53:22.490Z"
603
+ "signed_at": "2026-05-15T18:43:22.164Z"
604
604
  },
605
605
  {
606
606
  "name": "security-maturity-tiers",
@@ -637,7 +637,7 @@
637
637
  ],
638
638
  "last_threat_review": "2026-05-01",
639
639
  "signature": "zjq6ACAHD46xvhvQJKlrCPh5xDCuBuIWBI+QJB8RxcudpC7p7I1pqv+BY8DZdsAgU4tquCU8KC+xlduMIk3/DQ==",
640
- "signed_at": "2026-05-15T07:53:22.491Z",
640
+ "signed_at": "2026-05-15T18:43:22.164Z",
641
641
  "cwe_refs": [
642
642
  "CWE-1188"
643
643
  ]
@@ -672,7 +672,7 @@
672
672
  "framework_gaps": [],
673
673
  "last_threat_review": "2026-05-11",
674
674
  "signature": "/lGgWehCMQUXjI6w4FUa+5wrbyRnct+txvVcXA+D2/ZEkoJKh+J/psO3j5HPf7Hpv+Y5SmkH71CoO+9qilyVDQ==",
675
- "signed_at": "2026-05-15T07:53:22.491Z"
675
+ "signed_at": "2026-05-15T18:43:22.164Z"
676
676
  },
677
677
  {
678
678
  "name": "attack-surface-pentest",
@@ -743,7 +743,7 @@
743
743
  "PTES revision incorporating AI-surface enumeration"
744
744
  ],
745
745
  "signature": "rh+/cr+wTcEmBwrGscBni/jXpxjjYP91pUKDFIGkahZpw+nghCM/3aLKFf5RFRnl3JKTyBRywIrYhUH1YuSlDw==",
746
- "signed_at": "2026-05-15T07:53:22.491Z"
746
+ "signed_at": "2026-05-15T18:43:22.164Z"
747
747
  },
748
748
  {
749
749
  "name": "fuzz-testing-strategy",
@@ -803,7 +803,7 @@
803
803
  "OSS-Fuzz-Gen / AI-assisted harness generation becoming the default expectation for OSS maintainers"
804
804
  ],
805
805
  "signature": "+ELdD+1AY5DymBitH7wU65CS60NY1nDoLowJAFn7cE5Gr/5jy9BTkyxsm7PEXaSlXWMOkTf/HQ+uyzyxUVD/Bw==",
806
- "signed_at": "2026-05-15T07:53:22.492Z"
806
+ "signed_at": "2026-05-15T18:43:22.165Z"
807
807
  },
808
808
  {
809
809
  "name": "dlp-gap-analysis",
@@ -878,7 +878,7 @@
878
878
  "Quebec Law 25, India DPDPA, KSA PDPL enforcement actions naming AI-tool prompt data as in-scope personal information"
879
879
  ],
880
880
  "signature": "/BCBGUVjGs1RZzqXfElxBWB8UoD4+MY2G1YekdWsTDbMcHvt3NZJf0/JcqdYHOsEhFQ21NEz3w3+6tmQ8htKDw==",
881
- "signed_at": "2026-05-15T07:53:22.492Z"
881
+ "signed_at": "2026-05-15T18:43:22.165Z"
882
882
  },
883
883
  {
884
884
  "name": "supply-chain-integrity",
@@ -955,7 +955,7 @@
955
955
  "OpenSSF model-signing — emerging Sigstore-based signing standard for ML model weights; track for production adoption"
956
956
  ],
957
957
  "signature": "mySOkGScsNPtEZcHg42EKcvUSBzADIB9mSlNe0L1yPllrB/83ypBj6cCERRw9ql+rtrNxapyc6Do+nCz7E5rDg==",
958
- "signed_at": "2026-05-15T07:53:22.492Z"
958
+ "signed_at": "2026-05-15T18:43:22.165Z"
959
959
  },
960
960
  {
961
961
  "name": "defensive-countermeasure-mapping",
@@ -1012,7 +1012,7 @@
1012
1012
  ],
1013
1013
  "last_threat_review": "2026-05-11",
1014
1014
  "signature": "XZigwq8X/csfrdG10O6Q1V5q0zUqSQGd3QrjRKkZ4fkaodG4mZahYuIQqxc8rU9jjtGAm9LtBXYB+I5csqj9Bw==",
1015
- "signed_at": "2026-05-15T07:53:22.493Z"
1015
+ "signed_at": "2026-05-15T18:43:22.166Z"
1016
1016
  },
1017
1017
  {
1018
1018
  "name": "identity-assurance",
@@ -1079,7 +1079,7 @@
1079
1079
  "d3fend_refs": [],
1080
1080
  "last_threat_review": "2026-05-11",
1081
1081
  "signature": "k0HrsZMBxiPWB1jl4dRwhv/R5IsqbZ+SLDv1Jx3/sRl51JyXjtm8vyogTNhSwsl5/IkaRakqIPJFRFRl5h/9CQ==",
1082
- "signed_at": "2026-05-15T07:53:22.493Z"
1082
+ "signed_at": "2026-05-15T18:43:22.166Z"
1083
1083
  },
1084
1084
  {
1085
1085
  "name": "ot-ics-security",
@@ -1135,7 +1135,7 @@
1135
1135
  "d3fend_refs": [],
1136
1136
  "last_threat_review": "2026-05-11",
1137
1137
  "signature": "oHxjumOhk8y86WcwhAX8sSWIlPzt60KfTMn4DCJLeRrrQd5+i54fVADKAdZ3vOqfDN+DexO0uX4f5dLPtacRCQ==",
1138
- "signed_at": "2026-05-15T07:53:22.493Z"
1138
+ "signed_at": "2026-05-15T18:43:22.166Z"
1139
1139
  },
1140
1140
  {
1141
1141
  "name": "coordinated-vuln-disclosure",
@@ -1187,7 +1187,7 @@
1187
1187
  "NYDFS 23 NYCRR 500 amendments potentially adding explicit CVD program requirements"
1188
1188
  ],
1189
1189
  "signature": "UCiNjncvhkZItmLQA/Sm1/NCsOiLMwdCjfUw+067v4NIxhaMMaqRrAeD3KgMyEtov7m2Hq2kfwYSt5+DQsYDCQ==",
1190
- "signed_at": "2026-05-15T07:53:22.494Z"
1190
+ "signed_at": "2026-05-15T18:43:22.167Z"
1191
1191
  },
1192
1192
  {
1193
1193
  "name": "threat-modeling-methodology",
@@ -1237,7 +1237,7 @@
1237
1237
  "PASTA v2 updates incorporating AI/ML application threats"
1238
1238
  ],
1239
1239
  "signature": "V9kl8Cf8UMjNFyn3D/fSyhWHLeXWlx3WV/jT9jdF9SrjfDqymimuTt2o91cZ2FOEJndAH9V0JGXB13Ohz8K4CQ==",
1240
- "signed_at": "2026-05-15T07:53:22.494Z"
1240
+ "signed_at": "2026-05-15T18:43:22.167Z"
1241
1241
  },
1242
1242
  {
1243
1243
  "name": "webapp-security",
@@ -1311,7 +1311,7 @@
1311
1311
  "d3fend_refs": [],
1312
1312
  "last_threat_review": "2026-05-11",
1313
1313
  "signature": "CgqHC9W0PUKbTMUR+K2lG/Dq8EAQGBKb07o8IqIDcn5Q9zxiIzE9kJg8AL+zN8z0vTkZSAIv2O+FfErNNkMvBw==",
1314
- "signed_at": "2026-05-15T07:53:22.494Z"
1314
+ "signed_at": "2026-05-15T18:43:22.167Z"
1315
1315
  },
1316
1316
  {
1317
1317
  "name": "ai-risk-management",
@@ -1361,7 +1361,7 @@
1361
1361
  "d3fend_refs": [],
1362
1362
  "last_threat_review": "2026-05-11",
1363
1363
  "signature": "P2D++lB5hea3oi2vl9mf8C7N+E7zASoqt1v4tjKxtaTeb+U0UARgMOaZsoK/sO9TT/PG/au14Rl4EFxv+Xi1BA==",
1364
- "signed_at": "2026-05-15T07:53:22.494Z"
1364
+ "signed_at": "2026-05-15T18:43:22.168Z"
1365
1365
  },
1366
1366
  {
1367
1367
  "name": "sector-healthcare",
@@ -1421,7 +1421,7 @@
1421
1421
  "d3fend_refs": [],
1422
1422
  "last_threat_review": "2026-05-11",
1423
1423
  "signature": "BDuLcpTeFp2BNSf1q4rYOhYKNhlgd3o5RZ0Uw9xW5olyYxPbZSgqekQ+6Ggaec09s7y6sqR37GS0vuAMdbrdDQ==",
1424
- "signed_at": "2026-05-15T07:53:22.495Z"
1424
+ "signed_at": "2026-05-15T18:43:22.168Z"
1425
1425
  },
1426
1426
  {
1427
1427
  "name": "sector-financial",
@@ -1502,7 +1502,7 @@
1502
1502
  "TIBER-EU framework v2.0 alignment with DORA TLPT RTS (JC 2024/40); cross-recognition with CBEST and iCAST"
1503
1503
  ],
1504
1504
  "signature": "4IUJePr6XbE1Ns+cPvEFAVgrwdHLImuxdPYiilurxM2SmJym1itRC1prFMcuT6Kh6e1clYXwlzflcKm/eikyDA==",
1505
- "signed_at": "2026-05-15T07:53:22.495Z"
1505
+ "signed_at": "2026-05-15T18:43:22.168Z"
1506
1506
  },
1507
1507
  {
1508
1508
  "name": "sector-federal-government",
@@ -1571,7 +1571,7 @@
1571
1571
  "Australia PSPF 2024 revision and ISM quarterly updates — track for Essential Eight Maturity Level requirements for federal entities"
1572
1572
  ],
1573
1573
  "signature": "nMsyJ+rp5fM8/VjC7zsZyDjOC4hpxB+noT1VX7W0HBlq5t3SY56cwOGApwES/kBcCuf4qexKY376OxUr93zvCQ==",
1574
- "signed_at": "2026-05-15T07:53:22.496Z"
1574
+ "signed_at": "2026-05-15T18:43:22.169Z"
1575
1575
  },
1576
1576
  {
1577
1577
  "name": "sector-energy",
@@ -1636,7 +1636,7 @@
1636
1636
  "ICS-CERT advisory feed (https://www.cisa.gov/news-events/cybersecurity-advisories/ics-advisories) for vendor CVEs in Siemens, Rockwell, Schneider Electric, ABB, GE Vernova, Hitachi Energy, AVEVA / OSIsoft PI"
1637
1637
  ],
1638
1638
  "signature": "L1moEqEGkBkqY/3ohJcfqrlJn40UurDCyb2MOP/IwTAeZD+QbVZ17/drdsydkJ6qSXPiyiE6u8HDfZsDS13NBQ==",
1639
- "signed_at": "2026-05-15T07:53:22.496Z"
1639
+ "signed_at": "2026-05-15T18:43:22.169Z"
1640
1640
  },
1641
1641
  {
1642
1642
  "name": "api-security",
@@ -1705,7 +1705,7 @@
1705
1705
  "d3fend_refs": [],
1706
1706
  "last_threat_review": "2026-05-11",
1707
1707
  "signature": "ad1pHD4QQ8uXkhrzqLuWgnDpESOapzx3qGFchU9rxiX1aeLQkYKwpDzqIItFq82B5xjNsW7g5jXlF1sgK2HmCA==",
1708
- "signed_at": "2026-05-15T07:53:22.497Z"
1708
+ "signed_at": "2026-05-15T18:43:22.170Z"
1709
1709
  },
1710
1710
  {
1711
1711
  "name": "cloud-security",
@@ -1786,7 +1786,7 @@
1786
1786
  "CISA KEV additions for cloud-control-plane CVEs (IMDSv1 abuses, federation token mishandling, cross-tenant boundary failures); CISA Cybersecurity Advisories for cross-cloud advisories"
1787
1787
  ],
1788
1788
  "signature": "UEn0305KAEqIfYOdzadLBdPG/PJ+3sJ/8ubvPFNcXfqXp2uOWTfqGUqY65PApA992VEEa1RBQt5R7Nyhd/OjDQ==",
1789
- "signed_at": "2026-05-15T07:53:22.497Z"
1789
+ "signed_at": "2026-05-15T18:43:22.170Z"
1790
1790
  },
1791
1791
  {
1792
1792
  "name": "container-runtime-security",
@@ -1848,7 +1848,7 @@
1848
1848
  "d3fend_refs": [],
1849
1849
  "last_threat_review": "2026-05-11",
1850
1850
  "signature": "4easZDYn25XK4E9MRnwnZohG3xdYMmOLlPznNVmr1ykNfB+343+ooj+R0quG8uEV/IqbTQpR1ink35K6jCghCg==",
1851
- "signed_at": "2026-05-15T07:53:22.497Z"
1851
+ "signed_at": "2026-05-15T18:43:22.170Z"
1852
1852
  },
1853
1853
  {
1854
1854
  "name": "mlops-security",
@@ -1919,7 +1919,7 @@
1919
1919
  "MITRE ATLAS v5.2 — track AML.T0010 sub-technique expansion and any new MLOps-pipeline-specific TTPs"
1920
1920
  ],
1921
1921
  "signature": "chbPWzjfx92OjEAwMIm+J4GObxy8uwTahNBvbhMfYL7vTAJe/lf2BaW8wUpchpMIwYL0985A/+WykH8zmk/DBA==",
1922
- "signed_at": "2026-05-15T07:53:22.498Z"
1922
+ "signed_at": "2026-05-15T18:43:22.171Z"
1923
1923
  },
1924
1924
  {
1925
1925
  "name": "incident-response-playbook",
@@ -1981,7 +1981,7 @@
1981
1981
  "NYDFS 23 NYCRR 500.17 amendments tightening ransom-payment 24h disclosure operationalization"
1982
1982
  ],
1983
1983
  "signature": "3V7kvM5cxXdCBoMnjvOoTvT3zD+/yZEBHYgiunYQe8tBm+vVnS4jCz1Nzv/ymePIfbYDo/PlzKeGTWStSsGiAg==",
1984
- "signed_at": "2026-05-15T07:53:22.498Z"
1984
+ "signed_at": "2026-05-15T18:43:22.171Z"
1985
1985
  },
1986
1986
  {
1987
1987
  "name": "email-security-anti-phishing",
@@ -2034,7 +2034,7 @@
2034
2034
  "d3fend_refs": [],
2035
2035
  "last_threat_review": "2026-05-11",
2036
2036
  "signature": "RiCryJEd66T2NNcSo/mZTd3sGWDycE3C37guLJanLdVL5co35DrPFmIl8qy3ZM/y+Wzg5vpny8VKgr1//1/bCA==",
2037
- "signed_at": "2026-05-15T07:53:22.498Z"
2037
+ "signed_at": "2026-05-15T18:43:22.171Z"
2038
2038
  },
2039
2039
  {
2040
2040
  "name": "age-gates-child-safety",
@@ -2102,11 +2102,11 @@
2102
2102
  "US state adult-site age-verification laws — 19+ states by mid-2026 (TX HB 18 upheld by SCOTUS June 2025 in Free Speech Coalition v. Paxton); track ongoing challenges in remaining states"
2103
2103
  ],
2104
2104
  "signature": "MMWvg3lIf5ygm31zyf1E43t3W9MfRbMBBPrqlj1wOa8AxVJL8LICnAXfmyJ/TNJXwpF+rfZeDdoxXkql8wmtBA==",
2105
- "signed_at": "2026-05-15T07:53:22.499Z"
2105
+ "signed_at": "2026-05-15T18:43:22.172Z"
2106
2106
  }
2107
2107
  ],
2108
2108
  "manifest_signature": {
2109
2109
  "algorithm": "Ed25519",
2110
- "signature_base64": "Q4vCqveC4hR456ZIREhS/mkROsV2BoKpEsPJACcmDf5zLygdaMSOjbE2m5lHs36drQ8IOEIz98jwU/8UeEqrDg=="
2110
+ "signature_base64": "cPGW0KS8nz/Ui3nikDkK9CPx6CSgsvhCUUJXxdGttw4Jo14IdD/fis0fJ/v5T65b6JQ4/GWzYnUvRUwIW2dSDg=="
2111
2111
  }
2112
2112
  }
package/package.json CHANGED
@@ -1,16 +1,19 @@
1
1
  {
2
2
  "name": "@blamejs/exceptd-skills",
3
- "version": "0.12.23",
3
+ "version": "0.12.24",
4
4
  "description": "AI security skills grounded in mid-2026 threat reality, not stale framework documentation. 38 skills, 10 catalogs, 34 jurisdictions, pre-computed indexes, Ed25519-signed.",
5
5
  "keywords": [
6
6
  "ai-security",
7
7
  "ai-skills",
8
8
  "atlas",
9
9
  "att-ck",
10
+ "attestation",
10
11
  "compliance",
12
+ "csaf-2.0",
11
13
  "cve",
12
14
  "cwe",
13
15
  "d3fend",
16
+ "ed25519",
14
17
  "framework-gap",
15
18
  "grc",
16
19
  "kev",
@@ -18,8 +21,11 @@
18
21
  "mcp",
19
22
  "nist",
20
23
  "nvd",
24
+ "openvex",
21
25
  "prompt-injection",
26
+ "provenance",
22
27
  "rwep",
28
+ "sarif",
23
29
  "security-research",
24
30
  "skills",
25
31
  "supply-chain",
@@ -37,7 +43,7 @@
37
43
  "license": "Apache-2.0",
38
44
  "author": "blamejs contributors",
39
45
  "engines": {
40
- "node": ">=24.0.0"
46
+ "node": ">=22.11.0"
41
47
  },
42
48
  "bin": {
43
49
  "exceptd": "bin/exceptd.js"
package/sbom.cdx.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "bomFormat": "CycloneDX",
3
3
  "specVersion": "1.6",
4
- "serialNumber": "urn:uuid:9c7d3929-21bf-46a7-8618-e8453efc188b",
4
+ "serialNumber": "urn:uuid:c4aac98a-f333-41f2-9e96-3a738d7dabda",
5
5
  "version": 1,
6
6
  "metadata": {
7
- "timestamp": "2026-05-15T07:53:30.040Z",
7
+ "timestamp": "2026-05-15T18:43:23.703Z",
8
8
  "tools": [
9
9
  {
10
10
  "name": "hand-written",
@@ -13,10 +13,10 @@
13
13
  }
14
14
  ],
15
15
  "component": {
16
- "bom-ref": "pkg:npm/@blamejs/exceptd-skills@0.12.23",
16
+ "bom-ref": "pkg:npm/@blamejs/exceptd-skills@0.12.24",
17
17
  "type": "application",
18
18
  "name": "@blamejs/exceptd-skills",
19
- "version": "0.12.23",
19
+ "version": "0.12.24",
20
20
  "description": "AI security skills grounded in mid-2026 threat reality, not stale framework documentation. 38 skills, 10 catalogs, 34 jurisdictions, pre-computed indexes, Ed25519-signed.",
21
21
  "licenses": [
22
22
  {
@@ -25,11 +25,11 @@
25
25
  }
26
26
  }
27
27
  ],
28
- "purl": "pkg:npm/%40blamejs/exceptd-skills@0.12.23",
28
+ "purl": "pkg:npm/%40blamejs/exceptd-skills@0.12.24",
29
29
  "externalReferences": [
30
30
  {
31
31
  "type": "distribution",
32
- "url": "https://www.npmjs.com/package/@blamejs/exceptd-skills/v/0.12.23"
32
+ "url": "https://www.npmjs.com/package/@blamejs/exceptd-skills/v/0.12.24"
33
33
  },
34
34
  {
35
35
  "type": "vcs",
@@ -448,6 +448,57 @@ function coversCveIoc(corpus, cveId) {
448
448
 
449
449
  // --- Main analyzer ----------------------------------------------------------
450
450
 
451
+ // --- Class-level lint: ban coincidence-passing notEqual(r.status, 0) --------
452
+ //
453
+ // CLAUDE.md anti-coincidence rule: every exit-code assertion must pin the
454
+ // EXACT code. `assert.notEqual(r.status, 0)` silently passes when an
455
+ // unrelated failure produces ANY non-zero exit, hiding the regression the
456
+ // test was meant to catch. This lint walks tests/*.test.js and rejects the
457
+ // pattern outright. The `// allow-notEqual: <reason>` opt-out on the same
458
+ // line is the escape hatch for genuine refusal-pins (asserting NOT a
459
+ // specific code) — those must justify themselves inline.
460
+ //
461
+ // Pattern hits any of:
462
+ // assert.notEqual(r.status, 0)
463
+ // assert.notEqual(result.status, 0, '...')
464
+ // assert.notEqual(foo.status, 2, 'must not be unknown-cmd') ← also refused
465
+ // unless the same line ends with `// allow-notEqual: <reason>`.
466
+ //
467
+ // Cycle 8 JJJ: pre-fix, this class was a per-instance hunt across 25+ test
468
+ // sites. Moving it to a structural lint keeps new tests / new ports from
469
+ // regressing. Fix the class, not the instance (CLAUDE.md pitfall).
470
+ function scanForCoincidenceAsserts(cwd) {
471
+ const out = [];
472
+ const testsDir = path.join(cwd, "tests");
473
+ if (!fs.existsSync(testsDir)) return out;
474
+ // Match `assert.notEqual( <ident>.status` — the receiver name varies
475
+ // (r, r1, result, child, etc.) but the .status access is the signal.
476
+ const banRe = /assert\.notEqual\s*\(\s*[A-Za-z_$][\w$]*\.status\b/;
477
+ const allowRe = /\/\/\s*allow-notEqual\s*:/;
478
+ const skipPrefix = "_helpers"; // helpers may legitimately reference the pattern
479
+ for (const entry of fs.readdirSync(testsDir, { withFileTypes: true })) {
480
+ if (!entry.isFile()) continue;
481
+ if (entry.name.startsWith(skipPrefix)) continue;
482
+ if (!entry.name.endsWith(".test.js")) continue;
483
+ const filePath = path.join(testsDir, entry.name);
484
+ let body;
485
+ try { body = fs.readFileSync(filePath, "utf8"); }
486
+ catch { continue; }
487
+ const lines = body.split(/\r?\n/);
488
+ for (let i = 0; i < lines.length; i++) {
489
+ const line = lines[i];
490
+ if (!banRe.test(line)) continue;
491
+ if (allowRe.test(line)) continue;
492
+ out.push({
493
+ file: path.join("tests", entry.name).replace(/\\/g, "/"),
494
+ line: i + 1,
495
+ snippet: line.trim(),
496
+ });
497
+ }
498
+ }
499
+ return out;
500
+ }
501
+
451
502
  function analyze(opts) {
452
503
  const cwd = opts.repo || ROOT;
453
504
  // v0.12.8: resolve the diff anchor ONCE and thread it through every
@@ -526,6 +577,21 @@ function analyze(opts) {
526
577
  }
527
578
  }
528
579
 
580
+ // Class-level lint: ban `notEqual(<ident>.status, N)` outside of
581
+ // refusal-pin allowlist comments. Runs irrespective of the diff —
582
+ // a coincidence-passing assert that lands via a non-test-coverage
583
+ // path (someone hand-edits a tests/ file in a docs-only commit) is
584
+ // still a regression vector the gate must catch.
585
+ const coincidenceFindings = scanForCoincidenceAsserts(cwd);
586
+ for (const f of coincidenceFindings) {
587
+ findings.push({
588
+ file: f.file,
589
+ kind: "coincidence-assert",
590
+ surface: f.snippet,
591
+ change: `line ${f.line}: pin to exact exit code; see CLAUDE.md anti-coincidence rule. Opt out only with \`// allow-notEqual: <reason>\` on the same line for genuine refusal-pins.`,
592
+ });
593
+ }
594
+
529
595
  return { findings, allowlisted, manualReview, totalChanged: changed.length };
530
596
  }
531
597
 
@@ -595,5 +661,6 @@ module.exports = {
595
661
  analyze, parseArgs, categorize,
596
662
  extractCliSurface, extractLibExports, extractPlaybookIds, extractCveIocChanges,
597
663
  coversCliVerb, coversCliFlag, coversLibExport, coversPlaybookId, coversCveIoc,
664
+ scanForCoincidenceAsserts,
598
665
  DOCS_ALWAYS_GREEN,
599
666
  };
@@ -300,6 +300,15 @@ try {
300
300
  const liveFpLine = `SHA256:${pubFp}`;
301
301
  if (firstLine !== liveFpLine) {
302
302
  if (process.env.KEYS_ROTATED === "1") {
303
+ // Surface the override through the structured warning channel as
304
+ // well so any caller listening on `process.on('warning')` can
305
+ // observe the key-rotation acceptance. Matches the three peer
306
+ // sites (bin/exceptd.js, lib/refresh-network.js, lib/verify.js).
307
+ process.emitWarning(
308
+ `extracted public.pem fingerprint ${liveFpLine} differs from pin ${firstLine}; KEYS_ROTATED=1 accepted. ` +
309
+ `Update keys/EXPECTED_FINGERPRINT to lock the new pin.`,
310
+ { code: "EXCEPTD_KEYS_ROTATED_OVERRIDE" }
311
+ );
303
312
  emit(`WARN: extracted public.pem fingerprint ${liveFpLine} differs from pin ${firstLine}; KEYS_ROTATED=1 accepted`);
304
313
  } else {
305
314
  fail(