MAL-2025-49731

    Dashboard / Malicious Package / MAL-2025-49731

    MAL-2025-49731

    Published: 10 Nov 2025Last Modified: 10 Nov 2025

    Summary: Malicious code in post-purchase-frontend (npm)

    Details: Source: amazon-inspector (0f7c59be0aca6f22fc3b7ea58767ce53286e50138bbb75674cc2a7cdce3d1ad4) The package post-purchase-frontend was found to contain malicious code. This package appears to be part of the tea.xyz token reward campaign that flooded npm with over 15,000 spam packages in 2024. These packages typically contain autopublish scripts (auto.js, autopublish.js, autopublish2.js, autopublish3.js) designed to automatically generate and publish derivative packages with randomized names to inflate developer reputation scores for tea protocol token rewards. The malicious payload modifies package.json to remove private flags, changes version numbers, generates random Indonesian-themed package names, and continuously republishes variants to pollute the npm registry. Source: ossf-package-analysis (9acf66e5c2b724047cb22aaef959072d28363e9045fe14fdb7bca489beab4864) The OpenSSF Package Analysis project identified 'post-purchase-frontend' @ 1.0.1 (npm) as malicious. It is considered malicious because: - The package communicates with a domain associated with malicious activity. - The package executes one or more commands associated with malicious behavior.

    References:

    Affected packages

    Package

    Name: post-purchase-frontend

    Purl: pkg:npm/post-purchase-frontend

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    1.0.1