Sign inGet started
Paper · arXiv

LLM Ghostbusters: Surgical Package Hallucination Suppression via Adaptive Unlearning

Hallucinations remain an unsolved problem for LLMs, and package hallucinations are a particularly dangerous instance of this phenomenon. Package hallucinations occur during code generation when a model fabricates non-existent software packages, recommending imports and installation commands for fictional libraries. This creates a critical supply-chain vulnerability; an attacker can proactively register such packages on public registries with malicious payloads that are subsequently installed and executed by developers or autonomous agents. These hallucinations enable a class of package confusion attack known as slopsquatting. To address this issue, we present Adaptive Unlearning (AU), a p...

AuthorsJoseph Spracklen, Pedram Aghazadeh, Farinaz Koushanfar et al.
Primary categorycs.CR
Published1 May 2026
Last updated at source21 September 2026
cs.CRcs.AIcs.CLcs.LG
Embed this entry
<iframe src="https://silytics.si/embed/item/e0a2a9ff-fde8-40b0-a5fb-185d31e3cdb3" width="420" height="190" style="border:0" loading="lazy" title="Silytics entry"></iframe>

Free, no tracking. More about feeds and embeds.

Silytics shows public metadata from arXiv and links to the original. Information may be incomplete or out of date. Last refreshed 17 October 2026. Licenses and terms of the original apply to the work itself. Not financial, legal or professional advice.