persona-ai-sdk
Affected
- Versions:
1.0.0
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-2v69-q2gc-qm5j
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in persona-ai-sdk (npm)
---
_-= 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 [email protected]. 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.
Not rated by the source.
1.0.0None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0