blitzstrike 2.4.11 → 2.4.12
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 +12 -0
- package/dist/index.js +22 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,18 @@ 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.12] — 2026-09-14
|
|
9
|
+
|
|
10
|
+
### Improved — install-tools failure diagnostics
|
|
11
|
+
|
|
12
|
+
- `install-tools` now reports the REASON for every failed tool (last stderr/stdout
|
|
13
|
+
lines) instead of a bare `Failed: …` list.
|
|
14
|
+
- Preflight reports missing toolchains (go/java/python/cargo/meson/ninja/make/gcc)
|
|
15
|
+
+ the `apt install` line to fix them before the mass install.
|
|
16
|
+
- Per-tool install budget raised 120s → 300s so cold-cache `go install` /
|
|
17
|
+
`pip install` of large tools (nuclei, amass, httpx, metasploit, …) no longer
|
|
18
|
+
time out.
|
|
19
|
+
|
|
8
20
|
## [2.4.11] — 2026-09-14
|
|
9
21
|
|
|
10
22
|
### Fixed — bulk-install no longer pollutes the caller's cwd
|
package/dist/index.js
CHANGED
|
@@ -7519,7 +7519,7 @@ function ensureTool(name) {
|
|
|
7519
7519
|
return { name: t.name, installed: false, action: "none", note: `no install command for ${platform}` };
|
|
7520
7520
|
}
|
|
7521
7521
|
mkdirSync3(TOOLS_DIR, { recursive: true });
|
|
7522
|
-
const r = spawnSync(cmd, { shell: true, timeout:
|
|
7522
|
+
const r = spawnSync(cmd, { shell: true, timeout: 300000, cwd: TOOLS_DIR });
|
|
7523
7523
|
const ok = r.status === 0;
|
|
7524
7524
|
return {
|
|
7525
7525
|
name: t.name,
|
|
@@ -7599,7 +7599,7 @@ function runCatalogTool(hint, target, extraFlags = []) {
|
|
|
7599
7599
|
output: out.slice(0, 6000)
|
|
7600
7600
|
};
|
|
7601
7601
|
}
|
|
7602
|
-
function ensureToolAsync(name, timeoutMs =
|
|
7602
|
+
function ensureToolAsync(name, timeoutMs = 300000) {
|
|
7603
7603
|
return new Promise((resolve) => {
|
|
7604
7604
|
const t = loadTools().find((x) => x.name.toLowerCase() === name.toLowerCase());
|
|
7605
7605
|
if (!t) {
|
|
@@ -15995,15 +15995,32 @@ async function runInstallTools(args) {
|
|
|
15995
15995
|
}
|
|
15996
15996
|
console.log(`Installing catalog tools${category ? ` (category: ${category})` : ""} — concurrency ${concurrency}
|
|
15997
15997
|
`);
|
|
15998
|
+
const chainMap = { go: "golang", java: "default-jdk", python3: "python3", pip3: "python3-pip", cargo: "cargo", make: "build-essential", meson: "meson", ninja: "ninja-build", gcc: "build-essential", git: "git" };
|
|
15999
|
+
const missingChains = Object.keys(chainMap).filter((c) => spawnSync5(`command -v ${c}`, { shell: true }).status !== 0);
|
|
16000
|
+
if (missingChains.length) {
|
|
16001
|
+
console.log(`⚠ Missing toolchains: ${missingChains.join(", ")} (${missingChains.map((c) => chainMap[c]).join(", ")})`);
|
|
16002
|
+
console.log(` Tools that need them will FAIL below. Install first, e.g.:
|
|
16003
|
+
apt install -y ${missingChains.map((c) => chainMap[c]).join(" ")}
|
|
16004
|
+
`);
|
|
16005
|
+
}
|
|
15998
16006
|
const r = await installAllTools({ category, concurrency, onProgress: (name, ok) => console.log(` ${ok ? "OK " : "FAIL"} ${name}`) });
|
|
15999
16007
|
console.log(`
|
|
16000
16008
|
Summary: ${r.target_count} targets · ${r.installed} newly installed · ${r.already_installed} already present · ${r.failed} failed`);
|
|
16001
16009
|
const mcp = r.skipped_mcp_servers;
|
|
16002
16010
|
if (mcp.length)
|
|
16003
16011
|
console.log(`Skipped MCP servers (connect them): ${mcp.join(", ")}`);
|
|
16004
|
-
const failedList = r.results.filter((x) => x.installed !== true)
|
|
16005
|
-
if (failedList.length)
|
|
16006
|
-
console.log(`
|
|
16012
|
+
const failedList = r.results.filter((x) => x.installed !== true);
|
|
16013
|
+
if (failedList.length) {
|
|
16014
|
+
console.log(`
|
|
16015
|
+
Failed (${failedList.length}) — reason per tool:`);
|
|
16016
|
+
for (const f of failedList) {
|
|
16017
|
+
const reason = String(f.output ?? f.note ?? "unknown error").split(`
|
|
16018
|
+
`).map((s) => s.trim()).filter(Boolean).slice(-2).join(" | ").slice(-160);
|
|
16019
|
+
console.log(` - ${f.name}: ${reason}`);
|
|
16020
|
+
}
|
|
16021
|
+
console.log(`
|
|
16022
|
+
Common causes: missing Go/Java/Rust toolchain, build tools (meson/ninja/make), pip/git network failures, or heavy builds that exceed the 120s per-tool budget. Re-run after installing the missing toolchain; failed tools are skipped, not fatal.`);
|
|
16023
|
+
}
|
|
16007
16024
|
}
|
|
16008
16025
|
var ROOT10;
|
|
16009
16026
|
var init_cli = __esm(() => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "blitzstrike",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.12",
|
|
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": {
|