AntiAgent transforms code to counter LLM vulnerability detection
Start here
The researchers propose a defense method, AntiAgent: developers use it to transform JavaScript programs before release, hindering LLM-based vulnerability-detection agents from analyzing vulnerabilities in the source code. The method evolves variants using a corpus of programs containing known vulnerabilities, traces the detection agent's analysis process for each variant, retains versions that the agent missed or misreported, and then distills them into reusable rules; when protecting a new program, an LLM and the rules divide the work so that the transformation adapts to the program while preserving semantics. In an evaluation on real JavaScript applications against four detection agents (including Claude Code and Codex), AntiAgent reduced the number of vulnerabilities detected by each agent by 52.0-60.7%, outperforming the traditional obfuscator JS-Obfuscator and the LLM-based transformation method FPA on every agent; the transformed programs passed all project tests, and the transformation rules remained effective against vulnerability types not present in the corpus and against programs written in other languages such as Python.
Generated by AI from reports · Updated 13 days ago
Attention and developments
Attention, hourly
Now 32, 0% in 24 hours·Peak 32 (Nov 26 13:00)
Related research
This event's paper
- Hardening JavaScript Programs against LLM-Based Vulnerability Detection
arXiv · 2026-11-19 · Deep reading
Progress timeline
- arXiv: 其他 AI 安全论文Hardening JavaScript Programs Against LLM-Based Vulnerability Detection
Researchers propose a defense method, AntiAgent, that lets developers transform JavaScript programs before release to hinder LLM-based vulnerability detection agents from analyzing vulnerabilities in the source code. The method evolves variants using a corpus of programs with known vulnerabilities, traces the detection agent's analysis process for each variant, retains versions that the agent misses or misreports, and distills their transformations into reusable rules; when protecting a new program, an LLM and the rules divide the work so that the transformation adapts to the program while preserving semantics. In evaluation on real JavaScript applications against four detection agents (including Claude Code and Codex), AntiAgent reduces the number of vulnerabilities detected by each agent by 52.0-60.7%, outperforming the traditional obfuscator JS-Obfuscator and the LLM-based transformation method FPA on every agent; the transformed programs pass all project tests, and the transformation rules remain effective against vulnerability types not present in the corpus and against programs written in other languages such as Python.
Related discussion
Attention trend
New sources per day
- Nov 20: 1 new sources (1 outlets, 0 accounts)
- Nov 21: 0 new sources (0 outlets, 0 accounts)
- Nov 22: 0 new sources (0 outlets, 0 accounts)
- Nov 23: 0 new sources (0 outlets, 0 accounts)
- Nov 24: 0 new sources (0 outlets, 0 accounts)
- Nov 25: 0 new sources (0 outlets, 0 accounts)
- Nov 26: 0 new sources (0 outlets, 0 accounts)
- Nov 27: 0 new sources (0 outlets, 0 accounts)
- Nov 28: 0 new sources (0 outlets, 0 accounts)
- Nov 29: 0 new sources (0 outlets, 0 accounts)
- Nov 30: 0 new sources (0 outlets, 0 accounts)
- Dec 1: 0 new sources (0 outlets, 0 accounts)
- Dec 2: 0 new sources (0 outlets, 0 accounts)
- Dec 3: 0 new sources (0 outlets, 0 accounts)