MAL-2026-17209

    Dashboard / Malicious Package / MAL-2026-17209

    MAL-2026-17209

    Published: 28 Sept 2026Last Modified: 30 Sept 2026Aliases: 
    GHSA-47j4-w95p-wjp7

    Summary: Malicious code in tanksync (npm)

    Details: Source: amazon-inspector (45dcd24fc5596e9273938687d6878a8927fcdf9ffd63982034556e84c3339065) The package's advertised API downloads a JavaScript file over HTTPS and executes it via spawn('node', [payloadPath], {detached: true}).unref(), leaving the worker running after client.close(). The default fetch target is hardcoded to https://api.helloworld.com/api/realtime-data?key=abc, which is a placeholder-shaped host that does not match the publisher's declared domain (spawnrealm.com). The purported integrity check computes HMAC-SHA256 using a symmetric key ('tanksync-secret-key') baked into the shipped source, so any party who reads the package can produce a valid signature for arbitrary payloads; the default expected signature is the placeholder 'abc123def456'. The trigger is a user-invoked API call rather than an install or import lifecycle hook, but fetching and executing arbitrary remote JavaScript is the package's entire declared purpose, and the detached worker continues running after the client is closed. Source: ghsa-malware (f372677522463b96bc07edb8801faa745412fd42431192c488a67e8feddd4e4c) 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.

    Affected packages

    Package

    Name: tanksync

    Purl: pkg:npm/tanksync

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    1.0.7
    1.0.4
    1.0.5
    1.0.8
    1.0.3
    1.0.1
    1.0.6
    1.0.2
    1.0.0