@clear-capabilities/agentic-security-scanner 0.74.0 → 0.75.0

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,36 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.75.0 — /executive-summary: CISO-facing six-control posture report
4
+
5
+ New top-level command for buyer-questionnaire / diligence / CISO use.
6
+ `/executive-summary` prints a plain-English briefing of the six harness
7
+ controls (Tool access, Guardrails, Feedback loops, Audit evidence,
8
+ Failure mode, Compliance) with live status indicators drawn from the
9
+ current project state — hook activation, scan-signature presence,
10
+ audit-log entry count, remote-witness configuration, compliance artifacts.
11
+
12
+ Each control renders four named subsections modeled on `/explain`:
13
+ **What it does** (2-3 paragraphs of plain English), **Specifically**
14
+ (the concrete enumerated list of allows/blocks/intercepts), **What would
15
+ have to go wrong for this to fail** (threat model in one paragraph), and
16
+ **Live status (this project)** (verifiable indicators). The "Specifically"
17
+ block names actual reserved paths, every shell command intercepted, every
18
+ code-edit pattern blocked, every audit-log property, every refusal point,
19
+ and every compliance artifact format — so a reviewer can verify the claim
20
+ without opening any source file.
21
+
22
+ Flags: `--format md` for markdown output; `--output PATH` writes to disk
23
+ (typically `EXECUTIVE_SUMMARY.md` for buyer questionnaires).
24
+
25
+ ## 0.74.2 — npm package + version alignment
26
+
27
+ First release published to npm under the org that owns the scope:
28
+ `@clear-capabilities/agentic-security-scanner`. Adds a bin alias
29
+ `agentic-security-scanner` (→ same dist bundle) so the documented
30
+ `npx @clear-capabilities/agentic-security-scanner secure .` resolves
31
+ an executable. Aligns the source-tree version with the npm registry
32
+ after the 0.74.1 metadata-only publish.
33
+
3
34
  ## 0.74.0 — viral surface: PoC video gen + security-tutor skill + personality voices + compare runner
4
35
 
5
36
  Four shareability lifts.
@@ -1,7 +1,7 @@
1
1
  {
2
- "scanId": "e6825f8d-bb61-42eb-9f3c-3847b2e493fd",
3
- "startedAt": "2026-05-20T21:28:34.505Z",
4
- "durationMs": 297,
2
+ "scanId": "8f54c078-a0c8-41d7-8100-62ec5a527f14",
3
+ "startedAt": "2026-05-21T15:57:04.526Z",
4
+ "durationMs": 282,
5
5
  "scanned": {
6
6
  "files": 7,
7
7
  "lines": 0
@@ -86,7 +86,9 @@
86
86
  "comparable": "Snyk 2022 path-traversal disclosure → CDN cache poisoning + .env exfil",
87
87
  "confidence": "low",
88
88
  "narrative": "Sensitive Directory Path Construction on `agentic-security-audit.js:51` could expose configuration / internal data. Context: general SaaS / no specific regulatory exposure. Estimated cost: best $23k · likely $136k · worst $775k. Dominant driver: legal counsel. Comparable: Snyk 2022 path-traversal disclosure → CDN cache poisoning + .env exfil."
89
- }
89
+ },
90
+ "parser": "LOGIC",
91
+ "family": null
90
92
  },
91
93
  {
92
94
  "id": "toctou-fs:agentic-security-audit.js:55",
@@ -195,6 +197,7 @@
195
197
  "unvalidated": true,
196
198
  "cross_language": false,
197
199
  "family": "toctou-file-existence-permission-check-b",
200
+ "parser": "TOCTOU",
198
201
  "_unsigned": false,
199
202
  "_passThroughSigning": false,
200
203
  "signatureStatus": "verified",
@@ -418,6 +421,7 @@
418
421
  "unvalidated": true,
419
422
  "cross_language": false,
420
423
  "family": "toctou-file-existence-permission-check-b",
424
+ "parser": "TOCTOU",
421
425
  "_unsigned": false,
422
426
  "_passThroughSigning": false,
423
427
  "signatureStatus": "verified",
@@ -639,6 +643,7 @@
639
643
  "unvalidated": true,
640
644
  "cross_language": false,
641
645
  "family": "toctou-file-existence-permission-check-b",
646
+ "parser": "TOCTOU",
642
647
  "_unsigned": false,
643
648
  "_passThroughSigning": false,
644
649
  "signatureStatus": "verified",
@@ -860,6 +865,7 @@
860
865
  "unvalidated": true,
861
866
  "cross_language": false,
862
867
  "family": "toctou-file-existence-permission-check-b",
868
+ "parser": "TOCTOU",
863
869
  "_unsigned": false,
864
870
  "_passThroughSigning": false,
865
871
  "signatureStatus": "verified",
@@ -1053,7 +1059,9 @@
1053
1059
  "comparable": "Generic finding — likely cost driven by user count + jurisdiction stack",
1054
1060
  "confidence": "low",
1055
1061
  "narrative": "Missing Unsigned Numeric Validation on `agentic-security-audit.js:131` could expose configuration / internal data. Context: general SaaS / no specific regulatory exposure. Estimated cost: best $23k · likely $136k · worst $775k. Dominant driver: legal counsel. Comparable: Generic finding — likely cost driven by user count + jurisdiction stack."
1056
- }
1062
+ },
1063
+ "parser": "LOGIC",
1064
+ "family": null
1057
1065
  },
1058
1066
  {
1059
1067
  "id": "logic:agentic-security-audit.js:55:TOCTOU:_existsSync_followed_by_file_op",
@@ -1134,7 +1142,9 @@
1134
1142
  "comparable": "Generic finding — likely cost driven by user count + jurisdiction stack",
1135
1143
  "confidence": "low",
1136
1144
  "narrative": "TOCTOU: existsSync followed by file op on `agentic-security-audit.js:55` could expose configuration / internal data. Context: general SaaS / no specific regulatory exposure. Estimated cost: best $23k · likely $136k · worst $775k. Dominant driver: legal counsel. Comparable: Generic finding — likely cost driven by user count + jurisdiction stack."
1137
- }
1145
+ },
1146
+ "parser": "LOGIC",
1147
+ "family": null
1138
1148
  },
1139
1149
  {
1140
1150
  "id": "e2445e40b5e43c01",
@@ -1215,7 +1225,9 @@
1215
1225
  "comparable": "Generic finding — likely cost driven by user count + jurisdiction stack",
1216
1226
  "confidence": "low",
1217
1227
  "narrative": "Race Condition (TOCTOU) on `agentic-security-consistency.js:66` could expose configuration / internal data. Context: general SaaS / no specific regulatory exposure. Estimated cost: best $23k · likely $136k · worst $775k. Dominant driver: legal counsel. Comparable: Generic finding — likely cost driven by user count + jurisdiction stack."
1218
- }
1228
+ },
1229
+ "parser": "LOGIC",
1230
+ "family": null
1219
1231
  },
1220
1232
  {
1221
1233
  "id": "logic:agentic-security-consistency.js:44:TOCTOU:_existsSync_followed_by_file_op",
@@ -1296,7 +1308,9 @@
1296
1308
  "comparable": "Generic finding — likely cost driven by user count + jurisdiction stack",
1297
1309
  "confidence": "low",
1298
1310
  "narrative": "TOCTOU: existsSync followed by file op on `agentic-security-consistency.js:44` could expose configuration / internal data. Context: general SaaS / no specific regulatory exposure. Estimated cost: best $23k · likely $136k · worst $775k. Dominant driver: legal counsel. Comparable: Generic finding — likely cost driven by user count + jurisdiction stack."
1299
- }
1311
+ },
1312
+ "parser": "LOGIC",
1313
+ "family": null
1300
1314
  },
1301
1315
  {
1302
1316
  "id": "logic:agentic-security-consistency.js:66:TOCTOU:_existsSync_followed_by_file_op",
@@ -1377,7 +1391,9 @@
1377
1391
  "comparable": "Generic finding — likely cost driven by user count + jurisdiction stack",
1378
1392
  "confidence": "low",
1379
1393
  "narrative": "TOCTOU: existsSync followed by file op on `agentic-security-consistency.js:66` could expose configuration / internal data. Context: general SaaS / no specific regulatory exposure. Estimated cost: best $23k · likely $136k · worst $775k. Dominant driver: legal counsel. Comparable: Generic finding — likely cost driven by user count + jurisdiction stack."
1380
- }
1394
+ },
1395
+ "parser": "LOGIC",
1396
+ "family": null
1381
1397
  },
1382
1398
  {
1383
1399
  "id": "49e1e00962a1950c",
@@ -1458,7 +1474,9 @@
1458
1474
  "comparable": "Generic finding — likely cost driven by user count + jurisdiction stack",
1459
1475
  "confidence": "low",
1460
1476
  "narrative": "Weak Randomness on `agentic-security-rule.js:98` could expose configuration / internal data. Context: general SaaS / no specific regulatory exposure. Estimated cost: best $23k · likely $136k · worst $775k. Dominant driver: legal counsel. Comparable: Generic finding — likely cost driven by user count + jurisdiction stack."
1461
- }
1477
+ },
1478
+ "parser": "LOGIC",
1479
+ "family": null
1462
1480
  }
1463
1481
  ],
1464
1482
  "bundles": [],
@@ -1573,5 +1591,6 @@
1573
1591
  "alarms": [],
1574
1592
  "note": "no-feedback-data"
1575
1593
  }
1576
- }
1594
+ },
1595
+ "annotatorErrors": []
1577
1596
  }
@@ -1,7 +1,7 @@
1
1
  {
2
- "scanId": "e6825f8d-bb61-42eb-9f3c-3847b2e493fd",
3
- "startedAt": "2026-05-20T21:28:34.505Z",
4
- "durationMs": 297,
2
+ "scanId": "8f54c078-a0c8-41d7-8100-62ec5a527f14",
3
+ "startedAt": "2026-05-21T15:57:04.526Z",
4
+ "durationMs": 282,
5
5
  "scanned": {
6
6
  "files": 7,
7
7
  "lines": 0
@@ -86,7 +86,9 @@
86
86
  "comparable": "Snyk 2022 path-traversal disclosure → CDN cache poisoning + .env exfil",
87
87
  "confidence": "low",
88
88
  "narrative": "Sensitive Directory Path Construction on `agentic-security-audit.js:51` could expose configuration / internal data. Context: general SaaS / no specific regulatory exposure. Estimated cost: best $23k · likely $136k · worst $775k. Dominant driver: legal counsel. Comparable: Snyk 2022 path-traversal disclosure → CDN cache poisoning + .env exfil."
89
- }
89
+ },
90
+ "parser": "LOGIC",
91
+ "family": null
90
92
  },
91
93
  {
92
94
  "id": "toctou-fs:agentic-security-audit.js:55",
@@ -195,6 +197,7 @@
195
197
  "unvalidated": true,
196
198
  "cross_language": false,
197
199
  "family": "toctou-file-existence-permission-check-b",
200
+ "parser": "TOCTOU",
198
201
  "_unsigned": false,
199
202
  "_passThroughSigning": false,
200
203
  "signatureStatus": "verified",
@@ -418,6 +421,7 @@
418
421
  "unvalidated": true,
419
422
  "cross_language": false,
420
423
  "family": "toctou-file-existence-permission-check-b",
424
+ "parser": "TOCTOU",
421
425
  "_unsigned": false,
422
426
  "_passThroughSigning": false,
423
427
  "signatureStatus": "verified",
@@ -639,6 +643,7 @@
639
643
  "unvalidated": true,
640
644
  "cross_language": false,
641
645
  "family": "toctou-file-existence-permission-check-b",
646
+ "parser": "TOCTOU",
642
647
  "_unsigned": false,
643
648
  "_passThroughSigning": false,
644
649
  "signatureStatus": "verified",
@@ -860,6 +865,7 @@
860
865
  "unvalidated": true,
861
866
  "cross_language": false,
862
867
  "family": "toctou-file-existence-permission-check-b",
868
+ "parser": "TOCTOU",
863
869
  "_unsigned": false,
864
870
  "_passThroughSigning": false,
865
871
  "signatureStatus": "verified",
@@ -1053,7 +1059,9 @@
1053
1059
  "comparable": "Generic finding — likely cost driven by user count + jurisdiction stack",
1054
1060
  "confidence": "low",
1055
1061
  "narrative": "Missing Unsigned Numeric Validation on `agentic-security-audit.js:131` could expose configuration / internal data. Context: general SaaS / no specific regulatory exposure. Estimated cost: best $23k · likely $136k · worst $775k. Dominant driver: legal counsel. Comparable: Generic finding — likely cost driven by user count + jurisdiction stack."
1056
- }
1062
+ },
1063
+ "parser": "LOGIC",
1064
+ "family": null
1057
1065
  },
1058
1066
  {
1059
1067
  "id": "logic:agentic-security-audit.js:55:TOCTOU:_existsSync_followed_by_file_op",
@@ -1134,7 +1142,9 @@
1134
1142
  "comparable": "Generic finding — likely cost driven by user count + jurisdiction stack",
1135
1143
  "confidence": "low",
1136
1144
  "narrative": "TOCTOU: existsSync followed by file op on `agentic-security-audit.js:55` could expose configuration / internal data. Context: general SaaS / no specific regulatory exposure. Estimated cost: best $23k · likely $136k · worst $775k. Dominant driver: legal counsel. Comparable: Generic finding — likely cost driven by user count + jurisdiction stack."
1137
- }
1145
+ },
1146
+ "parser": "LOGIC",
1147
+ "family": null
1138
1148
  },
1139
1149
  {
1140
1150
  "id": "e2445e40b5e43c01",
@@ -1215,7 +1225,9 @@
1215
1225
  "comparable": "Generic finding — likely cost driven by user count + jurisdiction stack",
1216
1226
  "confidence": "low",
1217
1227
  "narrative": "Race Condition (TOCTOU) on `agentic-security-consistency.js:66` could expose configuration / internal data. Context: general SaaS / no specific regulatory exposure. Estimated cost: best $23k · likely $136k · worst $775k. Dominant driver: legal counsel. Comparable: Generic finding — likely cost driven by user count + jurisdiction stack."
1218
- }
1228
+ },
1229
+ "parser": "LOGIC",
1230
+ "family": null
1219
1231
  },
1220
1232
  {
1221
1233
  "id": "logic:agentic-security-consistency.js:44:TOCTOU:_existsSync_followed_by_file_op",
@@ -1296,7 +1308,9 @@
1296
1308
  "comparable": "Generic finding — likely cost driven by user count + jurisdiction stack",
1297
1309
  "confidence": "low",
1298
1310
  "narrative": "TOCTOU: existsSync followed by file op on `agentic-security-consistency.js:44` could expose configuration / internal data. Context: general SaaS / no specific regulatory exposure. Estimated cost: best $23k · likely $136k · worst $775k. Dominant driver: legal counsel. Comparable: Generic finding — likely cost driven by user count + jurisdiction stack."
1299
- }
1311
+ },
1312
+ "parser": "LOGIC",
1313
+ "family": null
1300
1314
  },
1301
1315
  {
1302
1316
  "id": "logic:agentic-security-consistency.js:66:TOCTOU:_existsSync_followed_by_file_op",
@@ -1377,7 +1391,9 @@
1377
1391
  "comparable": "Generic finding — likely cost driven by user count + jurisdiction stack",
1378
1392
  "confidence": "low",
1379
1393
  "narrative": "TOCTOU: existsSync followed by file op on `agentic-security-consistency.js:66` could expose configuration / internal data. Context: general SaaS / no specific regulatory exposure. Estimated cost: best $23k · likely $136k · worst $775k. Dominant driver: legal counsel. Comparable: Generic finding — likely cost driven by user count + jurisdiction stack."
1380
- }
1394
+ },
1395
+ "parser": "LOGIC",
1396
+ "family": null
1381
1397
  },
1382
1398
  {
1383
1399
  "id": "49e1e00962a1950c",
@@ -1458,7 +1474,9 @@
1458
1474
  "comparable": "Generic finding — likely cost driven by user count + jurisdiction stack",
1459
1475
  "confidence": "low",
1460
1476
  "narrative": "Weak Randomness on `agentic-security-rule.js:98` could expose configuration / internal data. Context: general SaaS / no specific regulatory exposure. Estimated cost: best $23k · likely $136k · worst $775k. Dominant driver: legal counsel. Comparable: Generic finding — likely cost driven by user count + jurisdiction stack."
1461
- }
1477
+ },
1478
+ "parser": "LOGIC",
1479
+ "family": null
1462
1480
  }
1463
1481
  ],
1464
1482
  "bundles": [],
@@ -1573,5 +1591,6 @@
1573
1591
  "alarms": [],
1574
1592
  "note": "no-feedback-data"
1575
1593
  }
1576
- }
1594
+ },
1595
+ "annotatorErrors": []
1577
1596
  }
@@ -1 +1 @@
1
- dddfa3a4abc90266b882b4945a7aba57b8e97cc726aa60f4578cfaefcd23b95b
1
+ db7c9e1d0d4480b37a981b7b3c87f70306042f6e8838cb6ea2bfafdd12ab20d2
@@ -1,15 +1,4 @@
1
1
  [
2
- {
3
- "timestamp": "2026-05-19T15:44:43.087Z",
4
- "label": "scan",
5
- "total": 0,
6
- "critical": 0,
7
- "high": 0,
8
- "medium": 0,
9
- "low": 0,
10
- "kev": 0,
11
- "ids": []
12
- },
13
2
  {
14
3
  "timestamp": "2026-05-19T16:01:41.762Z",
15
4
  "label": "scan",
@@ -461,5 +450,21 @@
461
450
  "toctou-fs:agentic-security-consistency.js:66",
462
451
  "toctou-fs:agentic-security.js:1105"
463
452
  ]
453
+ },
454
+ {
455
+ "timestamp": "2026-05-21T15:57:04.808Z",
456
+ "label": "scan",
457
+ "total": 4,
458
+ "critical": 0,
459
+ "high": 0,
460
+ "medium": 4,
461
+ "low": 0,
462
+ "kev": 0,
463
+ "ids": [
464
+ "toctou-fs:agentic-security-audit.js:55",
465
+ "toctou-fs:agentic-security-consistency.js:44",
466
+ "toctou-fs:agentic-security-consistency.js:66",
467
+ "toctou-fs:agentic-security.js:1105"
468
+ ]
464
469
  }
465
470
  ]
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "firstScanDate": "2026-05-15T12:24:29.316Z",
3
- "lastScanDate": "2026-05-20T21:28:34.823Z",
4
- "totalScans": 121,
5
- "daysCleanCritical": 3,
6
- "lastCleanDate": "2026-05-20",
3
+ "lastScanDate": "2026-05-21T15:57:04.828Z",
4
+ "totalScans": 122,
5
+ "daysCleanCritical": 4,
6
+ "lastCleanDate": "2026-05-21",
7
7
  "lastCriticalDate": null,
8
8
  "hasEverHadCritical": false,
9
- "bestDaysCleanCritical": 3,
9
+ "bestDaysCleanCritical": 4,
10
10
  "totalFindingsAtFirstScan": 0,
11
11
  "totalFindingsAtLastScan": 11,
12
12
  "totalFixesInferred": 1,
@@ -137,7 +137,7 @@ function printBanner(args) {
137
137
  BOLD: '\x1b[1m',
138
138
  RESET: '\x1b[0m',
139
139
  } : { FROG:'', DEEP:'', CREAM:'', DIM:'', BOLD:'', RESET:'' };
140
- const v = '0.74.0';
140
+ const v = '0.75.0';
141
141
  const compact = !args.flags.full;
142
142
  if (compact) {
143
143
  const lines = [
@@ -1665,7 +1665,7 @@ async function main() {
1665
1665
  }
1666
1666
  process.exit(0);
1667
1667
  }
1668
- case 'version': console.log('agentic-security 0.74.0 · created by ClearCapabilities.Com'); process.exit(0);
1668
+ case 'version': console.log('agentic-security 0.75.0 · created by ClearCapabilities.Com'); process.exit(0);
1669
1669
  case 'banner': { printBanner(args); process.exit(0); }
1670
1670
  case 'harness': process.exit(await cmdHarness(args));
1671
1671
  case 'scan-baseline': process.exit(await cmdScanBaseline(args));