MAL-2026-10912 Malicious code in shark-e2e-bnsneo (PyPI)
Malicious package
Published
MAL-2026-10912 is a malicious package: shark-e2e-bnsneo (PyPI). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-10912/ (Markdown: https://insights.sbomify.com/MAL-2026-10912/index.md)
- Package
- shark-e2e-bnsneo
- Registry
- PyPI
What is MAL-2026-10912?
MAL-2026-10912 is a malicious package in shark-e2e-bnsneo, published on 20 Jul 2026.
Official description
On import, init.py decodes a base64-encoded string and passes it to exec() inside a _sync_module_docs() helper invoked at module top level. The decoded payload is a Windows-only ctypes call that displays a MessageBox (ctypes.windll.user32.MessageBoxW) and performs no network I/O, no filesystem reads of installer secrets, no credential access, and no persistence. The package metadata describes it as an end-to-end test artifact. The concern is the dispatch pattern itself — opaque base64-then-exec at import time is the obfuscated-code-execution shape and is unsafe regardless of today's payload, because the encoded blob is not human-reviewable and could change between releases. No attacker benefit is reachable in this version: the decoded code does not exfiltrate, drop, relay, or persist.
What should I do about MAL-2026-10912?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.