blitzstrike 2.4.36 → 2.4.37
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 +8 -0
- package/dist/index.js +4 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,14 @@ 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.37] — 2026-09-14
|
|
9
|
+
|
|
10
|
+
### Fixed — benchmark top-level recall/f1 (self-audit)
|
|
11
|
+
|
|
12
|
+
- `run_benchmark` now returns top-level `recall` and `f1` (previously only
|
|
13
|
+
`detection_rate` held the recall value, and no top-level f1). Matches the
|
|
14
|
+
per-detector shape for consistency. No functional change.
|
|
15
|
+
|
|
8
16
|
## [2.4.36] — 2026-09-14
|
|
9
17
|
|
|
10
18
|
### Changed — Framework Knowledge Graph is now MULTI-framework (not WordPress-only)
|
package/dist/index.js
CHANGED
|
@@ -56936,6 +56936,8 @@ function runBenchmark() {
|
|
|
56936
56936
|
const detectionRate = tp + fn > 0 ? tp / (tp + fn) : 0;
|
|
56937
56937
|
const falsePositiveRate = fp + tn > 0 ? fp / (fp + tn) : 0;
|
|
56938
56938
|
const precision = tp + fp > 0 ? tp / (tp + fp) : 0;
|
|
56939
|
+
const recall = detectionRate;
|
|
56940
|
+
const f1 = precision + recall > 0 ? 2 * precision * recall / (precision + recall) : 0;
|
|
56939
56941
|
const byDetector = {};
|
|
56940
56942
|
for (const r of results) {
|
|
56941
56943
|
const d = r.entry.detector ?? "taint";
|
|
@@ -56960,6 +56962,8 @@ function runBenchmark() {
|
|
|
56960
56962
|
detection_rate: Number(detectionRate.toFixed(3)),
|
|
56961
56963
|
false_positive_rate: Number(falsePositiveRate.toFixed(3)),
|
|
56962
56964
|
precision: Number(precision.toFixed(3)),
|
|
56965
|
+
recall: Number(recall.toFixed(3)),
|
|
56966
|
+
f1: Number(f1.toFixed(3)),
|
|
56963
56967
|
by_detector: detectorMetrics,
|
|
56964
56968
|
captured_false_positives: {
|
|
56965
56969
|
total: captured.length,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "blitzstrike",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.37",
|
|
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": {
|