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

pyleverPyPI

pylever is a confirmed malicious PyPI package (MAL-2026-16122) that steals credentials and exfiltrates sensitive data (malicious versions 1.0.0, 1.0.1, 1.0.2…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in pylever (PyPI)

MAL-2026-16122
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
pip uninstall pylever

What this malware does

The package's _Client class scans Chrome, Edge, and Brave browser profile LevelDB and Cache directories and the Discord Desktop app's Roaming/discord Local Storage/leveldb for strings matching the Discord token regexes [MN][A-Za-z0-9_-]{71} and mfa\.[...]{84}, decrypts protected values via DPAPI invoked through PowerShell, validates each candidate against the Discord API, and POSTs valid tokens along with the associated username, id, email, verified flag, and bot flag to a hardcoded Discord webhook at https://discord.com/api/webhooks/1547416857537945601/.... _DataFinder.find_all() additionally walks the caller-supplied workspace path recursively and matches the same token regex against file contents, sending matches to the same webhook. The webhook URL is a module-level constant assigned in _Client.__init__ with no API surface to override it, despite the README claiming the user configures the webhook. Package metadata uses placeholder values (author="Your Name", [email protected], github.com/yourusername/pylever) and the README frames the tool as restoring accidentally removed tokens, contradicting the actual bulk-harvest and exfiltration behavior.

The package contains a stealer exfiltrating Discord tokens to a hardcoded location.

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

Campaign: 2026-09-pylever

Reasons (based on the campaign):

  • infostealer

Malicious versions

13 flagged
1.0.01.0.11.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)

068694f49511d5a0c8678ca2196385c50cc68d1c526d5b151a6f2cdcfcae9b64
c45b2af15cac4f76db423b149928213c966f9d2ffc789b3e3ec82ca84737a096
f5d077709c9565949a26f2720652ed222e680432d50649cb0e78185ddf101b6e
099b547e9862660f5df05101d3539aae69646157f3a58780cb5411acc6e41e2f
1bebc653ec213a8fa6cdd34bad7ededffc384b44b086f8405f9d8b1af2e6536f
5af4454b8d354327456642e6dbbdb00e36909d01f2061271b4fa834f5d594d35
6720ca3891de59548dfdfc9b6af778b5bf97fb31c5188381c73e92c4ac2820e1
744d56814425f7f322b836a0d1dd2d97e5e6dae0c539634b71e00c2d1b7aff36
78a46eb3d6397d7c42877b7c52082316433409db8bae9bbffa3c6f4cdfdd4cc0
9ba2ba7cda402c14fec07ff689380d97851e1d82e50f2a13b89171cf70e8ce3b
b7583abe42ac1e26bc24476851da2434919d3a79d91cfd818e345d8f441aa797
457caba0f1471c311996fd3ac1bdd17bbbf78ae39bd10fe8da6cf8e8d6773635

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 pylever (13 malicious versions). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging pylever across your stack and pipelines.

  2. If you installed it — respond

    pylever 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 pylever 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 pylever 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. pylever on PyPI has been identified as a malicious package (versions 1.0.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, and 5 more flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

2026-09-pyleverIN-MAL-2026-019917IN-MAL-2026-019916IN-MAL-2026-019921IN-MAL-2026-019947IN-MAL-2026-019924IN-MAL-2026-019919IN-MAL-2026-019923IN-MAL-2026-019948IN-MAL-2026-019918IN-MAL-2026-019920IN-MAL-2026-019922

References

Credits

  • Amazon Inspector · finder
  • Kamil Mańkowski (kam193) · reporter

Detect & block this

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

Explore

pylever (PyPI) malicious package — MAL-2026-16122 | O3 Security