cop3-rc@5.0.4
Malicious code in cop3-rc (npm)
Analysis
This package ships its entire implementation as obfuscated JavaScript: the main entry c-rc-3-cop3.js, cop3-rc-3-1.js and cp-3-rc-2.js contain large hex/unicode-escaped string arrays, escaped property names and rotating decoder functions, and build source strings at runtime that are executed through the Function constructor (c-rc-3-cop3.js around byte 18004, cop3-rc-3-1.js around byte 93470). The readable surface presents a didactic Colombian "crypto network" module backed by mysql2 and dotenv (module.exports = require('cp-3-rc-2') exposing initDB/run/get/all/transaction/dbConfig/testConnection/ensureTables), so the obfuscation conceals the module's actual data access and any destinations it contacts. The package declares no install/preinstall/postinstall lifecycle hook and no bin entry, and no network endpoint, credential-path access or token-harvesting string is visible in the deobfuscated literals; the only hosts in the package are documentation links in the README. There is no confirmed C2 IOC to publish for this version.
- analyzed by
- Leitwacht
- first seen
- Nov 24, 2026, 08:06 PM
- analyzed
- Nov 24, 2026, 08:08 PM
Related advisories
- cop3-rc@5.0.1 same package
- cop3-rc@5.0.0 same package
- @throttlecodes/react-native-callkit@1.0.2
- vcdxg-eavtg-util@1.0.1
- ardanbaileys@1.2.1
- nobiztoblut-bot@1.2.4
- @dinzid/bailstaov1@0.1.0
- dct-dula-dev-baileys@1.0.3
Independently detected by the Leitwacht supply-chain probe. IOCs are defanged. Published CC0. Think this is a mistake? See the dispute policy.