Skip to content

MAL-2025-49731 Malicious code in post-purchase-frontend (npm)

Unknown
Published
Updated
Exploit status
No public exploit known

Description


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

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.

Upgrade path

1 package: 0 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
npm post-purchase-frontend(npm) = 1.0.1; = 2.0.0; All versions No fix listed No fix yet

Affected products

ProductAffected versionsFixed in
npm post-purchase-frontend(npm) All versions No fix listed
npm post-purchase-frontend(npm) = 1.0.1 No fix listed
npm post-purchase-frontend(npm) = 2.0.0 No fix listed

References

No public references yet.