Skip to content
AV
AI

Why does my AI assistant recommend packages that turn out to be malware?

85

๊ธฐํšŒ

When a code-generating model scaffolds a project, it invents package names at rates between 4.6% and 6.1% even on today's frontier models. Attackers register those hallucinated names as malicious packages before developers notice. Researchers studying five frontier models released between October 2025 and March 2026 found 127 package names all five models invent identically; 53 of them remain registrable by an attacker after each registry's existing defenses. No IDE plugin, no CI step, and no package manager checks whether a model-suggested package name was ever real before resolving it. The only current advice is to read every import manually, which no team does at scale.

์™œ ์ค‘์š”ํ•œ๊ฐ€

Until there is a pre-install oracle that cross-references model-suggested names against real registry data, every AI-assisted build is one hallucinated import away from installing malware.

๊ธฐํšŒ ํ‰๊ฐ€ ๋ฐฉ์‹

๊ธฐํšŒ ์ ์ˆ˜๋Š” ์ธก์ •๊ฐ’์ด ์•„๋‹Œ ์ œ ์ฃผ๊ด€์  ํ‰๊ฐ€์ž…๋‹ˆ๋‹ค. ์–ผ๋งˆ๋‚˜ ๋ถˆํŽธํ•œ์ง€, ์–ผ๋งˆ๋‚˜ ์ž์ฃผ ๋ฐœ์ƒํ•˜๋Š”์ง€, ํ˜„์žฌ ํ•ด๊ฒฐ์ฑ…์ด ์–ผ๋งˆ๋‚˜ ๋ถ€์กฑํ•œ์ง€๋ฅผ ๋ฐ˜์˜ํ•ฉ๋‹ˆ๋‹ค. ์ ์ˆ˜๊ฐ€ ๋†’์„์ˆ˜๋ก ๋งŒ๋“ค ๊ฐ€์น˜๊ฐ€ ๋” ๋†’๋‹ค๊ณ  ์ƒ๊ฐํ•ฉ๋‹ˆ๋‹ค.

์‹ฌ๊ฐ๋„9/10

๋ฐœ์ƒํ–ˆ์„ ๋•Œ ์–ผ๋งˆ๋‚˜ ํฐ ๋ถˆํŽธ์„ ์ดˆ๋ž˜ํ•˜๋Š”์ง€.

๋นˆ๋„8/10

์‹ค์ œ๋กœ ์–ผ๋งˆ๋‚˜ ์ž์ฃผ ์ ‘ํ•˜๊ฒŒ ๋˜๋Š”์ง€.

๊ณต๋ฐฑ ์˜์—ญ8/10

ํ˜„์žฌ ์ด๋ฅผ ํ•ด๊ฒฐํ•  ๋งŒํ•œ ๋„๊ตฌ๊ฐ€ ์–ผ๋งˆ๋‚˜ ๋ถ€์กฑํ•œ์ง€.

ํ•ด๊ฒฐํ•  ๊ฐ€์น˜ ์žˆ๋Š” ๋” ๋งŽ์€ ๋ฌธ์ œ๋“ค