Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ MAL-2026-5841 — twrap-toolkit

⚪ Unknown ✅ No Known Exploit OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Malicious code in twrap-toolkit (PyPI)

Source: amazon-inspector

twrap_toolkit/__init__.py defines _get_payload() which issues a plaintext HTTP request to http://194.5.152.9:8080/hacks/textwrap-toolkit/textwrap_toolkit/__init__.py and passes the response body to exec() inside the package's only public API surface (format_block() and align_columns()). Any caller of the documented API executes attacker-controlled Python with no TLS, no pinning, and no integrity check, granting full remote code execution to the operator of 194.5.152.9. The package name and the attacker-controlled URL path both impersonate the legitimate 'textwrap-toolkit' utility, indicating a typosquat designed to lure installations into the dropper. Installing this package and invoking its advertised functions yields arbitrary code execution as the calling user.

Source: kam193

During import, package downloads and executes an obfuscated script. The code then adds a new authorized SSH key and reports back the IP of the current environment. After that, the code also attempts to exfiltrate cryptocurrency wallet data

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

Campaign: 2026-06-textwrap-toolkit-stager

Reasons (based on the campaign):

  • backdoor
  • obfuscation
  • crypto-related
  • Downloads and executes a remote malicious script.
  • exfiltration-crypto

Affected software

MAL-2026-5841 is recorded against 1 package.

  • twrap-toolkit

Timeline and source

Published on 15 June 2026 and last revised on 16 June 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

Indicators of compromise

IP addresses: 194.5.152.9
URLs: http://194.5.152.9:5555/report http://194.5.152.9:8080/hacks/textwrap-toolkit/textwrap_toolkit/__init__.py http://194.5.152.9:5555/tao

References

bad-packages.kam193.eu (Web)
pypi.org (Package)

Details

Severity Unknown
CVSS Score N/A
CVSS Vector N/A
CWE N/A
Public Exploit ✅ No
Source OSV
Published 2026-06-15
Updated 2026-08-20
Modified 2026-06-16
Fix URL N/A

Affected Packages

Software From version Fixed in
twrap-toolkit — —

Free Vulnerability Check

Is your site affected by MAL-2026-5841?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against MAL-2026-5841 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesMalicious packagesMalicious packages 2026
✓