Research map / Adversarial robustness and security / Attacks on text and graphs
CodeHacker: Automated Test Case Generation for Detecting Vulnerabilities in Competitive Programming Solutions
Jingwei Shi, Xinxiang Yin, Jing Huang, Shengyu Tao, Jinman Zhao
Shanghai University of Finance and Economics · Northwestern Polytechnical University · Meituan · University of Toronto
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| Add CodeHacker-generated hack cases (ablation) | CodeContest+ · Special Judge problems | TNR (%): 84.04 -> 96.05 | Improved |
| Use CodeHacker tests (CodeContest++) instead of CodeContest+ | CodeContest+ · Traditional Judge | TNR (%): 85.72 -> 96.31 | Improved |
| Use CodeHacker tests (CodeContest++) | CodeContest+ · Traditional Judge | TPR (%): 96.02 -> 95.86 | Hurt |
| Add refined validator (ablation) | CodeContest+ · Special Judge problems | TNR (%): 82.18 -> 82.08 | No clear effect |
| Add refined checker (ablation) | CodeContest+ · Special Judge problems | TNR (%): 82.08 -> 84.04 | Improved |
| Add the refinement loop (ablation) | CodeHacker (GPT-5-Mini) · Hack success rate | HSR (%): 46.60 -> 51.40 | Improved |
| Add the Code Analyst (ablation) | CodeHacker (GPT-5-Mini) · Hack success rate | HSR (%): 49.86 -> 51.40 | Improved |
| Add the stress test module (ablation) | CodeHacker (GPT-5-Mini) · Hack success rate | HSR (%): 50.12 -> 51.40 | Improved |
| Add the anti-hash generator (ablation) | CodeHacker (GPT-5-Mini) · Hack success rate | HSR (%): 51.00 -> 51.40 | No clear effect |
| Enable thinking (reasoning) mode (ablation) | CodeHacker (DeepSeek V3.2) · Hack success rate | HSR (%): 23.76 -> 64.83 | Improved |
| Evaluate with hack cases (adjusted Pass@1) | DeepSeek V3.2, GPT-5-Mini, Gemini-3.0-Flash · CodeHackerBench | Pass@1: DeepSeek V3.2 83.3% -> 81.6%; Qwen3-32B* 51.0% -> 47.5% | Hurt |
| RL-train on CodeContests++ instead of CodeContests+ | Qwen3-4B · LiveCodeBench Medium | pass@1: 58.82 -> 66.18 | Improved |
Open problems in LLM jailbreak and prompt injection defense
Which defenses against jailbreaks and prompt injection hold up, and what do they cost in usefulness?
- Adaptive attacks are not ruled out. · 8 papers state it
- Attack success does not carry over between target models. · 7 papers state it
- Strong attacks still need white-box access. · 6 papers state it
Closest papers by meaning
- ATGen: Adversarial Reinforcement Learning for Test Case Generation (ICLR 2026 · similarity 0.90)
- SWINGARENA: Adversarial Programming Arena for Long-context GitHub Issue Solving (ICLR 2026 · similarity 0.89)
- Rethinking Verification for LLM Code Generation: From Generation to Testing (NeurIPS 2025 · similarity 0.88)
- MOSAIC-Bench: Measuring Compositional Vulnerability Induction in Coding Agents (NeurIPS 2026 · similarity 0.87)
- SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code Agents (NeurIPS 2024 · similarity 0.87)
- LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code (ICLR 2025 · similarity 0.87)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.