MAL-2026-13622

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@depup/astro/MAL-2026-13622.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-13622
Published
2026-08-07T17:24:21Z
Modified
2026-08-07T18:05:10.722763022Z
Summary
Malicious code in @depup/astro (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (c7c6330072ae71974da0dd2e0e72a33334a35b78ec5679536d95b9f205032225)

This package is published under the @depup scope but sets author to 'withastro' and repository to github.com/withastro/astro, framing itself as a routine dependency-bump of the upstream astro framework. Its package.json systematically replaces well-known astro dependencies with same-shape lookalike names controlled by different maintainers, including picocolors→piccolore (^0.1.3), debug→obug (^2.1.4), and @astrojs/markdown-remark→@astrojs/markdown-satteri (0.3.5), alongside other atypical names such as tinyclip, am-i-vibing, and fontace. The shipped source has been mass-rewritten to import from the lookalikes (e.g., import colors from "piccolore" in place of picocolors), so a normal npm install and subsequent build resolves and executes code from those lookalike packages rather than the genuine upstream dependencies. The advertised version numbers (astro 7.2.0, vite 8, esbuild 0.28, zod 4) do not correspond to real upstream releases, and README keywords like 'security', 'latest', and 'patched' are used to normalize the substitutions as a maintenance update.

Database specific
{
    "malicious-packages-origins": [
        {
            "modified_time": "2026-08-07T17:24:42Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-017129",
            "import_time": "2026-08-07T17:51:00.044897552Z",
            "sha256": "75daeef07606b8ba315a6ced4fd25925f79ab11b19032f8a51544c18457c6401",
            "versions": [
                "7.1.3-depup.2"
            ]
        },
        {
            "source": "amazon-inspector",
            "modified_time": "2026-08-07T17:24:21Z",
            "sha256": "c7c6330072ae71974da0dd2e0e72a33334a35b78ec5679536d95b9f205032225",
            "import_time": "2026-08-07T17:50:59.972390797Z",
            "id": "IN-MAL-2026-017127",
            "versions": [
                "7.2.0-depup.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @depup/astro

Package

Affected ranges

Affected versions

7.*
7.1.3-depup.2
7.2.0-depup.0

Database specific

indicators
{
    "package_integrity": [
        {
            "filename": "astro-7.1.3-depup.2.tgz",
            "hashes": {
                "sha512_sri": "sha512-H6AHt8UHLB8LjJbvYzhzHlWKbGTQ0IXoAeZGHxKzhNeKBlsefjIocSseucugdGhzqMVmslBE3BYn3Y2erJxm+g==",
                "sha1": "664bacbad0b29940828c7d66145c50b937c6ac19"
            }
        }
    ],
    "evidence_files": [
        {
            "tlsh": "4f22de15ccf88da3188519eda87a0282b13681874d50fe1d379d47ac5f8c3af21bb76e",
            "sha256": "adcf1a37fcdafb23420b7d6e3ece43d637415165427450b4150e0a1373e95540",
            "path": "package.json"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@depup/astro/MAL-2026-13622.json"
cwes
[
    {
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]