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
Aliases
  • GHSA-27r8-2rjc-75rv
Published
2026-07-04T13:42:47Z
Modified
2026-07-07T17:16:48Z
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.

Source: ghsa-malware (e69e5db3bcc68fc0ad8c1c678a702131fe0e534acba8ad99912226a1737d4ffb)

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-007954",
            "import_time": "2026-07-04T14:34:31.907787738Z",
            "modified_time": "2026-07-04T13:42:47Z",
            "sha256": "b6fbcfc445b1a599943dac3ca0691633629c6804037b38fcf6113062f6add848",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "id": "GHSA-27r8-2rjc-75rv",
            "import_time": "2026-07-07T17:01:10.251768235Z",
            "modified_time": "2026-07-07T16:16:40Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "e69e5db3bcc68fc0ad8c1c678a702131fe0e534acba8ad99912226a1737d4ffb",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / paperclip2

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.0

Database specific

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