MAL-2025-170878

    Dashboard / Malicious Package / MAL-2025-170878

    MAL-2025-170878

    Published: 12 Nov 2025Last Modified: 12 Nov 2025

    Summary: Malicious code in amjahafiz (npm)

    Details: Source: amazon-inspector (3a0baac0acaaa5bd83d1ae77628151b09fedc22a5e4de9b4c5a0470ae12c3946) This package appears to be part of the tea.xyz token reward campaign that flooded npm. 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 (some variants are also in English), and continuously republishes variants to pollute the npm registry.

    References:

    Affected packages

    Package

    Name: amjahafiz

    Purl: pkg:npm/amjahafiz

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    MAL-2025-170878 | CVE-DB