MAL-2026-18463

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/persona-ai-sdk/MAL-2026-18463.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18463
Aliases
  • GHSA-2v69-q2gc-qm5j
Published
2026-11-02T11:02:02Z
Modified
2026-11-13T04:30:05Z
Summary
Malicious code in persona-ai-sdk (npm)
Details

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

Source: amazon-inspector (51f4740acba00f4f8441d73ea1fd5399562db72b59c9f618a15f97866502ab17)

The package's declared main (index.mjs) re-exports personas.mjs, which at module top level imports cssVarMap from./cache-warm.mjs and invokes it in an 8-iteration loop over a hardcoded ID list. cache-warm.mjs is a ~280 KB single-line obfuscator.io-style string-array module whose decoded body references child_process, spawn, exec, net, eval, and dynamic import, while its header comment falsely identifies it as an 'auto-generated build cache manifest' for persona-ai-sdk@1.0.0. Three sibling files shipped at the tarball root (build-cache.mjs ~203 KB, cache-sweep.mjs ~281 KB, workspaces.js ~289 KB) use the same cover-story header, the same obfuscation shape with hex-named identifiers, and the same set of dangerous APIs (child_process/spawn/exec/net/eval). Legitimate build caches do not contain process-spawning or network primitives. Any consumer that imports persona-ai-sdk executes the obfuscated loader at require/import time with no user action beyond installation and import.

Source: ghsa-malware (32b7c1491521ddee48ecbbb75d77f9dabad642430d8d253f6ef5a256eeae57bf)

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": "GHSA-2v69-q2gc-qm5j",
            "import_time": "2026-11-02T11:17:43.309872793Z",
            "modified_time": "2026-11-02T11:02:02Z",
            "sha256": "32b7c1491521ddee48ecbbb75d77f9dabad642430d8d253f6ef5a256eeae57bf",
            "source": "ghsa-malware",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "id": "IN-MAL-2026-022721",
            "import_time": "2026-11-13T04:13:26.119386332Z",
            "modified_time": "2026-11-13T03:36:54Z",
            "sha256": "51f4740acba00f4f8441d73ea1fd5399562db72b59c9f618a15f97866502ab17",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / persona-ai-sdk

Package

Name
persona-ai-sdk
View open source insights on deps.dev
Purl
pkg:npm/persona-ai-sdk

Affected ranges

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": "personas.mjs",
            "sha256": "9018474efac7ce4589bd855c834eebe229390d23f71415e5b70bc5f5911fe125",
            "tlsh": "76111faa3db62635712cb3a1012ff0607762d25b7304c5fc98ac13201bc909dc31b9dc"
        },
        {
            "path": "build-cache.mjs",
            "sha256": "48997583d30edbb5aff124ce2696c35421547d52e9bfed63fcf953d135e33a5d",
            "tlsh": "5914414732252460670b78a3ab13e8f5ff37240431865c9dbd2dbac467aa434cbf96b1"
        }
    ],
    "package_integrity": [
        {
            "filename": "persona-ai-sdk-1.0.0.tgz",
            "hashes": {
                "sha1": "048afa2356d51e9da4d6c5ab54fdcbc294931018",
                "sha512_sri": "sha512-QpSUcPR969C3r7XUJ2zW6UCuMNWXeJwf824iFI6JNllfmpZY3Gg2SADFPP+EB69cEbJYpf6b8X9W+BFst/cq3g=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/persona-ai-sdk/MAL-2026-18463.json"