MAL-2026-6981

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/paperclip-adapter-helpers/MAL-2026-6981.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6981
Aliases
  • GHSA-v3ch-6vv8-xr3w
Published
2026-07-07T06:45:49Z
Modified
2026-07-15T06:04:26.655115410Z
Summary
Malicious code in paperclip-adapter-helpers (npm)
Details

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

Source: amazon-inspector (d49d1a6c5381f58370cbfedc2321bd44796eb4ea79541d967a661760d9759801)

paperclip-adapter-helpers@1.0.7 executes a credential-theft and C2 backdoor automatically on import. The package's main re-exports dist/server/index.js, whose top-level code spawns a detached shell (spawn("sh", ["-c",...], { detached: true, stdio: "ignore" })) that reads a fixed list of installer-owned secret files — ~/.aws/credentials, ~/.ssh/idrsa and ided25519, ~/.ssh/known_hosts, ~/.kube/config, ~/.docker/config.json, gcloud application-default credentials, Terraform credentials, ~/.azure, ~/.netrc, ~/.git-credentials, plus repository package.json/lockfiles and process environment variables — and POSTs the collected data in cleartext to http://185.112.147.174:7007/out. It then enters a polling loop against http://185.112.147.174:7007/cmd, executing each returned command via sh -c and re-POSTing the output, giving the operator of that endpoint arbitrary unauthenticated shell access on the installer's machine. The package.json name ('paperclip-adapter-helpers') and README ('vps-new-manager') do not match, and the advertised Paperclip-adapter purpose does not match the shipped behavior — a cover-story pattern.

Source: ghsa-malware (c33071282f67f5b2f1d74e9708139b4522912ab5cba4eed00e4556761e3d2d52)

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: ossf-package-analysis (703742479b22abc803449b57addd40a57923d4f658814003f6ebf5d13bc9a510)

The OpenSSF Package Analysis project identified 'paperclip-adapter-helpers' @ 1.0.7 (npm) as malicious.

It is considered malicious because:

  • The package executes one or more commands associated with malicious behavior.
Database specific
{
    "malicious-packages-origins": [
        {
            "source": "amazon-inspector",
            "sha256": "0ce6f14cf8d68ef09f32f7a6e6f48c28014bf1b58625a6cbc212c8054b9bc6b4",
            "versions": [
                "1.0.9"
            ],
            "modified_time": "2026-07-08T14:32:37Z",
            "import_time": "2026-07-08T15:19:04.973427814Z",
            "id": "IN-MAL-2026-008058"
        },
        {
            "source": "amazon-inspector",
            "sha256": "f111069b32159e3538f67cb8d10dd9596e780568747dbfedc09282dddf64d939",
            "versions": [
                "1.0.6"
            ],
            "modified_time": "2026-07-08T14:32:56Z",
            "import_time": "2026-07-08T15:19:05.190140975Z",
            "id": "IN-MAL-2026-008060"
        },
        {
            "modified_time": "2026-07-08T14:33:19Z",
            "source": "amazon-inspector",
            "versions": [
                "1.0.5"
            ],
            "sha256": "297eee5570849aa61b73d8675a5620746d7f01a82839e460cff08c042476d359",
            "import_time": "2026-07-08T15:19:05.519268434Z",
            "id": "IN-MAL-2026-008063"
        },
        {
            "id": "IN-MAL-2026-008055",
            "modified_time": "2026-07-08T14:32:11Z",
            "versions": [
                "1.0.12"
            ],
            "source": "amazon-inspector",
            "import_time": "2026-07-08T15:19:04.46759142Z",
            "sha256": "656827e756493766afe74584f930ff386c135e68cb12abc1c4392713dc3b7815"
        },
        {
            "import_time": "2026-07-08T15:19:05.622252768Z",
            "modified_time": "2026-07-08T14:33:29Z",
            "versions": [
                "1.0.4"
            ],
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-008064",
            "sha256": "9a78c1ba9da3276ce595591fc944efc81a4e751064d16218661a39d9c3f43cea"
        },
        {
            "sha256": "d49d1a6c5381f58370cbfedc2321bd44796eb4ea79541d967a661760d9759801",
            "modified_time": "2026-07-08T14:33:04Z",
            "versions": [
                "1.0.7"
            ],
            "source": "amazon-inspector",
            "import_time": "2026-07-08T15:19:05.347891211Z",
            "id": "IN-MAL-2026-008061"
        },
        {
            "import_time": "2026-07-08T15:19:05.871494354Z",
            "modified_time": "2026-07-08T14:33:46Z",
            "versions": [
                "1.0.1"
            ],
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-008066",
            "sha256": "e09e90e4d4c694f722fd748ecf48a8a5add0bed8c62933ff2f69a1bc2c346b05"
        },
        {
            "source": "amazon-inspector",
            "sha256": "e66c911f812abd5b8521cf1e23c03c8e4dec5f5f00c4d935ad65cb3c570b1b0e",
            "versions": [
                "1.0.8"
            ],
            "modified_time": "2026-07-08T14:32:47Z",
            "import_time": "2026-07-08T15:19:05.090373199Z",
            "id": "IN-MAL-2026-008059"
        },
        {
            "modified_time": "2026-07-08T14:33:39Z",
            "source": "amazon-inspector",
            "versions": [
                "1.0.2"
            ],
            "sha256": "eab8da00f417a2b25788ac5eeccd585680126966221c73d38cb2ef8666160060",
            "import_time": "2026-07-08T15:19:05.746321266Z",
            "id": "IN-MAL-2026-008065"
        },
        {
            "modified_time": "2026-07-09T15:53:48Z",
            "source": "amazon-inspector",
            "versions": [
                "1.0.11"
            ],
            "sha256": "da65edb1d416a90cfc4f15da2abc0ea76dc978cafd846c9771c8a8255022d1cb",
            "import_time": "2026-07-09T16:20:56.58997935Z",
            "id": "IN-MAL-2026-009275"
        },
        {
            "sha256": "f5bb6c8ffe5bec1bd9d490a3f92fa4d281098f737b481944f54b2daf96c5e70c",
            "source": "amazon-inspector",
            "versions": [
                "1.0.10"
            ],
            "modified_time": "2026-07-09T15:53:35Z",
            "import_time": "2026-07-09T16:20:56.488368819Z",
            "id": "IN-MAL-2026-009273"
        },
        {
            "id": "IN-MAL-2026-009276",
            "modified_time": "2026-07-09T15:53:56Z",
            "versions": [
                "1.0.3"
            ],
            "source": "amazon-inspector",
            "import_time": "2026-07-09T16:20:56.751028967Z",
            "sha256": "b35ccc1e78bddc20626eba4216900d10d6a804d5da18237e138c581d98a2e22f"
        },
        {
            "source": "amazon-inspector",
            "sha256": "c3b54076f729a3fc5b8b36ac2400823bac62d880a3e6e1a5d5bbac1e9a11f4bd",
            "versions": [
                "1.0.0"
            ],
            "modified_time": "2026-07-09T15:54:06Z",
            "import_time": "2026-07-09T16:20:56.814123892Z",
            "id": "IN-MAL-2026-009277"
        },
        {
            "sha256": "d5a0c0bc0b8b1fa46c22b238dcbc9786fd019f494c5717b498e06641c06bba3f",
            "source": "amazon-inspector",
            "versions": [
                "1.0.13"
            ],
            "modified_time": "2026-07-09T15:53:41Z",
            "import_time": "2026-07-09T16:20:56.540916808Z",
            "id": "IN-MAL-2026-009274"
        },
        {
            "modified_time": "2026-07-10T02:37:07Z",
            "source": "ghsa-malware",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "c33071282f67f5b2f1d74e9708139b4522912ab5cba4eed00e4556761e3d2d52",
            "import_time": "2026-07-10T03:23:39.561839219Z",
            "id": "GHSA-v3ch-6vv8-xr3w"
        },
        {
            "modified_time": "2026-07-07T07:35:54Z",
            "versions": [
                "1.0.7"
            ],
            "source": "ossf-package-analysis",
            "import_time": "2026-07-15T05:49:40.545844696Z",
            "sha256": "703742479b22abc803449b57addd40a57923d4f658814003f6ebf5d13bc9a510"
        },
        {
            "modified_time": "2026-07-07T06:45:49Z",
            "versions": [
                "1.0.5"
            ],
            "source": "ossf-package-analysis",
            "import_time": "2026-07-15T05:49:40.627860729Z",
            "sha256": "905725ae14731edaa1dda3da92dff0161c2032dfc3eef6de568fec7f03cb09dd"
        }
    ]
}
References
Credits

Affected packages

npm / paperclip-adapter-helpers

Package

Name
paperclip-adapter-helpers
View open source insights on deps.dev
Purl
pkg:npm/paperclip-adapter-helpers

Affected ranges

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

Affected versions

1.*
1.0.0
1.0.1
1.0.2
1.0.3
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.0.10
1.0.11
1.0.12
1.0.13

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"
    },
    {
        "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"
    },
    {
        "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"
    },
    {
        "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"
    },
    {
        "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"
    },
    {
        "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"
    },
    {
        "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"
    },
    {
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/paperclip-adapter-helpers/MAL-2026-6981.json"
indicators
{
    "evidence_files": [
        {
            "path": "dist/server/index.js",
            "sha256": "875a7d600564f16f9b958421ef6380a750ecb36b78987b098d870f48c0966364",
            "tlsh": "4e411d41f6b6de316008bcaae60a41166e9d834f1c553c91731d5fb8df0d0bd62b5b2d"
        },
        {
            "path": "package.json",
            "sha256": "6eddd6c516f0c7341ccef10c0f8c95ebd0434345f99b8429c4c3c49bab91f078",
            "tlsh": "d1f07822c9a4ce1351da90d85dfa9607a6b1081b10a9bd0433ca213c871f2eb04be35e"
        }
    ],
    "package_integrity": [
        {
            "hashes": {
                "sha1": "5aa6162f44bdf2789419eda2e8a84c3b44fd73d3",
                "sha512_sri": "sha512-OKoJg7nlAAvDFftD8FrSw8VcF41a5IuEt9ChgXqJNFC9jPQnJpZd7IZyvROl7An4Mv3Urjcm4A4SlCPR3Pokpw=="
            },
            "filename": "paperclip-adapter-helpers-1.0.9.tgz"
        }
    ]
}