Package hallucination study accepted at SANER 2027
Our paper “A Second Look at Hallucinated Packages: What Models Do With the Names They Invent” has been accepted in the Research Track of SANER 2027, the 34th IEEE International Conference on Software Analysis, Evolution and Reengineering. The track accepted 56 of 320 papers, about 17.5%. Large language models often invent names of packages that do not exist, and attackers can register those names in advance. To see what models do with such names, the team collected 13,194 invented Python package names from three models and asked each model to write code that uses the names it had invented. Models wrote that code in 14.0% to 49.7% of requests, rarely warned that a package might not be real, and mostly kept building on it during later code review, debugging, and extension. This senior project of Pundharee Puckdinukul, Natkrittar Maswongwiwat, and Yu-Han Huang began during Pundharee's 2026 research internship at the Software Design and Analysis Laboratory of NAIST, and it is the first paper for all three students. SANER 2027 takes place from 9 to 12 March 2027 in Richmond, Virginia, United States.