blitzstrike 2.4.174 → 2.4.175

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
@@ -5,6 +5,16 @@ All notable changes to Blitz Strike are documented here.
5
5
  The format follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/).
7
7
 
8
+ ## [2.4.175] — 2026-10-11
9
+
10
+ ### Added — evidence roles (structured proof/baseline/verification/supporting)
11
+
12
+ - Evidence records now carry a `role` (proof = trigger request/response, baseline =
13
+ normal request, verification = negative control/marker, supporting = anything else).
14
+ - `finding_attach_evidence` accepts a `role`; new `finding_evidence_roles` tool
15
+ returns the role breakdown + a `reproducible` flag (true only when a finding has
16
+ proof + baseline + verification — the three roles a HackerOne-grade PoC needs).
17
+
8
18
  ## [2.4.174] — 2026-10-11
9
19
 
10
20
  ### Added — observation ledger + lineage (third write-back channel)
package/dist/index.js CHANGED
@@ -33211,6 +33211,7 @@ function makeEvidence(input) {
33211
33211
  return {
33212
33212
  evidence_id: nextEvidenceId(),
33213
33213
  type: input.type,
33214
+ role: input.role ?? "supporting",
33214
33215
  description: redactSecrets(input.description),
33215
33216
  source: input.source ? redactObject(input.source) : undefined,
33216
33217
  sink: input.sink ? redactObject(input.sink) : undefined,
@@ -33236,6 +33237,18 @@ function verifyEvidence(evidence) {
33236
33237
  }
33237
33238
  return { ok: failed.length === 0, failed };
33238
33239
  }
33240
+ function evidenceRoles(evidence) {
33241
+ const roles = { proof: 0, baseline: 0, verification: 0, supporting: 0 };
33242
+ for (const e of evidence)
33243
+ roles[e.role] = (roles[e.role] ?? 0) + 1;
33244
+ return {
33245
+ roles,
33246
+ proof: roles.proof > 0,
33247
+ baseline: roles.baseline > 0,
33248
+ verification: roles.verification > 0,
33249
+ reproducible: roles.proof > 0 && roles.baseline > 0 && roles.verification > 0
33250
+ };
33251
+ }
33239
33252
 
33240
33253
  // src/invariants.ts
33241
33254
  function checkFindingInvariants(finding) {
@@ -66758,23 +66771,45 @@ ${statusLine}` : statusLine },
66758
66771
  });
66759
66772
  server.registerTool("finding_attach_evidence", {
66760
66773
  title: "Attach evidence to a finding",
66761
- description: "FINDINGS: attach a redacted, SHA-256-tagged evidence record to an existing canonical finding (without advancing its lifecycle).",
66774
+ description: "FINDINGS: attach a redacted, SHA-256-tagged evidence record to an existing canonical finding (without advancing its lifecycle). Pass role (proof = the request/response that triggered it; baseline = the normal request showing the differential; verification = the negative control/marker; supporting = anything else) so the finding's evidence stays structured. A reproducible PoC needs proof + baseline + verification.",
66762
66775
  inputSchema: {
66763
66776
  finding: string2().describe("JSON of the Finding object"),
66764
66777
  type: string2().describe("Evidence type (source_location/response/validation_result/negative_control/...)"),
66765
66778
  description: string2().describe("Evidence description"),
66779
+ role: _enum(["proof", "baseline", "verification", "supporting"]).optional().describe("Evidence role (default supporting)"),
66766
66780
  content: string2().optional().describe("Evidence artifact content")
66767
66781
  }
66768
- }, async ({ finding, type, description, content }) => {
66782
+ }, async ({ finding, type, description, role, content }) => {
66769
66783
  let f;
66770
66784
  try {
66771
66785
  f = JSON.parse(finding);
66772
66786
  } catch {
66773
66787
  return { content: [{ type: "text", text: JSON.stringify({ error: "invalid finding JSON" }) }] };
66774
66788
  }
66775
- const ev = makeEvidence({ type, description, artifacts: content ? [{ name: "artifact", kind: "evidence", content }] : [] });
66789
+ const ev = makeEvidence({ type, role, description, artifacts: content ? [{ name: "artifact", kind: "evidence", content }] : [] });
66776
66790
  const updated = attachEvidence(f, ev);
66777
- return { content: [{ type: "text", text: JSON.stringify(updated) }] };
66791
+ return { content: [{ type: "text", text: JSON.stringify({ ...updated, roles: evidenceRoles(updated.evidence) }) }] };
66792
+ });
66793
+ server.registerTool("finding_evidence_roles", {
66794
+ title: "Summarize a finding's evidence by role",
66795
+ description: "FINDINGS: given a finding, return its evidence broken down by role (proof/baseline/verification/supporting) + a `reproducible` flag (true only when it has proof + baseline + verification). Check this before submitting a report: a finding that is not `reproducible` is missing the trigger/differential/negative-control evidence a HackerOne-grade PoC needs.",
66796
+ inputSchema: {
66797
+ finding: string2().describe("JSON of the Finding object")
66798
+ }
66799
+ }, async ({ finding }) => {
66800
+ let f;
66801
+ try {
66802
+ f = JSON.parse(finding);
66803
+ } catch {
66804
+ return { content: [{ type: "text", text: JSON.stringify({ error: "invalid finding JSON" }) }] };
66805
+ }
66806
+ const roles = evidenceRoles(f.evidence ?? []);
66807
+ const missing = [
66808
+ !roles.proof ? "proof (trigger request/response)" : null,
66809
+ !roles.baseline ? "baseline (normal request)" : null,
66810
+ !roles.verification ? "verification (negative control/marker)" : null
66811
+ ].filter(Boolean);
66812
+ return { content: [{ type: "text", text: JSON.stringify({ ...roles, missing: missing.length ? missing : undefined, hint: roles.reproducible ? "reproducible — evidence complete" : "NOT reproducible — attach the missing roles via finding_attach_evidence" }) }] };
66778
66813
  });
66779
66814
  server.registerTool("redact", {
66780
66815
  title: "Redact secrets from text",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blitzstrike",
3
- "version": "2.4.174",
3
+ "version": "2.4.175",
4
4
  "description": "Blitz Strike — a universal MCP security-audit toolbelt. BLITZ sweeps the attack surface, EAGLE-EYE traces source-to-sink, STRIKE verifies live. 57 attack chains, 130-tool catalog, intelligence data layer. One server, every agent.",
5
5
  "type": "module",
6
6
  "bin": {