[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111558":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":10,"rankLanguage":10,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":10,"pushedAt":43,"updatedAt":44,"readmeContent":45,"aiSummary":46,"trendingCount":15,"starSnapshotCount":15,"syncStatus":47,"lastSyncTime":48,"discoverSource":49},111558,"lasik","pktq\u002Flasik","pktq","BLA blinds your agent. LASIK gives it its sight back. Static de-blinding CLI + MCP server that undoes BLA (Blind LLM Agents) hardening so coding agents and REA can read the real code again. Never executes the target.","",null,"TypeScript",147,17,1,0,3,12,48,9,60.41,"MIT License",false,"main",true,[26,27,28,29,30,31,32,33,5,34,35,36,37,38,39,40,41,42],"ai-agents","anti-bla","bla","claude-code","deobfuscation","deobfuscator","electron","javascript","llm-security","malware-analysis","mcp","mcp-server","prompt-injection","rea","reverse-engineering","static-analysis","webassembly","2026-11-23 17:10:21","2026-11-23 15:28:04","\u003Cp align=\"center\">\u003Cb>English\u003C\u002Fb> · \u003Ca href=\"docs\u002Freadme\u002FREADME.zh-CN.md\">简体中文\u003C\u002Fa> · \u003Ca href=\"docs\u002Freadme\u002FREADME.ja.md\">日本語\u003C\u002Fa> · \u003Ca href=\"docs\u002Freadme\u002FREADME.ko.md\">한국어\u003C\u002Fa> · \u003Ca href=\"docs\u002Freadme\u002FREADME.es.md\">Español\u003C\u002Fa>\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fassets\u002Fbanner.svg\" alt=\"LASIK\" width=\"100%\" \u002F>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  Static deobfuscation for anti-agent hardening.\u003Cbr \u002F>\n  LASIK removes \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fqybaihe\u002Fbla\">BLA\u003C\u002Fa> protection layers so coding agents and analysis tools can read the real program.\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002Flasik-agents\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002Flasik-agents?style=for-the-badge&label=npm&color=22d3ee\" alt=\"npm version\" \u002F>\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fpktq\u002Flasik\u002Factions\u002Fworkflows\u002Fci.yml\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Factions\u002Fworkflow\u002Fstatus\u002Fpktq\u002Flasik\u002Fci.yml?branch=main&style=for-the-badge&label=CI\" alt=\"CI\" \u002F>\u003C\u002Fa>\n  \u003Ca href=\"docs\u002Fcoverage.md\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FBLA_3.2.2-59%2F63_shields_healed-22d3ee?style=for-the-badge\" alt=\"BLA coverage\" \u002F>\u003C\u002Fa>\n  \u003Ca href=\"LICENSE\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-64748b?style=for-the-badge\" alt=\"MIT license\" \u002F>\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Cb>0.3:\u003C\u002Fb> structural detection. Protection is identified by what it does, not by its names, so renamed builds heal too. \u003Ca href=\"#resilience\">Benchmark\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"docs\u002Fhow-it-works.md\">How it works\u003C\u002Fa> ·\n  \u003Ca href=\"docs\u002Fbenchmark.md\">Benchmark\u003C\u002Fa> ·\n  \u003Ca href=\"CHANGELOG.md\">Changelog\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cbr \u002F>\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fassets\u002Fbefore-after.svg\" alt=\"The same two functions from a protected build, before and after LASIK\" width=\"100%\" \u002F>\n\u003C\u002Fp>\n\nLASIK reads a protected build, proves which parts are protection (opaque predicates, encrypted strings, decoy code, tamper checks, binary padding, prompt-injection text), removes them, and writes a clean copy. It never runs the input.\n\n\u003Cp align=\"center\">\u003Cimg src=\"docs\u002Fassets\u002Fflow.svg\" alt=\"A protected release goes through lasik heal, then an agent or analysis tool reads the real logic\" width=\"100%\" \u002F>\u003C\u002Fp>\n\n## Highlights\n\n- **1,262× fewer tokens** on the public BLA CrackMe corpus: about 21 million down to 17 thousand.\n- **Proof-based.** A transform runs only when LASIK can prove it preserves behaviour. Unprotected files come back byte-identical.\n- **Structural detection.** Protection is recognised by behaviour, not identifiers; a renamed-build benchmark runs in CI.\n- **Static only.** No `eval`, no sandbox, no WebAssembly instantiation; safe on hostile input.\n- **Prompt-injection firewall** for text planted to steer the model.\n- **21 formats**: JavaScript and TypeScript bundles, inline HTML, WebAssembly, Electron ASAR and fuses, source maps, Python and `.pyc`, native ELF\u002FPE\u002FMach-O, Bun, SQLite, safetensors and GGUF, PCAP, JVM, .NET, BEAM, EVM, PTX, ZIP\u002FAPK\u002FDEX, plists, IL2CPP and UF2 firmware.\n- **Name recovery** where the program still publishes the original name (exports, imports); neutral names elsewhere.\n- **Agent integration**: CLI, MCP server for Claude Code, Cursor, Codex and seven more, and a library API.\n\n## Installation\n\n```bash\nnpm install -g lasik-agents     # or run any command with npx lasik-agents\n```\n\nRequires Node.js 20.19 or later. To build from source: `git clone https:\u002F\u002Fgithub.com\u002Fpktq\u002Flasik && cd lasik && npm ci && npm run build`.\n\n## Usage\n\nScan a build, then write a cleaned copy:\n\n```console\n$ lasik scan bench\u002Fbla-crackme\nVerdict: BLINDED · blindness 100\u002F100 · 15 file(s) carry BLA artifacts\nAI-evasion techniques found: 24\nSight restored: 1.8 MB → 37.5 KB, ~21,104,859 → ~16,718 tokens\n\n$ lasik heal .\u002Fdist             # writes a cleaned copy to .\u002Fdist.lasik\n```\n\nPoint your agent or analysis tool at the healed copy, for example [REA](https:\u002F\u002Fgithub.com\u002Fmorluto\u002Frea):\n\n```bash\nnpx -y rea-agents@latest analyze-javascript-application \"$PWD\u002Fdist.lasik\" --json\n```\n\nOther commands: `lasik firewall` (redact planted instructions from any text), `lasik bench`, `lasik doctor`. Add `--json` or `--md` for machine-readable reports and `--fail-on blinded` to gate CI.\n\n### In your coding agent\n\n```bash\nlasik setup                     # registers the MCP server; --dry-run to preview, --remove to undo\n```\n\n| Tool | |\n|---|---|\n| `lasik_scan` | Protection layers in a file or folder, a 0–100 blindness score and the techniques found |\n| `lasik_read` | One file with protection removed, for the agent to read instead of the original |\n| `lasik_heal` | A cleaned copy of a whole app |\n| `lasik_firewall` | Planted instructions redacted from any text |\n\nThe repository also ships an [agent skill](.agents\u002Fskills\u002Flasik\u002FSKILL.md) for agents that encounter protected builds.\n\n## Benchmark\n\nThe public BLA CrackMes, vendored unchanged in [`bench\u002Fbla-crackme`](bench\u002Fbla-crackme):\n\n| CrackMe | Files | Before | After | Tokens (estimated) |\n|---|---:|---:|---:|---|\n| v6 | 3 | 303 KB | 4.9 KB | 6,954,989 → 1,398 |\n| v7 | 5 | 743 KB | 13.6 KB | 197,561 → 3,483 |\n| v8 | 3 | 362 KB | 6.7 KB | 6,972,491 → 4,748 |\n| v9 | 4 | 381 KB | 7.4 KB | 6,977,670 → 4,941 |\n\n\u003Cp align=\"center\">\u003Cimg src=\"docs\u002Fassets\u002Ftokens.svg\" alt=\"Log-scale bar chart: estimated tokens per CrackMe artifact before and after LASIK\" width=\"100%\" \u002F>\u003C\u002Fp>\n\n\u003C!-- realbench:start -->\nOn a project we hardened ourselves with the published `bla-agents@3.2.1`, one file per format ([details](docs\u002Fbenchmark.md#your-own-code-hardened-by-real-bla-321)):\n\n| BLA run | Files | Original | BLA-hardened | After LASIK | Tokens (estimated) | Result |\n|---|---:|---:|---:|---:|---|---|\n| Defaults | 21 | 151.9 KB | 31.1 MB | 150.9 KB | 32,154,076 → 152,102 | 21\u002F21 healed, 11 byte-identical |\n| All opt-in layers | 21 | 151.9 KB | 31.2 MB | 151.0 KB | 32,178,121 → 152,197 | 21\u002F21 healed, 10 byte-identical |\n\u003C!-- realbench:end -->\n\nPer-file numbers, the method and its caveats are in [docs\u002Fbenchmark.md](docs\u002Fbenchmark.md). LASIK makes the CrackMes readable; it does not publish their solutions.\n\n### Resilience\n\n`npm run bench:renamed` heals the same builds twice: as shipped, and with every generated identifier, comment, WASM section, long export name and ASAR path respelled and commutative operands reordered, with behaviour unchanged. Because detection is structural, both heal to nearly the same result. CI fails if the respelled run removes more than one point less.\n\n\u003Cp align=\"center\">\u003Cimg src=\"docs\u002Fassets\u002Frenamed.svg\" alt=\"Left: examples of what the benchmark respells. Right: tokens left per format; respelled builds heal to nearly the same size as the originals\" width=\"100%\" \u002F>\u003C\u002Fp>\n\n| Format | As shipped: removed | Respelled: removed |\n|---|---:|---:|\n| JavaScript \u002F TypeScript | 98.78% | 98.09% |\n| HTML | 99.29% | 99.17% |\n| WebAssembly | 99.98% | 99.98% |\n| Electron ASAR | 99.998% | 99.96% |\n\n## How it works\n\n\u003Cp align=\"center\">\u003Cimg src=\"docs\u002Fassets\u002Fpipeline.svg\" alt=\"LASIK pass order: detect, cut interlocks, strip decoys, fold to a fixpoint, rename, firewall, report\" width=\"100%\" \u002F>\u003C\u002Fp>\n\n| Layer | What LASIK does |\n|---|---|\n| Opaque predicates | Proves constant conditions with a known-bits analysis and drops the dead branches |\n| Anti-strip interlocks | Evaluates the check on a closed-subset interpreter and folds it before anything is removed |\n| Encrypted and split literals | Decodes string tables with the key shipped beside them; re-joins split strings and integers |\n| Decoys | Removes everything unreachable from real entry points |\n| Tamper and domain locks | Removes them and reports the lock's terms |\n| Runtime noise | Drops state churn and status blocks that nothing reads |\n| Renamed identifiers | Restores names the program exports or imports; neutral names for the rest |\n| Padding and planted data | Strips padding, trailers and planted entries from binaries, databases, models and archives, and rebuilds offsets and checksums |\n| Planted instructions | Redacts them with 40 firewall rules |\n\nDetails are in [docs\u002Fhow-it-works.md](docs\u002Fhow-it-works.md). Two independent soundness reviews searched for inputs where healing changes behaviour or touches an unprotected file; every case found is fixed and pinned in [`tests\u002Fsoundness.test.ts`](tests\u002Fsoundness.test.ts).\n\n## Format coverage\n\n\u003C!-- coverage:start -->\nPinned to BLA **3.2.2**. 59\u002F63 BLA shield files fully healed; 44 more emit nothing into artifacts. Full per-file table: [docs\u002Fcoverage.md](docs\u002Fcoverage.md).\n\n| Surface | Status |\n|---|---|\n| .NET assembly | ✅ healed |\n| Android APK | ✅ healed |\n| Android DEX | ✅ healed |\n| Apple plist | ✅ healed |\n| Bun standalone | ✅ healed |\n| Electron ASAR | ✅ healed |\n| Erlang BEAM | ✅ healed |\n| EVM bytecode | ✅ healed |\n| Firmware UF2 | ✅ healed |\n| GPU PTX | ✅ healed |\n| JavaScript \u002F HTML | 🟡 partial |\n| JVM class | ✅ healed |\n| Mobile game (DEX \u002F IL2CPP) | ✅ healed |\n| Native ELF \u002F PE \u002F Mach-O | 🟡 partial |\n| PCAP | ✅ healed |\n| Prompt text | ✅ healed |\n| Python | ✅ healed |\n| Safetensors \u002F GGUF | ✅ healed |\n| Sidecar entanglement | ✅ healed |\n| Source maps | ✅ healed |\n| SQLite | ✅ healed |\n| WebAssembly | ✅ healed |\n| ZIP \u002F JAR \u002F APK | ✅ healed |\n\u003C!-- coverage:end -->\n\n## Limitations\n\n- Information the protection destroyed (local names, comments, original source maps, overwritten sections) cannot be recovered; LASIK reports it rather than inventing it.\n- Healers are validated on real BLA 3.2.1 output for 21 formats ([tests\u002Ffixtures\u002Fbla-3.2.1](tests\u002Ffixtures\u002Fbla-3.2.1)); Go, Flutter, Bun, BEAM, APK\u002FDEX and IL2CPP so far on fixtures built from BLA's source.\n- New protection techniques can need an update. Upstream changes are tracked weekly ([coverage\u002Fbla.json](coverage\u002Fbla.json)), and builds protected with earlier versions stay supported.\n\n## Responsible use\n\nLASIK is a deobfuscator. Use it on your own software, on malware and threat samples, in CTFs, and in audits you are authorised to perform. Removing protection from software you have no rights to can breach its licence or laws such as DMCA §1201. See [DISCLAIMER.md](DISCLAIMER.md).\n\n## Contributing\n\nBug reports with a sample (or `lasik scan --json` output) are the most useful contribution. See [CONTRIBUTING](.github\u002FCONTRIBUTING.md).\n\nAlso available in [简体中文](docs\u002Freadme\u002FREADME.zh-CN.md) · [日本語](docs\u002Freadme\u002FREADME.ja.md) · [한국어](docs\u002Freadme\u002FREADME.ko.md) · [Español](docs\u002Freadme\u002FREADME.es.md).\n\n## License\n\n[MIT](LICENSE). The benchmark corpus is © BLA Contributors, MIT. LASIK is not affiliated with BLA or REA.\n","LASIK 是一个静态反混淆工具，用于移除 BLA（Blind LLM Agents）等针对大语言模型代理的代码硬化保护层，使编程代理和逆向分析工具能安全读取原始逻辑。其核心功能包括基于行为的结构化检测（不依赖变量名）、形式化证明保障语义等价、零执行风险的纯静态处理，并内置提示注入防护；支持 JavaScript\u002FTypeScript、WebAssembly、Electron ASAR、ELF\u002FPE\u002FMach-O 等 21 种格式。适用于 LLM 编程代理调试、自动化代码审计、恶意软件静态分析及 AI 安全研究等需可信源码还原的场景。",2,"2026-11-24 04:41:08","CREATED_QUERY"]