WebHackList

Preliminary research

Package Hallucination Attacks on Coding Agents through Prompt Injection in Rule Files

Last synced: 5 December 2026.

PackHallu optimizes malicious instructions embedded in coding-agent rule files using trajectory feedback and iterative mutations. Across agent frameworks and models, the study measures how often the injected rules steer generated code to import an attacker-controlled package, including local install-and-execute tests.

Preserved copies · Yupu Wang, Zhengyuan Jiang, Reachal Wang and Neil Zhenqiang Gong · Original publication ↗

GitHub MD fileGitHub PDF file

Record

Researcher
Yupu Wang, Zhengyuan Jiang, Reachal Wang and Neil Zhenqiang Gong
Published by
arxiv.org
Topic
Injection

In the archive

Tags

This page is the archive's own catalogue record. The research is the work of Yupu Wang, Zhengyuan Jiang, Reachal Wang and Neil Zhenqiang Gong, first published at the original source. Preserved copies are kept so the citation survives its host.