MAL-2026-6755

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/paperclip2/MAL-2026-6755.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6755
Published
2026-07-04T13:42:47Z
Modified
2026-07-04T14:46:37.909511405Z
Summary
Malicious code in paperclip2 (npm)
Details

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

Source: amazon-inspector (b6fbcfc445b1a599943dac3ca0691633629c6804037b38fcf6113062f6add848)

package.json declares a postinstall lifecycle script that runs node -e code opening a TCP connection to 185.112.147.174:7007 and piping the socket to a spawned /bin/sh, giving the operator of that endpoint an interactive shell on the installer's machine. The package ships no other functionality — its sole effect on install is to establish this reverse shell. Any developer workstation or CI job running npm install paperclip2 is compromised with arbitrary code execution as the invoking user.

Database specific
{
    "malicious-packages-origins": [
        {
            "versions": [
                "1.0.0"
            ],
            "sha256": "b6fbcfc445b1a599943dac3ca0691633629c6804037b38fcf6113062f6add848",
            "modified_time": "2026-07-04T13:42:47Z",
            "source": "amazon-inspector",
            "import_time": "2026-07-04T14:34:31.907787738Z",
            "id": "IN-MAL-2026-007954"
        }
    ]
}
References
Credits

Affected packages

npm / paperclip2

Package

Affected ranges

Affected versions

1.*
1.0.0

Database specific

indicators
{
    "package_integrity": [
        {
            "filename": "paperclip2-1.0.0.tgz",
            "hashes": {
                "sha512_sri": "sha512-nAXbGaLpALwzD8GfhfY4wiE9oXBWkpxzILp+1qzISRO6wHunjS3LyZ+TtDls7fk2A8vjfYARyeKTdZTQR1Rmdw==",
                "sha1": "da769a670e8d790ef62db563680830bb061ec43e"
            }
        }
    ],
    "evidence_files": [
        {
            "sha256": "c14abb30157f64c6b11c54410819d4dc56a4520ff7264b6c0f1dbd5d53c526fb",
            "path": "package.json",
            "tlsh": "c8e022380e51233322c006f8286244377a52de6f320079548b8b29adc1ce7f7adf73a9"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/paperclip2/MAL-2026-6755.json"
cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    }
]