WebHackList

Preliminary research

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

AI-collected research leads first published in 2026 through 18 November 2026, included only after passing the repository's judging skill. Unranked, incomplete, not community-vetted, and subject to change.

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.