blitzstrike 1.0.27 → 1.0.28
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/bench/corpus/java-command-injection-vuln.md +7 -0
- package/bench/corpus/js-sqli-vuln.md +8 -0
- package/bench/corpus/js-xss-sanitized.md +8 -0
- package/bench/corpus/php-command-injection-vuln.md +9 -0
- package/bench/corpus/php-file-upload-vuln.md +9 -0
- package/bench/corpus/php-sqli-prepared.md +9 -0
- package/bench/corpus/php-sqli-vuln.md +9 -0
- package/bench/corpus/php-xss-sanitized.md +9 -0
- package/bench/corpus/py-command-injection-sanitized.md +9 -0
- package/bench/corpus/py-command-injection-vuln.md +9 -0
- package/dist/index.js +2 -1
- package/package.json +13 -12
package/dist/index.js
CHANGED
|
@@ -50593,6 +50593,7 @@ function reportJson(findings, opts = {}) {
|
|
|
50593
50593
|
import { readFileSync as readFileSync9, readdirSync as readdirSync4, writeFileSync as writeFileSync2, rmSync } from "node:fs";
|
|
50594
50594
|
import { join as join7 } from "node:path";
|
|
50595
50595
|
import { fileURLToPath as fileURLToPath5 } from "node:url";
|
|
50596
|
+
import { tmpdir } from "node:os";
|
|
50596
50597
|
var ROOT4 = join7(fileURLToPath5(new URL(".", import.meta.url)), "..");
|
|
50597
50598
|
var CORPUS = join7(ROOT4, "bench", "corpus");
|
|
50598
50599
|
function parseCorpusFile(path) {
|
|
@@ -50660,7 +50661,7 @@ function loadCorpus() {
|
|
|
50660
50661
|
function detect(entry) {
|
|
50661
50662
|
const lang = entry.language;
|
|
50662
50663
|
if (lang === "php") {
|
|
50663
|
-
const tmp = join7(
|
|
50664
|
+
const tmp = join7(tmpdir(), `blitzstrike-bench-${entry.id}-${process.pid}.php`);
|
|
50664
50665
|
writeFileSync2(tmp, entry.code);
|
|
50665
50666
|
const r = analyzeTaint(tmp);
|
|
50666
50667
|
rmSync(tmp, { force: true });
|
package/package.json
CHANGED
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "blitzstrike",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.28",
|
|
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": {
|
|
7
7
|
"blitzstrike": "dist/index.js"
|
|
8
8
|
},
|
|
9
9
|
"files": [
|
|
10
|
-
"dist",
|
|
11
|
-
"chains.json",
|
|
12
|
-
"tools-catalog.json",
|
|
13
|
-
"intelligence",
|
|
14
|
-
"skills",
|
|
15
|
-
"manuals",
|
|
16
|
-
"opencode-agents",
|
|
17
|
-
"LICENSE",
|
|
18
|
-
"README.md",
|
|
19
10
|
"CHANGELOG.md",
|
|
20
11
|
"CONTRIBUTING.md",
|
|
21
|
-
"
|
|
12
|
+
"LICENSE",
|
|
13
|
+
"README.md",
|
|
22
14
|
"ROADMAP.md",
|
|
15
|
+
"SECURITY.md",
|
|
23
16
|
"THIRD-PARTY-NOTICES.md",
|
|
24
|
-
"
|
|
17
|
+
"bench",
|
|
18
|
+
"chains.json",
|
|
19
|
+
"dist",
|
|
20
|
+
"docs",
|
|
21
|
+
"intelligence",
|
|
22
|
+
"manuals",
|
|
23
|
+
"opencode-agents",
|
|
24
|
+
"skills",
|
|
25
|
+
"tools-catalog.json"
|
|
25
26
|
],
|
|
26
27
|
"scripts": {
|
|
27
28
|
"build": "bun build src/index.ts --outdir dist --target node --format esm",
|