blitzstrike 1.0.38 → 1.0.40
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 +28 -0
- package/bench/corpus/java-cmd-processbuilder.md +8 -0
- package/bench/corpus/java-deser-readunshared.md +8 -0
- package/bench/corpus/java-sqli-execute.md +8 -0
- package/bench/corpus/java-ssrf-httpurl.md +8 -0
- package/bench/corpus/java-xss-escape.md +8 -0
- package/bench/corpus/java-xss-println.md +8 -0
- package/bench/corpus/js-cmd-execsync.md +8 -0
- package/bench/corpus/js-filewrite.md +8 -0
- package/bench/corpus/js-pathtraversal-readsync.md +8 -0
- package/bench/corpus/js-redirect-encodeuri.md +8 -0
- package/bench/corpus/js-ssrf-axios.md +8 -0
- package/bench/corpus/js-ssrf-fetch.md +8 -0
- package/bench/corpus/js-xss-documentwrite.md +8 -0
- package/bench/corpus/js-xss-innerhtml.md +8 -0
- package/bench/corpus/php-cmd-absint.md +9 -0
- package/bench/corpus/php-cmd-popen.md +9 -0
- package/bench/corpus/php-deser-json.md +9 -0
- package/bench/corpus/php-include-once.md +9 -0
- package/bench/corpus/php-include-sanitized.md +9 -0
- package/bench/corpus/php-sqli-filterinput.md +9 -0
- package/bench/corpus/php-sqli-getresults.md +9 -0
- package/bench/corpus/php-ssrf-wppost.md +9 -0
- package/bench/corpus/php-xss-escurl.md +9 -0
- package/bench/corpus/php-xss-print.md +9 -0
- package/bench/corpus/php-xss-sanitizetext.md +9 -0
- package/bench/corpus/py-cmd-popen.md +9 -0
- package/bench/corpus/py-cmd-shlex.md +9 -0
- package/bench/corpus/py-deser-yaml.md +9 -0
- package/bench/corpus/py-sqli-executescript.md +9 -0
- package/bench/corpus/py-ssrf-urllib.md +9 -0
- package/bench/corpus/py-xss-escape.md +8 -0
- package/dist/index.js +258 -84
- package/intelligence/frameworks.json +1781 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,34 @@ 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
|
+
## [1.0.40] — 2026-09-13
|
|
9
|
+
|
|
10
|
+
### Changed (review + spec alignment)
|
|
11
|
+
|
|
12
|
+
- **Coverage Matrix 2.0 (§57)**: `coverageMatrix()` now also tracks the framework
|
|
13
|
+
dimension — per-framework sinks/sources/sanitizers/auth counts + CWE set.
|
|
14
|
+
- **Benchmark 100+ (§65)**: corpus grown 70 → **101 fixtures** (70 vulnerable +
|
|
15
|
+
31 patched), still scoring detection 1.0 / FP 0 / FN 0 / precision 1.0.
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
|
|
19
|
+
- JS adapter now detects `el.innerHTML = <tainted>` (property assignment) as a
|
|
20
|
+
DOM XSS sink — previously only `innerHTML` inside call expressions was caught.
|
|
21
|
+
|
|
22
|
+
## [1.0.39] — 2026-09-13
|
|
23
|
+
|
|
24
|
+
### Added
|
|
25
|
+
|
|
26
|
+
- **Phase 5 — Framework Intelligence** (`src/frameworks.ts` + `intelligence/frameworks.json`):
|
|
27
|
+
- Data-driven framework knowledge for 7 frameworks (361 patterns), extensible
|
|
28
|
+
without code changes: Laravel, WordPress (PHP); Express, Next.js (JS/TS);
|
|
29
|
+
Django, FastAPI (Python); Spring (Java). Rails (Ruby) deferred until Ruby support.
|
|
30
|
+
- Each framework defines sources, sinks, sanitizers, auth gates, routing, ORM,
|
|
31
|
+
and middleware patterns (with CWE tags on sinks).
|
|
32
|
+
- `detectFramework(code, language)` — heuristic detection via scored signals.
|
|
33
|
+
- `scanFramework(code, framework)` — framework-aware source/sink/sanitizer/auth hits.
|
|
34
|
+
- New MCP tools: `list_frameworks`, `detect_framework`, `framework_intel`.
|
|
35
|
+
|
|
8
36
|
## [1.0.38] — 2026-09-13
|
|
9
37
|
|
|
10
38
|
### Fixed (Phase 4 review)
|