blitzstrike 2.4.64 → 2.4.66
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 +26 -0
- package/dist/index.js +137 -6
- package/intelligence/patterns.json +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,32 @@ 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.66] — 2026-09-14
|
|
9
|
+
|
|
10
|
+
### Added — Per-engagement pattern recall (intelligence ledger)
|
|
11
|
+
|
|
12
|
+
- New `recall(tech, target)` in the empirical intelligence ledger + an
|
|
13
|
+
`intelligence(action=recall)` path: given a tech (and/or a specific target),
|
|
14
|
+
returns which patterns historically CONFIRMED on it (prioritize these on a new
|
|
15
|
+
target) versus which only ever produced false positives (avoid those). A new
|
|
16
|
+
engagement now inherits the empirical playbook of past ones — the "pattern
|
|
17
|
+
recall across targets" layer that compounds with every verified verdict.
|
|
18
|
+
|
|
19
|
+
## [2.4.65] — 2026-09-14
|
|
20
|
+
|
|
21
|
+
### Added — Synonym resolution + LLM-injection validation SOP
|
|
22
|
+
|
|
23
|
+
- New `src/synonyms.ts` — a data-driven alias map resolving free-form vuln
|
|
24
|
+
terminology (IDOR/BOLA/broken-object → missing_authz, CSRF/XSRF → missing_nonce,
|
|
25
|
+
SQLi, path-traversal/LFI, prompt-injection/LLM01 → llm_injection, …) to the
|
|
26
|
+
canonical detector id. `pattern_lookup` now accepts free-form terms, and a new
|
|
27
|
+
`synonym_lookup` MCP tool lists every alias that resolves to a class.
|
|
28
|
+
- `llm_injection` now carries a validation SOP (a `validation` field in its
|
|
29
|
+
pattern): the RUN-TWICE RULE (reproduce token-for-token across two fresh
|
|
30
|
+
sessions), NON-GUESSABLE ANCHOR (must leak a real key/URL, not a plausible
|
|
31
|
+
guess), and OOB PROOF (verifiable callback log) — so an LLM finding is verified
|
|
32
|
+
the same way as any other, not just flagged.
|
|
33
|
+
|
|
8
34
|
## [2.4.64] — 2026-09-14
|
|
9
35
|
|
|
10
36
|
### Added — 47-pattern secret format taxonomy (severity + category)
|
package/dist/index.js
CHANGED
|
@@ -33813,6 +33813,40 @@ function topVectors(tech, limit = 10) {
|
|
|
33813
33813
|
const entries = rates.entries.filter((e) => e.hit_rate > 0);
|
|
33814
33814
|
return { tech, top: entries.slice(0, limit) };
|
|
33815
33815
|
}
|
|
33816
|
+
function recall(tech, target) {
|
|
33817
|
+
let entries = loadIntel();
|
|
33818
|
+
const t = tech?.trim().toLowerCase();
|
|
33819
|
+
const tg = target?.trim();
|
|
33820
|
+
if (t)
|
|
33821
|
+
entries = entries.filter((e) => e.tech === t);
|
|
33822
|
+
if (tg)
|
|
33823
|
+
entries = entries.filter((e) => (e.target ?? "").toLowerCase() === tg.toLowerCase());
|
|
33824
|
+
const byVector = new Map;
|
|
33825
|
+
for (const e of entries) {
|
|
33826
|
+
const v = byVector.get(e.vector) ?? { confirmed: 0, fp: 0, targets: new Set, latest: "" };
|
|
33827
|
+
if (e.outcome === "confirmed") {
|
|
33828
|
+
v.confirmed++;
|
|
33829
|
+
if (e.severity && !v.severity)
|
|
33830
|
+
v.severity = e.severity;
|
|
33831
|
+
} else
|
|
33832
|
+
v.fp++;
|
|
33833
|
+
if (e.target)
|
|
33834
|
+
v.targets.add(e.target);
|
|
33835
|
+
if (e.ts > v.latest)
|
|
33836
|
+
v.latest = e.ts;
|
|
33837
|
+
byVector.set(e.vector, v);
|
|
33838
|
+
}
|
|
33839
|
+
const confirmed = [...byVector.entries()].filter(([, v]) => v.confirmed > 0).sort((a, b) => b[1].confirmed - a[1].confirmed).map(([vector, v]) => ({ vector, confirmed: v.confirmed, severity: v.severity, seen_on: [...v.targets], latest: v.latest }));
|
|
33840
|
+
const avoid = [...byVector.entries()].filter(([, v]) => v.confirmed === 0 && v.fp > 0).sort((a, b) => b[1].fp - a[1].fp).map(([vector, v]) => ({ vector, false_positives: v.fp, seen_on: [...v.targets] }));
|
|
33841
|
+
return {
|
|
33842
|
+
tech: t ?? null,
|
|
33843
|
+
target: tg ?? null,
|
|
33844
|
+
total_verdicts: entries.length,
|
|
33845
|
+
confirmed_patterns: confirmed,
|
|
33846
|
+
avoid_patterns: avoid,
|
|
33847
|
+
hint: "On a new target with this tech, prioritize confirmed_patterns (they verified before) and deprioritize avoid_patterns (they only ever produced false positives)."
|
|
33848
|
+
};
|
|
33849
|
+
}
|
|
33816
33850
|
function queryIntel(filter = {}) {
|
|
33817
33851
|
let entries = loadIntel();
|
|
33818
33852
|
if (filter.vector)
|
|
@@ -57677,6 +57711,89 @@ function nextSteps(ctx) {
|
|
|
57677
57711
|
import { readFileSync as readFileSync17 } from "node:fs";
|
|
57678
57712
|
import { join as join16, dirname as dirname2 } from "node:path";
|
|
57679
57713
|
import { fileURLToPath as fileURLToPath8 } from "node:url";
|
|
57714
|
+
|
|
57715
|
+
// src/synonyms.ts
|
|
57716
|
+
var ALIASES = {
|
|
57717
|
+
idor: "missing_authz",
|
|
57718
|
+
bola: "missing_authz",
|
|
57719
|
+
"broken object level authorization": "missing_authz",
|
|
57720
|
+
"insecure direct object reference": "missing_authz",
|
|
57721
|
+
"broken access control": "missing_authz",
|
|
57722
|
+
authorization: "missing_authz",
|
|
57723
|
+
csrf: "missing_nonce",
|
|
57724
|
+
xsrf: "missing_nonce",
|
|
57725
|
+
"cross site request forgery": "missing_nonce",
|
|
57726
|
+
"cross-site request forgery": "missing_nonce",
|
|
57727
|
+
sqli: "sql_injection",
|
|
57728
|
+
"sql injection": "sql_injection",
|
|
57729
|
+
"sql-injection": "sql_injection",
|
|
57730
|
+
ssti: "ssti",
|
|
57731
|
+
"template injection": "ssti",
|
|
57732
|
+
"server side template injection": "ssti",
|
|
57733
|
+
xxe: "xxe",
|
|
57734
|
+
"xml external entity": "xxe",
|
|
57735
|
+
"xxe injection": "xxe",
|
|
57736
|
+
bpla: "mass_assignment",
|
|
57737
|
+
"broken property level authorization": "mass_assignment",
|
|
57738
|
+
"mass assignment": "mass_assignment",
|
|
57739
|
+
lfi: "path_confusion",
|
|
57740
|
+
rfi: "path_confusion",
|
|
57741
|
+
"path traversal": "path_confusion",
|
|
57742
|
+
"directory traversal": "path_confusion",
|
|
57743
|
+
"local file inclusion": "path_confusion",
|
|
57744
|
+
"remote file inclusion": "path_confusion",
|
|
57745
|
+
ssrf: "ssrf",
|
|
57746
|
+
"server side request forgery": "ssrf",
|
|
57747
|
+
"server-side request forgery": "ssrf",
|
|
57748
|
+
"prompt injection": "llm_injection",
|
|
57749
|
+
llm: "llm_injection",
|
|
57750
|
+
llm01: "llm_injection",
|
|
57751
|
+
"llm prompt injection": "llm_injection",
|
|
57752
|
+
graphql: "graphql_exposure",
|
|
57753
|
+
oauth: "oauth_misconfig",
|
|
57754
|
+
"open redirect": "oauth_misconfig",
|
|
57755
|
+
grpc: "grpc_reflection",
|
|
57756
|
+
"hardcoded credential": "hardcoded_secret",
|
|
57757
|
+
"hardcoded secret": "hardcoded_secret",
|
|
57758
|
+
"credential leak": "hardcoded_secret",
|
|
57759
|
+
"hard coded credentials": "hardcoded_secret",
|
|
57760
|
+
"priv esc": "priv_esc",
|
|
57761
|
+
privesc: "priv_esc",
|
|
57762
|
+
"privilege escalation": "priv_esc",
|
|
57763
|
+
"file upload": "file_upload",
|
|
57764
|
+
"unrestricted upload": "file_upload",
|
|
57765
|
+
"unrestricted file upload": "file_upload",
|
|
57766
|
+
deserialization: "deserialization",
|
|
57767
|
+
"insecure deserialization": "deserialization",
|
|
57768
|
+
unserialize: "deserialization",
|
|
57769
|
+
"type juggling": "type_juggling",
|
|
57770
|
+
"php type juggling": "type_juggling",
|
|
57771
|
+
"prototype pollution": "prototype_pollution",
|
|
57772
|
+
crlf: "crlf_injection",
|
|
57773
|
+
"header injection": "crlf_injection",
|
|
57774
|
+
"http response splitting": "crlf_injection",
|
|
57775
|
+
"wrong sanitizer": "wrong_sanitizer",
|
|
57776
|
+
"wrong context sanitization": "wrong_sanitizer"
|
|
57777
|
+
};
|
|
57778
|
+
function normalize(term) {
|
|
57779
|
+
return term.trim().toLowerCase().replace(/[_-]+/g, " ").replace(/\s+/g, " ").trim();
|
|
57780
|
+
}
|
|
57781
|
+
function canonicalId(term) {
|
|
57782
|
+
const key = normalize(term);
|
|
57783
|
+
if (ALIASES[key])
|
|
57784
|
+
return ALIASES[key];
|
|
57785
|
+
return key.replace(/ /g, "_");
|
|
57786
|
+
}
|
|
57787
|
+
function synonymsFor(term) {
|
|
57788
|
+
const canonical = canonicalId(term);
|
|
57789
|
+
const aliases = Object.entries(ALIASES).filter(([, v]) => v === canonical).map(([k]) => k);
|
|
57790
|
+
return { canonical, aliases };
|
|
57791
|
+
}
|
|
57792
|
+
function listAliases() {
|
|
57793
|
+
return Object.entries(ALIASES).map(([alias, canonical]) => ({ alias, canonical }));
|
|
57794
|
+
}
|
|
57795
|
+
|
|
57796
|
+
// src/patterns.ts
|
|
57680
57797
|
var __dirname2 = dirname2(fileURLToPath8(import.meta.url));
|
|
57681
57798
|
var _doc = null;
|
|
57682
57799
|
function load3() {
|
|
@@ -57690,7 +57807,8 @@ function load3() {
|
|
|
57690
57807
|
return _doc;
|
|
57691
57808
|
}
|
|
57692
57809
|
function patternLookup(id) {
|
|
57693
|
-
const
|
|
57810
|
+
const canonical = canonicalId(id);
|
|
57811
|
+
const p = load3().patterns.find((x) => x.id === canonical);
|
|
57694
57812
|
return p ?? null;
|
|
57695
57813
|
}
|
|
57696
57814
|
function listPatterns() {
|
|
@@ -59281,7 +59399,7 @@ function createServer() {
|
|
|
59281
59399
|
` + `- 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).
|
|
59282
59400
|
` + `- 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.
|
|
59283
59401
|
|
|
59284
|
-
` + "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. 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) so a new target on a known tech inherits historical hit-rates (attack_plan already blends them into success_probability). 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.\n" + `PRECISION ANALYSIS — chrome-devtools MCP is MANDATORY, not optional:
|
|
59402
|
+
` + "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.\n" + `PRECISION ANALYSIS — chrome-devtools MCP is MANDATORY, not optional:
|
|
59285
59403
|
` + `- 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.
|
|
59286
59404
|
` + `- 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.
|
|
59287
59405
|
` + "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."
|
|
@@ -59713,6 +59831,18 @@ ${statusLine}` : statusLine },
|
|
|
59713
59831
|
}, async () => {
|
|
59714
59832
|
return { content: [{ type: "text", text: JSON.stringify(scanVariants()) }] };
|
|
59715
59833
|
});
|
|
59834
|
+
server.registerTool("synonym_lookup", {
|
|
59835
|
+
title: "Vuln-class synonym / alias resolution",
|
|
59836
|
+
description: "INTEL: resolve free-form vuln terminology (IDOR/BOLA/SQLi/path-traversal/prompt-injection/…) to the canonical detector id, and list every alias that maps to it. Pass the result to pattern_lookup to ground the class empirically regardless of the wording used.",
|
|
59837
|
+
inputSchema: {
|
|
59838
|
+
term: string2().describe("Free-form vulnerability class term (e.g. 'IDOR', 'BOLA', 'SQL injection', 'prompt injection').")
|
|
59839
|
+
}
|
|
59840
|
+
}, async ({ term }) => {
|
|
59841
|
+
if (!term?.trim())
|
|
59842
|
+
return { content: [{ type: "text", text: JSON.stringify({ error: "term required", aliases: listAliases() }) }] };
|
|
59843
|
+
const r = synonymsFor(term);
|
|
59844
|
+
return { content: [{ type: "text", text: JSON.stringify({ ...r, pattern: patternLookup(r.canonical) }) }] };
|
|
59845
|
+
});
|
|
59716
59846
|
server.registerTool("fofa_search", {
|
|
59717
59847
|
title: "FOFA asset search",
|
|
59718
59848
|
description: "STRIKE: search the FOFA asset index (needs FOFA_EMAIL + FOFA_KEY).",
|
|
@@ -60014,13 +60144,14 @@ ${statusLine}` : statusLine },
|
|
|
60014
60144
|
title: "Query the empirical intelligence ledger",
|
|
60015
60145
|
description: "INTELLIGENCE: query the cross-engagement empirical ledger — hit-rates per (vector, tech), top vectors for a tech, or raw query. Verdicts are recorded AUTOMATICALLY by strike_resolve (confirmed/false_positive). Use this to learn what historically worked on a tech BEFORE planning, so a new Laravel target inherits the hit-rates of past Laravel engagements.",
|
|
60016
60146
|
inputSchema: {
|
|
60017
|
-
action: _enum(["hit_rates", "top_vectors", "query"]).describe("hit_rates (aggregate) / top_vectors (ranked for a tech) / query (raw filter)"),
|
|
60147
|
+
action: _enum(["hit_rates", "top_vectors", "query", "recall"]).describe("hit_rates (aggregate) / top_vectors (ranked for a tech) / query (raw filter) / recall (pattern recall: what confirmed vs only-FP on a tech/target)"),
|
|
60018
60148
|
tech: string2().optional().describe("Tech/framework filter (e.g. flask, laravel, wordpress)"),
|
|
60019
60149
|
vector: string2().optional().describe("Vector filter (e.g. sql_injection)"),
|
|
60020
|
-
outcome: string2().optional().describe("Outcome filter (confirmed/false_positive)")
|
|
60150
|
+
outcome: string2().optional().describe("Outcome filter (confirmed/false_positive)"),
|
|
60151
|
+
target: string2().optional().describe("Specific target slug for per-engagement recall (action=recall)")
|
|
60021
60152
|
}
|
|
60022
|
-
}, async ({ action, tech, vector, outcome }) => {
|
|
60023
|
-
const out = action === "hit_rates" ? hitRates(tech) : action === "top_vectors" ? topVectors(tech ?? "unknown", 10) : queryIntel({ vector, tech, outcome });
|
|
60153
|
+
}, async ({ action, tech, vector, outcome, target }) => {
|
|
60154
|
+
const out = action === "hit_rates" ? hitRates(tech) : action === "top_vectors" ? topVectors(tech ?? "unknown", 10) : action === "recall" ? recall(tech, target) : queryIntel({ vector, tech, outcome });
|
|
60024
60155
|
return { content: [{ type: "text", text: JSON.stringify(out) }] };
|
|
60025
60156
|
});
|
|
60026
60157
|
server.registerTool("compliance", {
|
|
@@ -188,7 +188,8 @@
|
|
|
188
188
|
"chain_templates": [],
|
|
189
189
|
"references": ["CWE-77", "OWASP LLM01:2025 Prompt Injection"],
|
|
190
190
|
"bypass_techniques": ["delimiter/role confusion to escape the system prompt", "translation/encoding attacks to hide instructions", "context overflow to displace earlier constraints", "indirect injection via fetched documents (RAG)"],
|
|
191
|
-
"crown_jewels": ["the system prompt itself", "tool/function-calling surfaces", "RAG-retrieved data", "privileged actions (email/send/pay) gated on model output"]
|
|
191
|
+
"crown_jewels": ["the system prompt itself", "tool/function-calling surfaces", "RAG-retrieved data", "privileged actions (email/send/pay) gated on model output"],
|
|
192
|
+
"validation": ["RUN-TWICE RULE — the extraction/injection must reproduce token-for-token across two fresh sessions (filter out model confabulation)", "NON-GUESSABLE ANCHOR — it must leak an actual verifiable internal key, endpoint URL, or cross-tenant data, not a plausible guess", "OOB PROOF — tool-use or markdown exfiltration must produce a verifiable callback log on your listener"]
|
|
192
193
|
},
|
|
193
194
|
{
|
|
194
195
|
"id": "graphql_exposure",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "blitzstrike",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.66",
|
|
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": {
|