MAL-2026-13622
Vulnerability from ossf_malicious_packages
Published
2026-08-07 17:24
Modified
2026-08-07 17:52
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.

CWE
  • CWE-506 - The product contains code that appears to be malicious in nature.
  • CWE-506 - The product contains code that appears to be malicious in nature.
Credits

{
  "affected": [
    {
      "database_specific": {
        "cwes": [
          {
            "cweId": "CWE-506",
            "description": "The product contains code that appears to be malicious in nature.",
            "name": "Embedded Malicious Code"
          },
          {
            "cweId": "CWE-506",
            "description": "The product contains code that appears to be malicious in nature.",
            "name": "Embedded Malicious Code"
          }
        ],
        "indicators": {
          "evidence_files": [
            {
              "path": "package.json",
              "sha256": "adcf1a37fcdafb23420b7d6e3ece43d637415165427450b4150e0a1373e95540",
              "tlsh": "4f22de15ccf88da3188519eda87a0282b13681874d50fe1d379d47ac5f8c3af21bb76e"
            }
          ],
          "package_integrity": [
            {
              "filename": "astro-7.1.3-depup.2.tgz",
              "hashes": {
                "sha1": "664bacbad0b29940828c7d66145c50b937c6ac19",
                "sha512_sri": "sha512-H6AHt8UHLB8LjJbvYzhzHlWKbGTQ0IXoAeZGHxKzhNeKBlsefjIocSseucugdGhzqMVmslBE3BYn3Y2erJxm+g=="
              }
            }
          ]
        }
      },
      "package": {
        "ecosystem": "npm",
        "name": "@depup/astro"
      },
      "versions": [
        "7.1.3-depup.2",
        "7.2.0-depup.0"
      ]
    }
  ],
  "credits": [
    {
      "contact": [
        "inspector-research@amazon.com"
      ],
      "name": "Amazon Inspector",
      "type": "FINDER"
    }
  ],
  "database_specific": {
    "malicious-packages-origins": [
      {
        "id": "IN-MAL-2026-017129",
        "import_time": "2026-08-07T17:51:00.044897552Z",
        "modified_time": "2026-08-07T17:24:42Z",
        "sha256": "75daeef07606b8ba315a6ced4fd25925f79ab11b19032f8a51544c18457c6401",
        "source": "amazon-inspector",
        "versions": [
          "7.1.3-depup.2"
        ]
      },
      {
        "id": "IN-MAL-2026-017127",
        "import_time": "2026-08-07T17:50:59.972390797Z",
        "modified_time": "2026-08-07T17:24:21Z",
        "sha256": "c7c6330072ae71974da0dd2e0e72a33334a35b78ec5679536d95b9f205032225",
        "source": "amazon-inspector",
        "versions": [
          "7.2.0-depup.0"
        ]
      }
    ]
  },
  "details": "\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c7c6330072ae71974da0dd2e0e72a33334a35b78ec5679536d95b9f205032225)\nThis package is published under the @depup scope but sets author to \u0027withastro\u0027 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\u2192piccolore (^0.1.3), debug\u2192obug (^2.1.4), and @astrojs/markdown-remark\u2192@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 \u0027security\u0027, \u0027latest\u0027, and \u0027patched\u0027 are used to normalize the substitutions as a maintenance update.\n",
  "id": "MAL-2026-13622",
  "modified": "2026-08-07T17:52:50Z",
  "published": "2026-08-07T17:24:21Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/@depup/astro/v/7.1.3-depup.2"
    },
    {
      "type": "PACKAGE",
      "url": "https://www.npmjs.com/package/@depup/astro/v/7.2.0-depup.0"
    }
  ],
  "schema_version": "1.7.4",
  "summary": "Malicious code in @depup/astro (npm)"
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…