WeChat (量子位)
ai-engineeringsecurity-privacy
Original source

中大本科生反AI逆向项目火了!让黑客Token账单原地暴涨300倍

Summary

BLA (Blind LLM Agents) is an adversarial defense tool created to counter REA, the viral AI reverse-engineering agent (100k+ stars in first week, now 446k). Built by Timo Zhang, a junior CS student at Sun Yat-sen University (中山大学) currently interning at ByteDance.

BLA uses a three-phase defense strategy against AI reverse-engineering agents:

  1. Poison (投毒) — Injects realistic-looking fake credentials, decoy Source Maps with fabricated source paths/code, fake diagnostic info, and bogus auth logic branches. Wastes the AI agent’s tokens chasing dead ends.

  2. Exhaust (耗尽预算) — Triggers hardcoded quota limits in analyzers. E.g. for Electron .asar packages, BLA stuffs ~4000 decoy files with long paths into the index. A 607-byte package balloons to 16.93 MiB, exceeding REA’s default header size limit and causing read errors.

  3. Hallucinate (诱导误判) — Misleads the AI into following non-existent call chains and drawing wrong conclusions about the codebase.

Effectiveness: Testing on 13 comparison items showed 7 caused errors/rejections in REA, 2 returned partial results, 1 errored on specific queries, 3 were unaffected. Token consumption increased 300-2800x; across 14 sample repos, average was 639.5x tokens / 304.4x cost increase.

Author: Timo Zhang also created “mu (μ)”, a Raspberry Pi-based small model for reducing coding agent token consumption (500+ stars), and is a LobeHub contributor.

BLA currently has 3900+ stars and 476 forks.