NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

ninjainjtest1337PyPI

Advisory published Updated

ninjainjtest1337 is a confirmed malicious PyPI package (MAL-2025-1514) that executes malicious code on install (malicious versions 0.1.0, 0.1.1, 0.1.3…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in ninjainjtest1337 (PyPI)

MAL-2025-1514
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
pip uninstall ninjainjtest1337

What this malware does

Packages that might be part of testing for pentesting / malicious activity / joy, with suspicious activity that does not present any real harm.

Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.

Campaign: GENERIC-simple-tests

Reasons (based on the campaign):

  • The package overrides the install command in setup.py to execute malicious code during installation.

The OpenSSF Package Analysis project identified 'ninjainjtest1337' @ 0.1.5 (pypi) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.

Malicious versions

6 flagged
0.1.00.1.10.1.30.1.40.1.50.1.6

Indicators of compromise (SHA-256)

334ea071d3d2127435d95bdf47129449b33f6c542fe9c91d19d4c5365f86d77f
7dc9c53dc88e1b23e6a443eb6820f89d5b866c8e610b0c8b3ab69a534799f7c1
fd7c71e57cd743cb8de4b5f52f3be1f4956e0fd105748b3d047834068011926b
25f834fdd3843d8d1bb3c977e15adea6465c662a69b3d85c9ceb492e38e7a60a
53b486443b3f2ffe278aa364b7455c2a522fbf1a514d4c8f70474974bf2be009
0373c0945e8f1956caa05c9ae65b6152468adf11bf504159f0829ad4dcfcf3f8
0057edfac0d3f5184a3a41c9574865cb18ec8fc6b2128d8ca356677c9e223190

Detection & response playbook

Malicious package
  1. Find it

    Search your lockfiles and build artifacts for ninjainjtest1337 (6 malicious versions).

  2. If you installed it — respond

    Remove ninjainjtest1337 from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.

  3. Did it already run?

    If ninjainjtest1337 was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.

Frequently asked questions

No. ninjainjtest1337 on PyPI has been identified as a malicious package (versions 0.1.0, 0.1.1, 0.1.3, 0.1.4, 0.1.5, 0.1.6 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

GENERIC-simple-tests

References

Credits

  • Kamil Mańkowski (kam193)
  • OpenSSF: Package Analysis · finder

Detect & block this

O3 blocks ninjainjtest1337-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.

Explore

ninjainjtest1337 (PyPI) malicious package — MAL-2025-1514 | O3 Security