Trend Micro research: coding agents invent package names such as "starlette-reverse-proxy"
Trend Micro reports seeing an agent generate a plausible package name that did not exist; the build failed with "module not found". It gives starlette-reverse-proxy as an example of such a name.
This record is a measurement reported by a paper or a vendor, not a single dated incident.
Description
Trend Micro's write-up on slopsquatting says: "During our research, we observed an advanced agent confidently generating a perfectly plausible package name out of thin air, only to have the build crash with a 'module not found' error moments later." It names starlette-reverse-proxy as an example of a dependency a coding agent can hallucinate, and points out that an attacker could register such a name on PyPI so that a later run installs the attacker's code. The article also compares how many made-up package names several agents and models propose per task. Nothing harmful happened in the observed session.
Exhibited failure modes
- Fabrication — Generating reference to non-existent APIs, packages, or symbols.
- Supply-chain attack — Slopsquatting, typosquatting, compromised MCP servers.
Affected systems
- unnamed coding agent
Mitigated by
- Socket — Dependency supply-chain scanner that inspects packages before install.
Documented by
Sources
Notes
A vendor's research write-up, not an incident. Corrected on 2026-11-21 from the article: the text does not say that the session it observed involved starlette-reverse-proxy; that name is given as an example, so the title and text no longer claim it. harm_class was "security_breach" although the record itself called the session harmless. The article shows no publication date on the page; 2025-05-01 is the approximate date this record already carried and was not verified.