LWA-2026-6799 MAL-2026-10629 ↗ confirmed malware

ai-pro-sdk@2.0.3

Malicious code in ai-pro-sdk (npm)

T1059.007 · JavaScriptT1204.002 · Malicious FileT1027 · Obfuscated Files or InformationT1027.010 · Command ObfuscationT1140 · Deobfuscate/Decode Files or InformationT1105 · Ingress Tool TransferT1071 · Application Layer Protocol

Analysis

ai-pro-sdk@2.0.3 is a trojanized AI SDK package. On import, it dynamically loads the dependency data-blockv@1.0.1, which ships an AES-CBC-encrypted blob (data.js, OpenSSL "Salted__" format). The SDK decrypts this blob using the hardcoded password "babyysharkk" and writes the decrypted JavaScript to a temporary file under the system temp directory (ai-pro-sdk-child-*.js). It then spawns a detached Node.js child process (spawned with detached:true, unref'd) that executes the decrypted payload, inheriting all environment variables. The child process makes outbound network connections (DNS queries observed). The legitimate-looking AI SDK code (message conversion, validation schemas, error handling) serves as camouflage for this multi-stage payload delivery.

analyzed by
Leitwacht
first seen
Jul 15, 2026, 05:49 AM
analyzed
Jul 15, 2026, 05:50 AM

Related advisories

browse all confirmed advisories →

Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.