Skip to content

armgit / bla

Public Imported from GitHub
0

🛡️ BLA (Blind LLM Agents) — Adversarial defense shield that protects binaries, Electron apps, JS bundles, Python, and WebAssembly against AI reverse-engineering agents like REA. Poison -> Exhaust -> Hallucinate.

fix(exhaustion): escape regex wildcard inside JSDoc comment in regex-worker-tarpit

qybaiheb33e92388dbf
diff --git a/src/shields/exhaustion/regex-worker-tarpit.ts b/src/shields/exhaustion/regex-worker-tarpit.ts
index ed2961e..c848b00 100644
--- a/src/shields/exhaustion/regex-worker-tarpit.ts
+++ b/src/shields/exhaustion/regex-worker-tarpit.ts
@@ -19,7 +19,7 @@ export interface RegexWorkerTarpitResult {
* Targets REA's `search_strings` and `search_procedures` regex worker
* (`src/domain/analysisResourceLimits.ts:38`).
* Generates high-fanout near-miss token strings (`auth_verify_token_...`, `license_key_slot_...`)
- * so that broad regex searches (`/(auth|license|secret|token|key).*/i`) match hundreds
+ * so that broad regex searches (`/(auth|license|secret|token|key).+/i`) match hundreds
* of decoy candidates before reaching any real symbol.
*/
export function generateRegexWorkerTarpit(