MAL-2025-190729

    Dashboard / Malicious Package / MAL-2025-190729

    MAL-2025-190729

    Published: 24 Nov 2025Last Modified: 26 Nov 2025Aliases: 
    GHSA-337m-mwhq-f3v7

    Summary: Malicious code in @ensdomains/durin-middleware (npm)

    Details: Source: amazon-inspector (27a9df78efcaffb2ba4d2a6dd6d6e8041525a63fb4b205797b27a5bb3c7a4012) The package @ensdomains/durin-middleware was found to contain malicious code. Source: ghsa-malware (3b0fe96951a12d1ee990ed92fa9259800f63c296e86ff45bd9600295381d2a74) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it. Source: google-open-source-security (080736b2ef829c8e726a910eed31d4ffd3a238cd5a5eaf71f5def6d120f9a855) This package was compromised by the Sha1-Hulud: The Second Coming NPM worm. The malicious payload steals tokens and credentials and publishes them to GitHub. The worm will propogate itself to NPM packages the user owns and establish persistence is a GitHub action. The package may also destroy the user's home directory.

    Affected packages

    Package

    Name: @ensdomains/durin-middleware

    Purl: pkg:npm/%40ensdomains/durin-middleware

    Affected ranges

    Type: N/A

    Events:

    Introduced- None
    Fixed -None

    Affected versions

    0.0.2