MAL-2026-15550

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/common-array-token/MAL-2026-15550.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-15550
Published
2026-08-29T02:14:47Z
Modified
2026-08-29T02:30:11.876869446Z
Summary
Malicious code in common-array-token (npm)
Details

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

Source: amazon-inspector (bf8dc846e743e9517d8444feb25299ce05d9c6e060a050fdaa1b3b44a8cb5cbd)

package.json declares scripts.postinstall = 'node index.js'. On npm install, index.js reconstructs a URL from a String.fromCharCode numeric array (decoding to https://access-token-delta.vercel.app/), fetches JSON from that endpoint, and passes the returned 'token' field to eval(). Any JavaScript served by that endpoint executes on the installer's machine with the user's privileges at install time. The endpoint is hardcoded and controlled by the package author; the char-code obfuscation conceals the destination from plaintext scanning. There is no legitimate purpose served by fetching and eval'ing remote code from an obfuscated URL in a postinstall hook.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "IN-MAL-2026-019145",
            "source": "amazon-inspector",
            "import_time": "2026-08-29T02:22:21.494281205Z",
            "modified_time": "2026-08-29T02:14:47Z",
            "sha256": "bf8dc846e743e9517d8444feb25299ce05d9c6e060a050fdaa1b3b44a8cb5cbd",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / common-array-token

Package

Affected ranges

Affected versions

1.*
1.0.0

Database specific

cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    }
]
indicators
{
    "package_integrity": [
        {
            "filename": "common-array-token-1.0.0.tgz",
            "hashes": {
                "sha512_sri": "sha512-inmeLMcbv7k1zpeUoG9XaEDvZPSlqDKkOz0wV45ycrIkyHXihNdEIcpRAJFOwkMSIks9AoqUHxGMsxz9yL8Lbw==",
                "sha1": "3340d13a4fb7e81e65f5bd327dd26537e9ca1f12"
            }
        }
    ],
    "evidence_files": [
        {
            "path": "index.js",
            "tlsh": "e2f0279118bc4975023fe46a0a0f1816a508e313192de8c3b3cc4f442f198697d766c8",
            "sha256": "e5c2f28ccd42f588a2cf725917589be397b5ed7a6319ce5bdca0ab026d4b65f7"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/common-array-token/MAL-2026-15550.json"