{"id":"MAL-2026-10726","revision":"9ef85824a7e845acb90afdac0792fa9a","records":[{"revision":"9ef85824a7e845acb90afdac0792fa9a","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10726","aliases":[],"title":"Malicious code in astro (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (949822741657acf4a6b9f6255a2f7a080ca1cc3343e9663020c5e21ce2a6b03c)\nThis tarball is published as astro@7.1.0 but does not match the legitimate withastro/astro project (which is on the v5.x line and depends on picocolors, debug, and @astrojs/markdown-remark). The package.json declares dependencies on typosquat-shaped names on the same registry: piccolore, obug, and @astrojs/markdown-satteri. Core modules import these look-alikes unconditionally — dist/core/logger/node.js contains `import { createDebug, enable as obugEnable } from \"obug\"` and dist/cli/infra/piccolore-text-styler.js contains `import colors from \"piccolore\"` — so any `require('astro')` or CLI invocation causes those attacker-controlled packages to be resolved and executed inside the installer's node_modules tree. The version jump from the real 5.x line and the substitution of the standard utility dependencies with lookalike names indicate a registry impersonation of the astro framework, structured as a dependency-chain dropper.\n","state":2,"publishedAt":"2026-07-16T18:39:39+00:00","modifiedAt":"2026-07-23T07:54:19.5290259+00:00","affected":[{"ecosystem":"npm","name":"astro","ranges":[],"versions":["7.1.0"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/astro/v/7.1.0"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10726","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10726","identifiers":["MAL-2026-10726"]},"retained":false,"historicalAffected":[]}],"coverage":[]}