blitzstrike 2.4.105 → 2.4.106

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,20 @@ 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.106] — 2026-09-17
9
+
10
+ ### Added — report assembly (metadata + vulnerability-location block)
11
+
12
+ - `reportMarkdown` now emits a `## 0. Report Metadata` table (Report ID,
13
+ Program/Scope, tool version, optional timestamp). The Report ID is DERIVED
14
+ deterministically (djb2 of title+scope → `BS-XXXXXX`) unless overridden via
15
+ `report_id`, so reports stay byte-reproducible.
16
+ - Added `param` + `method` to `FindingTarget`; each detailed finding now renders
17
+ a Vulnerability Location block (Affected URL, Endpoint, Parameter, Method)
18
+ alongside the existing Severity/CWE/Status/Confidence/Source/Sink/CVSS table —
19
+ matching the report-template structure (Executive Summary → Location →
20
+ Description → numbered Steps → Impact → Remediation → References).
21
+
8
22
  ## [2.4.105] — 2026-09-17
9
23
 
10
24
  ### Added — technique depth (concrete tools + payloads in the technique base)
package/dist/index.js CHANGED
@@ -35752,13 +35752,30 @@ function summarize(findings) {
35752
35752
  evidence_less_findings: evidenceLess
35753
35753
  };
35754
35754
  }
35755
+ function djb2(s) {
35756
+ let h = 5381;
35757
+ for (let i = 0;i < s.length; i++)
35758
+ h = (h << 5) + h + s.charCodeAt(i) >>> 0;
35759
+ return h.toString(16).padStart(8, "0").toUpperCase();
35760
+ }
35755
35761
  function reportMarkdown(findings, opts = {}) {
35756
35762
  const summary = summarize(findings);
35757
35763
  const lines = [];
35758
35764
  const title = opts.title ?? "Blitz Strike — Security Assessment Report";
35759
35765
  const scope = opts.scope ?? "(unset)";
35766
+ const reportId = opts.report_id ?? `BS-${djb2(`${title}|${scope}`).slice(0, 6)}`;
35760
35767
  lines.push(`# ${title}`);
35761
35768
  lines.push("");
35769
+ lines.push("## 0. Report Metadata");
35770
+ lines.push("");
35771
+ lines.push("| Field | Value |");
35772
+ lines.push("|-------|-------|");
35773
+ lines.push(`| Report ID | \`${reportId}\` |`);
35774
+ lines.push(`| Program / Scope | ${scope} |`);
35775
+ lines.push(`| Tool version | ${opts.version ?? "unknown"} |`);
35776
+ if (opts.include_timestamp)
35777
+ lines.push(`| Generated | ${new Date().toISOString()} |`);
35778
+ lines.push("");
35762
35779
  const confirmed = findings.filter((f) => f.status === "confirmed");
35763
35780
  const hypotheses = findings.filter((f) => f.status === "hypothesis" || f.status === "validating");
35764
35781
  const fps = findings.filter((f) => f.status === "false_positive");
@@ -35830,6 +35847,12 @@ function reportMarkdown(findings, opts = {}) {
35830
35847
  lines.push(`| Confidence | ${f.confidence ?? "—"} (${f.confidence_level ?? "unscored"}) |`);
35831
35848
  if (target)
35832
35849
  lines.push(`| Affected | ${target} |`);
35850
+ if (f.target?.endpoint)
35851
+ lines.push(`| Endpoint | \`${f.target.endpoint}\` |`);
35852
+ if (f.target?.param)
35853
+ lines.push(`| Parameter | \`${f.target.param}\` |`);
35854
+ if (f.target?.method)
35855
+ lines.push(`| Method | \`${f.target.method}\` |`);
35833
35856
  if (f.source?.type || f.source?.name)
35834
35857
  lines.push(`| Source | ${f.source?.type ?? ""} \`${f.source?.name ?? ""}\``);
35835
35858
  if (f.sink?.type || f.sink?.symbol)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blitzstrike",
3
- "version": "2.4.105",
3
+ "version": "2.4.106",
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": {