Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

chat-prompt-loggerPyPI

Malicious code in chat-prompt-logger (PyPI) Remove it immediately and rotate any exposed credentials.

MAL-2025-191699
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
pip uninstall chat-prompt-logger

What this malware does

The package provides a logger of LLM prompts that at the same time looks for hidden instructions and executes them.

Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2025-11-chat-prompt-logger

Reasons (based on the campaign):

  • llm-threat

Malicious versions

11 flagged
1.0.21.0.31.0.41.0.51.0.61.0.71.0.81.0.91.0.101.0.111.0.12

Indicators of compromise (SHA-256)

7e6349a1f00b4a946bf79b65bbe979a911ddab25bb6151fdab29bd020bb595da
f25a736985f5c0bb50156fdc7de61e976b16416f42c44a2682b5ce718401383b
32fa17102f7d5feec4bfb42d8837eb5f034b117bfb3dcac7aaaa3fcd532c60b2
85f3d630475645864725d79296569c2250a2086aca24a90f721bddc10973065e
560445940290969fcb65f9479e80e1f1f15715daef28cc78552a145274ac791c
e82aaa471fbda47ddebc8c9cb967a6d919da6192b5324721ccef1b2a59c2b55f

Detection & response playbook

Credential / info stealer
  1. Find it

    Scan your lockfiles (package-lock.json, pnpm-lock.yaml, yarn.lock, requirements.txt, poetry.lock, etc.) and build artifacts for chat-prompt-logger (11 malicious versions). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging chat-prompt-logger across your stack and pipelines.

  2. If you installed it — respond

    chat-prompt-logger is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.

  3. Did it already run?

    If chat-prompt-logger was ever installed, its post-install/runtime payload may have already executed. O3's L7 egress monitoring and runtime eBPF sensors detect the credential exfiltration or command-and-control callback after install and block the malicious outbound channel, so you catch and contain the actual compromise — not just the presence of the package.

  4. How O3 protects you

    O3 blocks chat-prompt-logger before install through its supply-chain scanner, and if it has already run, detects and severs the exfiltration or C2 callback at runtime through L7 egress monitoring and eBPF.

Frequently asked questions

No. chat-prompt-logger on PyPI has been identified as a malicious package (versions 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, 1.0.9, and 3 more flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

2025-11-chat-prompt-loggerRLMA-2025-06556RLUA-2026-00185

References

Credits

  • Kamil Mańkowski (kam193)
  • ReversingLabs · finder

Detect & block this

O3 blocks chat-prompt-logger-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

chat-prompt-logger (PyPI) malicious package — MAL-2025-191699 | O3 Security