OSINT profile compiled by Tenka Cloud Security. Techniques cross-referenced with MITRE ATT&CK.
The plain-English version
(The "I just walked in the door, explain it to me" cut.)
Imagine you ask a very confident robot for the name of a bakery. The robot doesn't actually know, so it makes one up: "Blue Duck Bakery." There is no Blue Duck Bakery. But a sneaky person keeps hearing the robot say it — so they open a real shop called Blue Duck Bakery and stock it with rotten bread. Now when you trust the robot and walk in, you get the bad bread. The robot never lied on purpose. It just guessed, and a bad guy was already standing where the guess landed.
For the support desk
(How to relay this to a customer or teammate who asks "why did my build get flagged?")
How the attack works
MITRE ATT&CK mapping
What Tenka Cloud does about it
Every Tenka Cloud VM ships with a supply-chain guardrail baked into the on-box AI's default instructions. Before installing any dependency, the assistant is told to verify the package actually exists and is the one intended (registry page, download counts, repo), to never install a name just because it was suggested, and to treat every pip install / npm install as a trust decision. Because each VM runs the assistant with full privileges, this default narrows the window where a hallucinated package name turns into code execution.
Recommended actions
Sources & references
Technique IDs map to MITRE ATT&CK; see also CISA guidance on software supply-chain security.
Summary
Phantom squatting — also called slopsquatting — is a software supply-chain attack that weaponises the mistakes AI coding assistants make. Large language models routinely hallucinate: they invent plausible-sounding names for software packages, libraries, and domains that do not actually exist. Attackers watch for the invented names that keep recurring, then register them for real — a malicious npm or PyPI package, or a look-alike domain. The next time a developer pastes AI-generated code and runs pip install <name>, or follows a suggested URL, they pull the attacker's payload instead of nothing.
The attacker never has to break in. They simply wait at the address the AI keeps guessing, and let trust in the tool do the rest.

