blitzstrike 2.4.81 → 2.4.82
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 +14 -0
- package/dist/index.js +233 -35
- package/package.json +1 -1
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.82] — 2026-09-17
|
|
9
|
+
|
|
10
|
+
### Added — out-of-band (OOB) listener for blind vuln proof
|
|
11
|
+
|
|
12
|
+
- New `oob_start` / `oob_poll` / `oob_stop` / `oob_list` tools give deterministic
|
|
13
|
+
proof for BLIND SSRF/XXE/SQLi/command-injection that never reflect in the HTTP
|
|
14
|
+
response. `oob_start` prefers the installed `interactsh-client` (unique *.oast.*
|
|
15
|
+
domain streaming DNS/HTTP interactions — the standard for public targets) and
|
|
16
|
+
falls back to a local HTTP listener for local labs. `oob_poll(id)` reports a hit
|
|
17
|
+
ONLY when an interaction for the session's unique id actually arrives. Handles
|
|
18
|
+
interactsh's ANSI-colored `[INF]` banner + JSONL interaction parsing.
|
|
19
|
+
|
|
20
|
+
Competitive analysis source: Awarexone/Agentic-Bug-Hunter (interactsh OOB).
|
|
21
|
+
|
|
8
22
|
## [2.4.81] — 2026-09-17
|
|
9
23
|
|
|
10
24
|
### Added — impact-first prioritization via typical bounty payout
|
package/dist/index.js
CHANGED
|
@@ -17358,10 +17358,10 @@ var init_update = __esm(() => {
|
|
|
17358
17358
|
});
|
|
17359
17359
|
|
|
17360
17360
|
// src/release.ts
|
|
17361
|
-
import { readFileSync as readFileSync28, existsSync as
|
|
17361
|
+
import { readFileSync as readFileSync28, existsSync as existsSync15 } from "node:fs";
|
|
17362
17362
|
import { join as join25 } from "node:path";
|
|
17363
17363
|
import { fileURLToPath as fileURLToPath14 } from "node:url";
|
|
17364
|
-
import { execSync as
|
|
17364
|
+
import { execSync as execSync3 } from "node:child_process";
|
|
17365
17365
|
function validateRelease() {
|
|
17366
17366
|
const checks = [];
|
|
17367
17367
|
checks.push({ name: "package.json version", ok: true, detail: VERSION });
|
|
@@ -17378,13 +17378,13 @@ function validateRelease() {
|
|
|
17378
17378
|
checks.push({ name: "CHANGELOG version", ok: false, detail: "CHANGELOG.md not found" });
|
|
17379
17379
|
}
|
|
17380
17380
|
try {
|
|
17381
|
-
const tag =
|
|
17381
|
+
const tag = execSync3("git describe --tags --abbrev=0", { cwd: ROOT8, encoding: "utf8", stdio: ["ignore", "pipe", "ignore"] }).trim();
|
|
17382
17382
|
checks.push({ name: "Git tag", ok: tag === `v${VERSION}`, detail: tag, soft: true });
|
|
17383
17383
|
} catch {
|
|
17384
17384
|
checks.push({ name: "Git tag", ok: true, detail: "unavailable (no git/tags)", soft: true });
|
|
17385
17385
|
}
|
|
17386
17386
|
try {
|
|
17387
|
-
const published =
|
|
17387
|
+
const published = execSync3("npm view blitzstrike version", { encoding: "utf8", timeout: 8000, stdio: ["ignore", "pipe", "ignore"] }).trim();
|
|
17388
17388
|
checks.push({ name: "npm registry version", ok: published === VERSION, detail: published, soft: true });
|
|
17389
17389
|
} catch {
|
|
17390
17390
|
checks.push({ name: "npm registry version", ok: true, detail: "unavailable (offline)", soft: true });
|
|
@@ -17398,7 +17398,7 @@ function validateRelease() {
|
|
|
17398
17398
|
return { version: VERSION, checks, consistent: checks.filter((c) => !c.soft).every((c) => c.ok) };
|
|
17399
17399
|
}
|
|
17400
17400
|
function lockfilePresent() {
|
|
17401
|
-
return
|
|
17401
|
+
return existsSync15(join25(ROOT8, "package-lock.json")) || existsSync15(join25(ROOT8, "bun.lock")) || existsSync15(join25(ROOT8, "bun.lockb"));
|
|
17402
17402
|
}
|
|
17403
17403
|
var ROOT8;
|
|
17404
17404
|
var init_release = __esm(() => {
|
|
@@ -17440,7 +17440,7 @@ var init_dependency = __esm(() => {
|
|
|
17440
17440
|
});
|
|
17441
17441
|
|
|
17442
17442
|
// src/cli.ts
|
|
17443
|
-
import { readFileSync as readFileSync30, existsSync as
|
|
17443
|
+
import { readFileSync as readFileSync30, existsSync as existsSync16, writeFileSync as writeFileSync9, mkdirSync as mkdirSync10 } from "node:fs";
|
|
17444
17444
|
import { join as join27, dirname as dirname6 } from "node:path";
|
|
17445
17445
|
import { homedir as homedir11 } from "node:os";
|
|
17446
17446
|
import { fileURLToPath as fileURLToPath16 } from "node:url";
|
|
@@ -17486,7 +17486,7 @@ async function runDoctor() {
|
|
|
17486
17486
|
detail: h1 ? `X-HackerOne-Research: ${h1}` : "H1_USERNAME not set",
|
|
17487
17487
|
fix: h1 ? undefined : "export H1_USERNAME=<your-hackerone-username> (adds X-HackerOne-Research to outbound requests)"
|
|
17488
17488
|
});
|
|
17489
|
-
const dataOk =
|
|
17489
|
+
const dataOk = existsSync16(join27(ROOT10, "chains.json")) && existsSync16(join27(ROOT10, "tools-catalog.json"));
|
|
17490
17490
|
issues.push({
|
|
17491
17491
|
name: "Data layers (chains + tools-catalog)",
|
|
17492
17492
|
status: dataOk ? "ok" : "fail",
|
|
@@ -17538,14 +17538,14 @@ function resolveCommand() {
|
|
|
17538
17538
|
if (which("blitzstrike"))
|
|
17539
17539
|
return { command: "blitzstrike", args: ["serve", "--mcp"] };
|
|
17540
17540
|
const src = join27(ROOT10, "src", "index.ts");
|
|
17541
|
-
if (which("bun") &&
|
|
17541
|
+
if (which("bun") && existsSync16(src))
|
|
17542
17542
|
return { command: "bun", args: ["run", src, "serve", "--mcp"] };
|
|
17543
17543
|
if (which("npx"))
|
|
17544
17544
|
return { command: "npx", args: ["-y", "blitzstrike", "serve", "--mcp"] };
|
|
17545
17545
|
if (which("bunx"))
|
|
17546
17546
|
return { command: "bunx", args: ["blitzstrike", "serve", "--mcp"] };
|
|
17547
17547
|
const dist = join27(ROOT10, "dist", "index.js");
|
|
17548
|
-
if (
|
|
17548
|
+
if (existsSync16(dist))
|
|
17549
17549
|
return { command: "bun", args: [dist, "serve", "--mcp"] };
|
|
17550
17550
|
return { command: "npx", args: ["-y", "blitzstrike", "serve", "--mcp"] };
|
|
17551
17551
|
}
|
|
@@ -17559,7 +17559,7 @@ function readJson(p) {
|
|
|
17559
17559
|
function jsonMcpServersWrite(p) {
|
|
17560
17560
|
return (command, args) => {
|
|
17561
17561
|
const dir = dirname6(p);
|
|
17562
|
-
if (!
|
|
17562
|
+
if (!existsSync16(dir))
|
|
17563
17563
|
mkdirSync10(dir, { recursive: true });
|
|
17564
17564
|
const existing = readJson(p) ?? {};
|
|
17565
17565
|
existing.mcpServers = {
|
|
@@ -17572,7 +17572,7 @@ function jsonMcpServersWrite(p) {
|
|
|
17572
17572
|
function opencodeWrite(p) {
|
|
17573
17573
|
return (command, args) => {
|
|
17574
17574
|
const dir = dirname6(p);
|
|
17575
|
-
if (!
|
|
17575
|
+
if (!existsSync16(dir))
|
|
17576
17576
|
mkdirSync10(dir, { recursive: true });
|
|
17577
17577
|
const existing = readJson(p) ?? {};
|
|
17578
17578
|
existing.mcp = {
|
|
@@ -17586,14 +17586,14 @@ function opencodeWrite(p) {
|
|
|
17586
17586
|
function copyOpenCodeAgents() {
|
|
17587
17587
|
const srcDir = join27(ROOT10, "opencode-agents");
|
|
17588
17588
|
const dstDir = join27(homedir11(), ".config", "opencode", "agents");
|
|
17589
|
-
if (!
|
|
17589
|
+
if (!existsSync16(srcDir))
|
|
17590
17590
|
return;
|
|
17591
|
-
if (!
|
|
17591
|
+
if (!existsSync16(dstDir))
|
|
17592
17592
|
mkdirSync10(dstDir, { recursive: true });
|
|
17593
17593
|
for (const f of ["Blitz Strike.md", "Blitz.md", "Eagle Eye.md", "Strike.md"]) {
|
|
17594
17594
|
const src = join27(srcDir, f);
|
|
17595
17595
|
const dst = join27(dstDir, f);
|
|
17596
|
-
if (
|
|
17596
|
+
if (existsSync16(src)) {
|
|
17597
17597
|
writeFileSync9(dst, readFileSync30(src, "utf8"));
|
|
17598
17598
|
}
|
|
17599
17599
|
}
|
|
@@ -17601,9 +17601,9 @@ function copyOpenCodeAgents() {
|
|
|
17601
17601
|
function codexWrite(p) {
|
|
17602
17602
|
return (command, args) => {
|
|
17603
17603
|
const dir = dirname6(p);
|
|
17604
|
-
if (!
|
|
17604
|
+
if (!existsSync16(dir))
|
|
17605
17605
|
mkdirSync10(dir, { recursive: true });
|
|
17606
|
-
let existing =
|
|
17606
|
+
let existing = existsSync16(p) ? readFileSync30(p, "utf8") : "";
|
|
17607
17607
|
if (!existing.trimEnd().endsWith(`
|
|
17608
17608
|
`))
|
|
17609
17609
|
existing += `
|
|
@@ -17620,9 +17620,9 @@ args = ${JSON.stringify(args)}
|
|
|
17620
17620
|
function hermesWrite(p) {
|
|
17621
17621
|
return (command, args) => {
|
|
17622
17622
|
const dir = dirname6(p);
|
|
17623
|
-
if (!
|
|
17623
|
+
if (!existsSync16(dir))
|
|
17624
17624
|
mkdirSync10(dir, { recursive: true });
|
|
17625
|
-
let existing =
|
|
17625
|
+
let existing = existsSync16(p) ? readFileSync30(p, "utf8") : "";
|
|
17626
17626
|
existing = existing.replace(/^ blitzstrike:\n(?: .*\n?)*/m, "");
|
|
17627
17627
|
if (!existing.trimEnd().endsWith(`
|
|
17628
17628
|
`))
|
|
@@ -17653,70 +17653,70 @@ function detectAgents() {
|
|
|
17653
17653
|
agents.push({
|
|
17654
17654
|
name: "Claude Code",
|
|
17655
17655
|
detectPath: claudeJson,
|
|
17656
|
-
installed: () =>
|
|
17656
|
+
installed: () => existsSync16(claudeJson) || which("claude"),
|
|
17657
17657
|
write: jsonMcpServersWrite(claudeJson)
|
|
17658
17658
|
});
|
|
17659
17659
|
const claudeDesktop = join27(home, ".config", "Claude", "claude_desktop_config.json");
|
|
17660
17660
|
agents.push({
|
|
17661
17661
|
name: "Claude Desktop",
|
|
17662
17662
|
detectPath: claudeDesktop,
|
|
17663
|
-
installed: () =>
|
|
17663
|
+
installed: () => existsSync16(claudeDesktop),
|
|
17664
17664
|
write: jsonMcpServersWrite(claudeDesktop)
|
|
17665
17665
|
});
|
|
17666
17666
|
const cursor = join27(home, ".cursor", "mcp.json");
|
|
17667
17667
|
agents.push({
|
|
17668
17668
|
name: "Cursor",
|
|
17669
17669
|
detectPath: cursor,
|
|
17670
|
-
installed: () =>
|
|
17670
|
+
installed: () => existsSync16(join27(home, ".cursor")) || which("cursor"),
|
|
17671
17671
|
write: jsonMcpServersWrite(cursor)
|
|
17672
17672
|
});
|
|
17673
17673
|
const opencode = join27(home, ".config", "opencode", "opencode.jsonc");
|
|
17674
17674
|
agents.push({
|
|
17675
17675
|
name: "OpenCode",
|
|
17676
17676
|
detectPath: opencode,
|
|
17677
|
-
installed: () =>
|
|
17677
|
+
installed: () => existsSync16(join27(home, ".config", "opencode")) || which("opencode"),
|
|
17678
17678
|
write: opencodeWrite(opencode)
|
|
17679
17679
|
});
|
|
17680
17680
|
const codex = join27(home, ".codex", "config.toml");
|
|
17681
17681
|
agents.push({
|
|
17682
17682
|
name: "Codex",
|
|
17683
17683
|
detectPath: codex,
|
|
17684
|
-
installed: () =>
|
|
17684
|
+
installed: () => existsSync16(join27(home, ".codex")) || which("codex"),
|
|
17685
17685
|
write: codexWrite(codex)
|
|
17686
17686
|
});
|
|
17687
17687
|
const hermes = join27(home, ".hermes", "config.yaml");
|
|
17688
17688
|
agents.push({
|
|
17689
17689
|
name: "Hermes",
|
|
17690
17690
|
detectPath: hermes,
|
|
17691
|
-
installed: () =>
|
|
17691
|
+
installed: () => existsSync16(join27(home, ".hermes")) || which("hermes"),
|
|
17692
17692
|
write: hermesWrite(hermes)
|
|
17693
17693
|
});
|
|
17694
17694
|
const gemini = join27(home, ".gemini", "settings.json");
|
|
17695
17695
|
agents.push({
|
|
17696
17696
|
name: "Gemini CLI",
|
|
17697
17697
|
detectPath: gemini,
|
|
17698
|
-
installed: () =>
|
|
17698
|
+
installed: () => existsSync16(join27(home, ".gemini")) || which("gemini"),
|
|
17699
17699
|
write: jsonMcpServersWrite(gemini)
|
|
17700
17700
|
});
|
|
17701
17701
|
const windsurf = join27(home, ".codeium", "windsurf", "mcp_config.json");
|
|
17702
17702
|
agents.push({
|
|
17703
17703
|
name: "Windsurf",
|
|
17704
17704
|
detectPath: windsurf,
|
|
17705
|
-
installed: () =>
|
|
17705
|
+
installed: () => existsSync16(join27(home, ".codeium")) || which("windsurf"),
|
|
17706
17706
|
write: jsonMcpServersWrite(windsurf)
|
|
17707
17707
|
});
|
|
17708
17708
|
const copilot = join27(home, ".copilot", "mcp.json");
|
|
17709
17709
|
agents.push({
|
|
17710
17710
|
name: "Copilot",
|
|
17711
17711
|
detectPath: copilot,
|
|
17712
|
-
installed: () =>
|
|
17712
|
+
installed: () => existsSync16(join27(home, ".copilot")),
|
|
17713
17713
|
write: jsonMcpServersWrite(copilot)
|
|
17714
17714
|
});
|
|
17715
17715
|
const cline = join27(home, ".cline", "mcp_settings.json");
|
|
17716
17716
|
agents.push({
|
|
17717
17717
|
name: "Cline",
|
|
17718
17718
|
detectPath: cline,
|
|
17719
|
-
installed: () =>
|
|
17719
|
+
installed: () => existsSync16(join27(home, ".cline")),
|
|
17720
17720
|
write: jsonMcpServersWrite(cline)
|
|
17721
17721
|
});
|
|
17722
17722
|
return agents;
|
|
@@ -60177,8 +60177,174 @@ function analyzeJwt(token, opts = {}) {
|
|
|
60177
60177
|
};
|
|
60178
60178
|
}
|
|
60179
60179
|
|
|
60180
|
+
// src/oob.ts
|
|
60181
|
+
import { spawn as spawn3, execSync as execSync2 } from "node:child_process";
|
|
60182
|
+
import { createServer } from "node:http";
|
|
60183
|
+
import { randomUUID } from "node:crypto";
|
|
60184
|
+
import { networkInterfaces } from "node:os";
|
|
60185
|
+
import { existsSync as existsSync13 } from "node:fs";
|
|
60186
|
+
var sessions = new Map;
|
|
60187
|
+
function sleep(ms) {
|
|
60188
|
+
return new Promise((r) => setTimeout(r, ms));
|
|
60189
|
+
}
|
|
60190
|
+
function findInteractsh() {
|
|
60191
|
+
try {
|
|
60192
|
+
const p = execSync2("which interactsh-client 2>/dev/null", { encoding: "utf8", timeout: 3000 }).trim();
|
|
60193
|
+
if (p)
|
|
60194
|
+
return p;
|
|
60195
|
+
} catch {}
|
|
60196
|
+
const home = process.env.HOME ?? "/root";
|
|
60197
|
+
const candidates = [`${home}/go/bin/interactsh-client`, "/usr/local/bin/interactsh-client", "/usr/bin/interactsh-client"];
|
|
60198
|
+
for (const c of candidates)
|
|
60199
|
+
if (existsSync13(c))
|
|
60200
|
+
return c;
|
|
60201
|
+
return null;
|
|
60202
|
+
}
|
|
60203
|
+
function stripAnsi(s) {
|
|
60204
|
+
return s.replace(/\u001b\[[0-9;]*m/g, "");
|
|
60205
|
+
}
|
|
60206
|
+
function extractDomain(buffer) {
|
|
60207
|
+
const m = stripAnsi(buffer).match(/\[INF\]\s+([a-z0-9]{20,}\.[a-z0-9.-]+)/i);
|
|
60208
|
+
return m ? m[1] : null;
|
|
60209
|
+
}
|
|
60210
|
+
function parseInteractions(buffer) {
|
|
60211
|
+
const out = [];
|
|
60212
|
+
for (const raw of stripAnsi(buffer).split(`
|
|
60213
|
+
`)) {
|
|
60214
|
+
const line = raw.trim();
|
|
60215
|
+
if (!line.startsWith("{"))
|
|
60216
|
+
continue;
|
|
60217
|
+
try {
|
|
60218
|
+
const j = JSON.parse(line);
|
|
60219
|
+
if (j && j.protocol && j.timestamp) {
|
|
60220
|
+
const req = typeof j["raw-request"] === "string" ? j["raw-request"].split(/\r?\n/)[0] : null;
|
|
60221
|
+
out.push({
|
|
60222
|
+
protocol: j.protocol,
|
|
60223
|
+
remote_address: j["remote-address"] ?? null,
|
|
60224
|
+
request_line: req,
|
|
60225
|
+
timestamp: j.timestamp,
|
|
60226
|
+
unique_id: j["unique-id"] ?? null
|
|
60227
|
+
});
|
|
60228
|
+
}
|
|
60229
|
+
} catch {}
|
|
60230
|
+
}
|
|
60231
|
+
return out;
|
|
60232
|
+
}
|
|
60233
|
+
function localIP() {
|
|
60234
|
+
const ifaces = networkInterfaces();
|
|
60235
|
+
for (const name of Object.keys(ifaces)) {
|
|
60236
|
+
for (const iface of ifaces[name] ?? []) {
|
|
60237
|
+
if (iface.family === "IPv4" && !iface.internal)
|
|
60238
|
+
return iface.address;
|
|
60239
|
+
}
|
|
60240
|
+
}
|
|
60241
|
+
return "127.0.0.1";
|
|
60242
|
+
}
|
|
60243
|
+
function result(s, extra = {}) {
|
|
60244
|
+
return {
|
|
60245
|
+
id: s.id,
|
|
60246
|
+
mode: s.mode,
|
|
60247
|
+
domain: s.domain ?? null,
|
|
60248
|
+
url: s.url ?? null,
|
|
60249
|
+
payload_url: s.url ? `\${oob_url}` : null,
|
|
60250
|
+
payload_dns: s.domain ? `\${oob_dns}` : null,
|
|
60251
|
+
templates: s.domain ? {
|
|
60252
|
+
dns: `\${oob_dns}`,
|
|
60253
|
+
http: `http://\${oob_dns}`,
|
|
60254
|
+
ssrf_xxe: `http://\${oob_dns}/<marker>`,
|
|
60255
|
+
sql_blind: `http://\${oob_dns}/<marker>`
|
|
60256
|
+
} : { http: `http://${s.url}/<marker>` },
|
|
60257
|
+
...extra
|
|
60258
|
+
};
|
|
60259
|
+
}
|
|
60260
|
+
async function oobStart() {
|
|
60261
|
+
const bin = findInteractsh();
|
|
60262
|
+
if (bin) {
|
|
60263
|
+
const id = randomUUID().slice(0, 8);
|
|
60264
|
+
const session = { id, mode: "interactsh", buffer: "", hits: [], startedAt: Date.now() };
|
|
60265
|
+
session.proc = spawn3(bin, ["-json"], { stdio: ["ignore", "pipe", "pipe"] });
|
|
60266
|
+
session.proc.stdout?.on("data", (d) => session.buffer += d.toString());
|
|
60267
|
+
session.proc.stderr?.on("data", (d) => session.buffer += d.toString());
|
|
60268
|
+
sessions.set(id, session);
|
|
60269
|
+
const deadline = Date.now() + 25000;
|
|
60270
|
+
while (Date.now() < deadline) {
|
|
60271
|
+
const domain = extractDomain(session.buffer);
|
|
60272
|
+
if (domain) {
|
|
60273
|
+
session.domain = domain;
|
|
60274
|
+
session.url = `http://${domain}`;
|
|
60275
|
+
return result(session, { status: "listening" });
|
|
60276
|
+
}
|
|
60277
|
+
await sleep(300);
|
|
60278
|
+
}
|
|
60279
|
+
return result(session, { status: "timeout", note: "interactsh-client did not register a domain within 15s — check network / oast server reachability" });
|
|
60280
|
+
}
|
|
60281
|
+
return startSelfHost();
|
|
60282
|
+
}
|
|
60283
|
+
function startSelfHost() {
|
|
60284
|
+
const id = randomUUID().slice(0, 8);
|
|
60285
|
+
const session = { id, mode: "selfhost", buffer: "", hits: [], startedAt: Date.now() };
|
|
60286
|
+
const server = createServer((req, res) => {
|
|
60287
|
+
let body = "";
|
|
60288
|
+
req.on("data", (c) => body += c);
|
|
60289
|
+
req.on("end", () => {
|
|
60290
|
+
session.hits.push({
|
|
60291
|
+
protocol: "http",
|
|
60292
|
+
method: req.method,
|
|
60293
|
+
path: req.url,
|
|
60294
|
+
remote_address: req.socket.remoteAddress,
|
|
60295
|
+
headers: req.headers,
|
|
60296
|
+
body: body.slice(0, 2000),
|
|
60297
|
+
timestamp: new Date().toISOString()
|
|
60298
|
+
});
|
|
60299
|
+
res.writeHead(200, { "Content-Type": "text/plain" });
|
|
60300
|
+
res.end("oob-ok");
|
|
60301
|
+
});
|
|
60302
|
+
});
|
|
60303
|
+
server.listen(0, "0.0.0.0");
|
|
60304
|
+
const port = server.address().port;
|
|
60305
|
+
session.server = server;
|
|
60306
|
+
session.port = port;
|
|
60307
|
+
session.url = `http://${localIP()}:${port}`;
|
|
60308
|
+
sessions.set(id, session);
|
|
60309
|
+
return result(session, {
|
|
60310
|
+
status: "listening",
|
|
60311
|
+
note: "local listener (target must reach this host); for a remote target, expose it via a tunnel (e.g. pinggy) and re-point the payload"
|
|
60312
|
+
});
|
|
60313
|
+
}
|
|
60314
|
+
function oobPoll(id) {
|
|
60315
|
+
const s = sessions.get(id);
|
|
60316
|
+
if (!s)
|
|
60317
|
+
return { error: "unknown session id (was it stopped or did the server restart?)" };
|
|
60318
|
+
if (s.mode === "selfhost") {
|
|
60319
|
+
const fresh = s.hits.slice(0);
|
|
60320
|
+
s.hits.length = 0;
|
|
60321
|
+
return { id, mode: s.mode, url: s.url, found: fresh.length > 0, hits: fresh, total_hits_seen: fresh.length };
|
|
60322
|
+
}
|
|
60323
|
+
const interactions = parseInteractions(s.buffer);
|
|
60324
|
+
const known = new Set(s.hits.map((h) => `${h.timestamp}|${h.protocol}|${h.request_line ?? ""}`));
|
|
60325
|
+
const fresh = interactions.filter((i) => !known.has(`${i.timestamp}|${i.protocol}|${i.request_line ?? ""}`));
|
|
60326
|
+
s.hits.push(...fresh);
|
|
60327
|
+
return { id, mode: s.mode, domain: s.domain, url: s.url, found: fresh.length > 0, hits: fresh, total_hits_seen: s.hits.length };
|
|
60328
|
+
}
|
|
60329
|
+
function oobStop(id) {
|
|
60330
|
+
const s = sessions.get(id);
|
|
60331
|
+
if (!s)
|
|
60332
|
+
return { error: "unknown session id" };
|
|
60333
|
+
try {
|
|
60334
|
+
s.proc?.kill("SIGTERM");
|
|
60335
|
+
} catch {}
|
|
60336
|
+
try {
|
|
60337
|
+
s.server?.close();
|
|
60338
|
+
} catch {}
|
|
60339
|
+
sessions.delete(id);
|
|
60340
|
+
return { id, stopped: true, total_hits_seen: s.hits.length };
|
|
60341
|
+
}
|
|
60342
|
+
function oobList() {
|
|
60343
|
+
return { active: [...sessions.values()].map((s) => ({ id: s.id, mode: s.mode, domain: s.domain, url: s.url, age_sec: Math.round((Date.now() - s.startedAt) / 1000) })) };
|
|
60344
|
+
}
|
|
60345
|
+
|
|
60180
60346
|
// src/enterprise-benchmark.ts
|
|
60181
|
-
import { existsSync as
|
|
60347
|
+
import { existsSync as existsSync14, readFileSync as readFileSync25, readdirSync as readdirSync6, statSync as statSync3 } from "node:fs";
|
|
60182
60348
|
import { join as join23, resolve } from "node:path";
|
|
60183
60349
|
init_complex_bugs();
|
|
60184
60350
|
var ROOT6 = resolve(process.cwd(), "bench", "enterprise");
|
|
@@ -60239,7 +60405,7 @@ function detectFixture(dir) {
|
|
|
60239
60405
|
function runEnterpriseBenchmark() {
|
|
60240
60406
|
const fixtures = [];
|
|
60241
60407
|
for (const fx of ENTERPRISE_FIXTURES) {
|
|
60242
|
-
if (!
|
|
60408
|
+
if (!existsSync14(fx.dir)) {
|
|
60243
60409
|
fixtures.push({ id: fx.id, available: false, detected: 0, expected: fx.expected_vulns, recall: 0 });
|
|
60244
60410
|
continue;
|
|
60245
60411
|
}
|
|
@@ -60421,7 +60587,7 @@ function coverageMatrix() {
|
|
|
60421
60587
|
// src/server.ts
|
|
60422
60588
|
init_update();
|
|
60423
60589
|
init_version();
|
|
60424
|
-
function
|
|
60590
|
+
function createServer2() {
|
|
60425
60591
|
const server = new McpServer({
|
|
60426
60592
|
name: "blitzstrike",
|
|
60427
60593
|
version: VERSION
|
|
@@ -60434,7 +60600,7 @@ function createServer() {
|
|
|
60434
60600
|
` + `- A hard block (Cloudflare/WAF/IP-block/captcha) is NOT the end: mark the finding blocked + note the required vantage (residential / authorized / correct-SNI / --resolve direct-to-origin), then CONTINUE to the next lead (origin bypass, non-prod cluster, mobile APK, subdomain).
|
|
60435
60601
|
` + `- Keep trying every lead AND every chain step until each is verified/executed or blocked, THEN generate_report. Never deliver a bare surface map, and never stop at 'found X' when X enables more.
|
|
60436
60602
|
|
|
60437
|
-
` + "TWO PATHS:\\n" + "- Source path on disk -> blitz_scan / taint_file / eagle_eye2 (static).\\n" + "- Live URL -> live_recon / active_scan / strike_verify (web-hunting).\\n\\n" + "DEEPEN A FINDING: attack_plan(target, tech, params) to get the prioritized vector plan (decide what to test next with data); list_chains (escalation), chain_links (compose), technique_lookup(cls), payload_lookup, bypass_lookup (blocked). Ground any detector hit empirically with pattern_lookup(id) — it returns the class's CWE, real-world signature, escalation chains, citable references, per-class bypass techniques, and the high-value assets (crown jewels) that class hits, so a raw hit becomes a class-aware finding. Resolve free-form terminology first with synonym_lookup(term) (IDOR/BOLA/SQLi/prompt-injection → canonical id). For an llm_injection hit, its pattern carries a validation discipline — the RUN-TWICE RULE (reproduce token-for-token across two fresh sessions), NON-GUESSABLE ANCHOR (must leak a real key/URL, not a plausible guess), and OOB PROOF (a verifiable callback log) — apply all three before reporting. BEFORE generating a report, run submission_gate(...) and only ship a finding that passes all 7 questions (reproducible, in-scope, real-impact, no-privileged-assumption, verified-live, evidence-redacted, severity-derived); one false = kill it. Calibrate severity with severity_calibrate(type, cvss) to get a P1–P5 tier + VRT-style category. Start each engagement with engagement_scaffold(target, scope) for the folder + scope.md structure, and check data_refresh() to confirm the data layers are consistent. Phase doctrine: read_skill(bs-orchestrate-engagement | bs-web-hunting | bs-source-audit | bs-verify-finding). Campaign plan: read_playbook(target-type). On any failure call retry_guidance(signal) / model_fallback(signal) before giving up.\n" + "KNOWLEDGE BASE (discover, don't guess): skillLookup(topic) / listSkills for the 40 attack-path + hunting skills (ap-*, hp-*, bs-*); list_attack_vectors / attack_vectors(cat) for the 34-category vector taxonomy; taxonomy(kind) for OWASP/CWE/ASVS/API-top-10; read_playbook(type) for the 17 campaign playbooks; list_manuals / read_tool_manual for 317 tool references; list_tools / run_catalog_tool for the 141-tool catalog. Every tool, skill, and data layer is reachable from these. CROSS-TARGET INTELLIGENCE: strike_resolve auto-records confirmed/false_positive verdicts into the empirical ledger; query it with intelligence(action=hit_rates/top_vectors/recall) so a new target on a known tech inherits historical hit-rates (attack_plan already blends them into success_probability). intelligence(action=recall, tech, target) is the per-engagement pattern recall — it returns which patterns historically CONFIRMED on that tech (prioritize them) versus which only ever produced false positives (avoid them), so a new engagement starts from the empirical playbook of past ones. LIVE PENTEST + TARGETING (black-box, WAF-safe): cache_gap(base_url, endpoint) fuzzes path-normalization + static-extension variants for cache deception/poisoning; blind_oracle(base_url, param, value) detects which SINK a param reaches (sql/ssti/xss) via benign arithmetic (id=1+0, test${7*7}) WITHOUT a malicious payload; param_precedence(base_url, param, A, B) maps duplicate-parameter precedence (first/last-wins) for WAF-bypass. SOURCE TARGETING: action_surface(code) maps every wp_ajax_* action to its vuln class + DERIVED priority (what to look for WHERE); security_state(sanitizers, sink) gives a wrong-context sanitization verdict; framework_knowledge(framework) returns auth/nonce primitives for 9 frameworks; variant_scan(root, signature) mass-sweeps an install base for ONE bug family; patch_analyze(old, new) REVERSES a security patch into the 0-day, and its mine_signature feeds variant_scan to sweep unpatched copies. All of these are DETECTION HINTS — verify each live (strike_verify / browser_validate) before it enters the report. NEWEST DETECTORS — understand AND try them: variant_scan also emits priv_esc (privilege escalation — a role/capability/user change fed by request input, traced cross-file via reverse call-graph, e.g. set_role($id, sanitize_key($_POST['um-role'])) or update_user_meta(...,'wp_capabilities', $_POST[...])) and flags uploadAllow=>array('all') unrestricted-upload configs as file_upload (the file-manager/connector shape). TO TRY a priv_esc hit: submit the role field with 'administrator' (or send wp_capabilities meta) and confirm the account actually gains admin. TO TRY an unrestricted-upload hit: POST a .php/.phtml and confirm it lands web-reachable + executes. variant_scan also emits hardcoded_secret (CWE-798) in three tiers: a secret field (api_key/db_password/access_token/aws_*) assigned a literal (HIGH), a known secret FORMAT (JWT eyJ…/AWS AKIA…/GitHub ghp_…/Slack xoxb-…/…) regardless of name (HIGH), or a high-entropy suspect token (MEDIUM — verify before reporting). Verify a frontend/JS secret live via drive_devtools (inspect the JS bundle / network response and confirm the key is actually exposed), and for a backend secret confirm it is reachable/valid. A static hit is a HYPOTHESIS until verified live — never report unverified. For a repo, also scan_git_history(root) — secrets DELETED from HEAD still live in .git history (the removed-later-is-not-fixed trap), and it feeds every recovered pre-deletion blob through the same secret detector. Once you recover a credential, prove it is still ACTIVE with validate_leaked_key(apiBase, endpoints, key|blobUrl) — a READ-ONLY differential test (401-without-key vs 200-with-key = auth bypass PROVEN). Two supply-chain detectors: dependency_confusion (a manifest/build file resolving a package from a public registry — pypi.org/npmjs.org --extra-index-url, or a scoped @company/pkg with no private registry) and ml_supply_chain (torch.load without weights_only=True / joblib.load / np.load(allow_pickle=True) / keras load_model on an untrusted model → pickle RCE). Rust is supported end-to-end: the taint engine (blitz_scan / taint_file) maps Rust sinks (std::process::Command, sqlx/diesel, reqwest/hyper, std::fs, serde/bincode) to the classic classes, plus two Rust-specific detectors — rust_unsafe (transmute / assume_init / from_raw_parts / ptr::* — memory-unsafety surface, CWE-119) and rust_format_string (println!/format! with a variable as the format string — CWE-134). The sqlx query! compile-time macro is treated as safe (suppressed). Two more web-class detectors: jwt_alg_confusion (a JWT verifier that dispatches on the token's alg header and accepts BOTH RS256 and HS256, with the HS256 HMAC secret derived from public/shared key material — CWE-347; the attacker sets alg=HS256 and signs with the public key to forge admin tokens) and cache_deception (a reverse proxy caching static-extension URLs with a cache key that omits the session cookie, over a session-authenticated backend — CWE-525; the victim's cached private response is re-fetched anonymously). TO TRY a jwt_alg_confusion hit: fetch the public key (/.well-known/jwks.json), forge an HS256 token signed with that public key, and confirm admin access. TO TRY a cache_deception hit: request an authenticated path with a static extension appended (.css/.js) and re-fetch it anonymously.\n" + `PRECISION ANALYSIS — chrome-devtools MCP is MANDATORY, not optional:
|
|
60603
|
+
` + "TWO PATHS:\\n" + "- Source path on disk -> blitz_scan / taint_file / eagle_eye2 (static).\\n" + "- Live URL -> live_recon / active_scan / strike_verify (web-hunting).\\n\\n" + "DEEPEN A FINDING: attack_plan(target, tech, params) to get the prioritized vector plan (decide what to test next with data); list_chains (escalation), chain_links (compose), technique_lookup(cls), payload_lookup, bypass_lookup (blocked). Ground any detector hit empirically with pattern_lookup(id) — it returns the class's CWE, real-world signature, escalation chains, citable references, per-class bypass techniques, and the high-value assets (crown jewels) that class hits, so a raw hit becomes a class-aware finding. Resolve free-form terminology first with synonym_lookup(term) (IDOR/BOLA/SQLi/prompt-injection → canonical id). For an llm_injection hit, its pattern carries a validation discipline — the RUN-TWICE RULE (reproduce token-for-token across two fresh sessions), NON-GUESSABLE ANCHOR (must leak a real key/URL, not a plausible guess), and OOB PROOF (a verifiable callback log) — apply all three before reporting. BEFORE generating a report, run submission_gate(...) and only ship a finding that passes all 7 questions (reproducible, in-scope, real-impact, no-privileged-assumption, verified-live, evidence-redacted, severity-derived); one false = kill it. Calibrate severity with severity_calibrate(type, cvss) to get a P1–P5 tier + VRT-style category. Start each engagement with engagement_scaffold(target, scope) for the folder + scope.md structure, and check data_refresh() to confirm the data layers are consistent. Phase doctrine: read_skill(bs-orchestrate-engagement | bs-web-hunting | bs-source-audit | bs-verify-finding). Campaign plan: read_playbook(target-type). On any failure call retry_guidance(signal) / model_fallback(signal) before giving up.\n" + "KNOWLEDGE BASE (discover, don't guess): skillLookup(topic) / listSkills for the 40 attack-path + hunting skills (ap-*, hp-*, bs-*); list_attack_vectors / attack_vectors(cat) for the 34-category vector taxonomy; taxonomy(kind) for OWASP/CWE/ASVS/API-top-10; read_playbook(type) for the 17 campaign playbooks; list_manuals / read_tool_manual for 317 tool references; list_tools / run_catalog_tool for the 141-tool catalog. Every tool, skill, and data layer is reachable from these. CROSS-TARGET INTELLIGENCE: strike_resolve auto-records confirmed/false_positive verdicts into the empirical ledger; query it with intelligence(action=hit_rates/top_vectors/recall) so a new target on a known tech inherits historical hit-rates (attack_plan already blends them into success_probability). intelligence(action=recall, tech, target) is the per-engagement pattern recall — it returns which patterns historically CONFIRMED on that tech (prioritize them) versus which only ever produced false positives (avoid them), so a new engagement starts from the empirical playbook of past ones. LIVE PENTEST + TARGETING (black-box, WAF-safe): cache_gap(base_url, endpoint) fuzzes path-normalization + static-extension variants for cache deception/poisoning; blind_oracle(base_url, param, value) detects which SINK a param reaches (sql/ssti/xss) via benign arithmetic (id=1+0, test${7*7}) WITHOUT a malicious payload; param_precedence(base_url, param, A, B) maps duplicate-parameter precedence (first/last-wins) for WAF-bypass. OOB (out-of-band) PROOF for BLIND vulns: oob_start() spins an interactsh listener (unique *.oast.* domain, streams DNS/HTTP interactions — the standard for public targets) or a local HTTP listener for local labs; inject the canary, then oob_poll(id) until the hit arrives; oob_stop(id) to clean up. A blind SSRF/XXE/SQLi/command-injection is CONFIRMED only when the canary actually arrives — never from a guess. SOURCE TARGETING: action_surface(code) maps every wp_ajax_* action to its vuln class + DERIVED priority (what to look for WHERE); security_state(sanitizers, sink) gives a wrong-context sanitization verdict; framework_knowledge(framework) returns auth/nonce primitives for 9 frameworks; variant_scan(root, signature) mass-sweeps an install base for ONE bug family; patch_analyze(old, new) REVERSES a security patch into the 0-day, and its mine_signature feeds variant_scan to sweep unpatched copies. All of these are DETECTION HINTS — verify each live (strike_verify / browser_validate) before it enters the report. NEWEST DETECTORS — understand AND try them: variant_scan also emits priv_esc (privilege escalation — a role/capability/user change fed by request input, traced cross-file via reverse call-graph, e.g. set_role($id, sanitize_key($_POST['um-role'])) or update_user_meta(...,'wp_capabilities', $_POST[...])) and flags uploadAllow=>array('all') unrestricted-upload configs as file_upload (the file-manager/connector shape). TO TRY a priv_esc hit: submit the role field with 'administrator' (or send wp_capabilities meta) and confirm the account actually gains admin. TO TRY an unrestricted-upload hit: POST a .php/.phtml and confirm it lands web-reachable + executes. variant_scan also emits hardcoded_secret (CWE-798) in three tiers: a secret field (api_key/db_password/access_token/aws_*) assigned a literal (HIGH), a known secret FORMAT (JWT eyJ…/AWS AKIA…/GitHub ghp_…/Slack xoxb-…/…) regardless of name (HIGH), or a high-entropy suspect token (MEDIUM — verify before reporting). Verify a frontend/JS secret live via drive_devtools (inspect the JS bundle / network response and confirm the key is actually exposed), and for a backend secret confirm it is reachable/valid. A static hit is a HYPOTHESIS until verified live — never report unverified. For a repo, also scan_git_history(root) — secrets DELETED from HEAD still live in .git history (the removed-later-is-not-fixed trap), and it feeds every recovered pre-deletion blob through the same secret detector. Once you recover a credential, prove it is still ACTIVE with validate_leaked_key(apiBase, endpoints, key|blobUrl) — a READ-ONLY differential test (401-without-key vs 200-with-key = auth bypass PROVEN). Two supply-chain detectors: dependency_confusion (a manifest/build file resolving a package from a public registry — pypi.org/npmjs.org --extra-index-url, or a scoped @company/pkg with no private registry) and ml_supply_chain (torch.load without weights_only=True / joblib.load / np.load(allow_pickle=True) / keras load_model on an untrusted model → pickle RCE). Rust is supported end-to-end: the taint engine (blitz_scan / taint_file) maps Rust sinks (std::process::Command, sqlx/diesel, reqwest/hyper, std::fs, serde/bincode) to the classic classes, plus two Rust-specific detectors — rust_unsafe (transmute / assume_init / from_raw_parts / ptr::* — memory-unsafety surface, CWE-119) and rust_format_string (println!/format! with a variable as the format string — CWE-134). The sqlx query! compile-time macro is treated as safe (suppressed). Two more web-class detectors: jwt_alg_confusion (a JWT verifier that dispatches on the token's alg header and accepts BOTH RS256 and HS256, with the HS256 HMAC secret derived from public/shared key material — CWE-347; the attacker sets alg=HS256 and signs with the public key to forge admin tokens) and cache_deception (a reverse proxy caching static-extension URLs with a cache key that omits the session cookie, over a session-authenticated backend — CWE-525; the victim's cached private response is re-fetched anonymously). TO TRY a jwt_alg_confusion hit: fetch the public key (/.well-known/jwks.json), forge an HS256 token signed with that public key, and confirm admin access. TO TRY a cache_deception hit: request an authenticated path with a static extension appended (.css/.js) and re-fetch it anonymously.\n" + `PRECISION ANALYSIS — chrome-devtools MCP is MANDATORY, not optional:
|
|
60438
60604
|
` + `- When a lead needs DOM/JS precision — DOM-XSS sink execution, AJAX endpoint + payload interception, JS runtime errors, redirect chains, SSO/token flow, or anything a static HTML glance cannot prove — call drive_devtools(target). It spawns chrome-devtools-mcp and drives a REAL headless browser (navigate -> list_network_requests -> list_console_messages -> evaluate_script), giving reproducible evidence instead of a guess.
|
|
60439
60605
|
` + `- Before calling it, check_mcp() to confirm the browser MCP is available; if not, blitzstrike install-tools or npm i -g chrome-devtools-mcp. Never substitute eyeballing minified JS or a static sink guess when a live browser can PROVE it. This is the precision + consistency layer.
|
|
60440
60606
|
` + "EXTERNAL MCP SERVERS (verified, connect them — NOT one-shot CLIs): chrome-devtools-mcp (29 tools: list_network_requests/get_network_request for raw HTTP interception, list_console_messages for JS errors + DOM-XSS, evaluate_script to run JS, take_screenshot) -> stdio chrome-devtools-mcp --headless --chromeArg=--no-sandbox --chromeArg=--disable-gpu (as root/container this is MANDATORY or the browser crashes; add --proxyServer http://127.0.0.1:8080 to route through Burp, --acceptInsecureCerts for bad TLS). burp-suite-mcp (proxy history + active scan + repeater) -> NOT npm: build the JAR (git clone https://github.com/PortSwigger/mcp-server.git && cd mcp-server && ./gradlew embedProxyJar), load it in Burp Extensions, then connect the client to http://127.0.0.1:9876 (SSE) or the stdio proxy java -jar mcp-proxy-all.jar --sse-url http://127.0.0.1:9876."
|
|
@@ -61353,6 +61519,38 @@ ${statusLine}` : statusLine },
|
|
|
61353
61519
|
}
|
|
61354
61520
|
return { content: [{ type: "text", text: JSON.stringify(await blindOracle(base_url, param, value, { sinks: s })) }] };
|
|
61355
61521
|
});
|
|
61522
|
+
server.registerTool("oob_start", {
|
|
61523
|
+
title: "Out-of-band callback listener (blind SSRF/XXE/SQLi/RCE proof)",
|
|
61524
|
+
description: "Start a deterministic out-of-band (OOB) listener to PROVE a blind vuln (SSRF/XXE/SQLi/command injection) that does not reflect in the HTTP response. Uses interactsh-client when installed (unique *.oast.* domain, streams DNS/HTTP interactions) — the standard for public targets; falls back to a local HTTP listener for local labs. Returns the callback URL/domain + payload templates. Pair oob_start -> inject the canary -> oob_poll(id) until the hit arrives -> oob_stop(id). A hit is reported ONLY when an interaction actually arrives for the session's unique id — never a guess.",
|
|
61525
|
+
inputSchema: {}
|
|
61526
|
+
}, async () => {
|
|
61527
|
+
return { content: [{ type: "text", text: JSON.stringify(await oobStart()) }] };
|
|
61528
|
+
});
|
|
61529
|
+
server.registerTool("oob_poll", {
|
|
61530
|
+
title: "Poll an OOB listener for incoming interactions",
|
|
61531
|
+
description: "Check a live OOB session (from oob_start) for incoming DNS/HTTP interactions. Returns found:true + the hits (protocol, remote address, request line, timestamp) when the canary was actually fetched. Poll repeatedly (e.g. every 2-3s) for up to ~60s after injecting the payload; a blind vuln is CONFIRMED only when your marker arrives.",
|
|
61532
|
+
inputSchema: {
|
|
61533
|
+
id: string2().describe("Session id returned by oob_start")
|
|
61534
|
+
}
|
|
61535
|
+
}, async ({ id }) => {
|
|
61536
|
+
return { content: [{ type: "text", text: JSON.stringify(oobPoll(id)) }] };
|
|
61537
|
+
});
|
|
61538
|
+
server.registerTool("oob_stop", {
|
|
61539
|
+
title: "Stop an OOB listener",
|
|
61540
|
+
description: "Stop an OOB session and free its resources (kill the interactsh child / close the listener). Returns the total hits seen.",
|
|
61541
|
+
inputSchema: {
|
|
61542
|
+
id: string2().describe("Session id returned by oob_start")
|
|
61543
|
+
}
|
|
61544
|
+
}, async ({ id }) => {
|
|
61545
|
+
return { content: [{ type: "text", text: JSON.stringify(oobStop(id)) }] };
|
|
61546
|
+
});
|
|
61547
|
+
server.registerTool("oob_list", {
|
|
61548
|
+
title: "List active OOB listeners",
|
|
61549
|
+
description: "List active OOB sessions (id, mode, domain/url, age) for introspection.",
|
|
61550
|
+
inputSchema: {}
|
|
61551
|
+
}, async () => {
|
|
61552
|
+
return { content: [{ type: "text", text: JSON.stringify(oobList()) }] };
|
|
61553
|
+
});
|
|
61356
61554
|
server.registerTool("param_precedence", {
|
|
61357
61555
|
title: "Duplicate parameter precedence fuzzer (WAF-bypass oracle)",
|
|
61358
61556
|
description: "LIVE (black-box): determine how the app resolves duplicate parameters + alternate delimiters (; , %26 %3b | [] %00 + #). Reveals the WAF-bypass vector — if the WAF validates one value and the app binds another, inject via the disagreement. Deterministic: baseline A/B + differential per variant.",
|
|
@@ -62275,21 +62473,21 @@ ${out}${gate}` }] };
|
|
|
62275
62473
|
return server;
|
|
62276
62474
|
}
|
|
62277
62475
|
async function serve() {
|
|
62278
|
-
const server =
|
|
62476
|
+
const server = createServer2();
|
|
62279
62477
|
const transport = new StdioServerTransport;
|
|
62280
62478
|
await server.connect(transport);
|
|
62281
62479
|
}
|
|
62282
62480
|
|
|
62283
62481
|
// src/index.ts
|
|
62284
62482
|
init_cli();
|
|
62285
|
-
import { readFileSync as readFileSync31, existsSync as
|
|
62483
|
+
import { readFileSync as readFileSync31, existsSync as existsSync17 } from "node:fs";
|
|
62286
62484
|
import { join as join28 } from "node:path";
|
|
62287
62485
|
import { fileURLToPath as fileURLToPath17 } from "node:url";
|
|
62288
62486
|
var ROOT11 = join28(fileURLToPath17(new URL(".", import.meta.url)), "..");
|
|
62289
62487
|
function readVersion() {
|
|
62290
62488
|
try {
|
|
62291
62489
|
const p = join28(ROOT11, "package.json");
|
|
62292
|
-
if (
|
|
62490
|
+
if (existsSync17(p))
|
|
62293
62491
|
return JSON.parse(readFileSync31(p, "utf8")).version ?? "1.0.0";
|
|
62294
62492
|
} catch {}
|
|
62295
62493
|
return "1.0.0";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "blitzstrike",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.82",
|
|
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": {
|