{"items":[{"id":"NVI-00011169","kind":"supply_chain_event","title":"Malicious code in cleanup-string (PyPI)","revision":1,"unknowns":["Customer inventory, deployment, reachability and exploitation have not been inspected."],"lifecycle":"active","identifiers":["GHSA-r9mq-4q39-vw6h"],"plain_summary":"GitHub lists this malware advisory for cleanup-string. Published version ranges and source prerequisites are shown below; this is not an inspection of a visitor’s application.","review_status":"source_listed","control_topics":[],"public_actions":[{"summary":"Identify the exact component and deployed version, examine the linked publisher’s conditions, and retain evidence of any mitigation.","source_ids":["sr-fabd571824b080ad12b61ad1a2081a8b"],"action_type":"investigate","limitations":"Confirm current vendor support, compatibility and deployment evidence. This report has not tested a fix in your system.","current_supported_target":null}],"schema_version":"1.1.0","source_metrics":[],"why_it_matters":"Published affected context helps an owner decide what evidence to gather. This report has not examined your application.","related_sources":[{"id":"sr-fabd571824b080ad12b61ad1a2081a8b","url":"https://github.com/advisories/GHSA-r9mq-4q39-vw6h","basis":"vendor_advisory","notes":"GitHub Advisory Database; CC-BY-4.0. Each advisory links its original attribution. Null normalizes fields.","title":"GHSA-r9mq-4q39-vw6h","publisher":"GitHub Advisory Database","observed_at":"2026-10-31T23:13:45.671Z"}],"affected_context":[{"certainty":"source_listed","source_ids":["sr-fabd571824b080ad12b61ad1a2081a8b"],"technology":"cleanup-string","known_exclusions":[],"conditions_summary":"## Source: amazon-inspector (844c5afa9f00c02149f4f6314447c5738e04ed419014809c1df83f31aa012525)\nThe package advertises itself as a pure-Python string helper (strip, slugify, case conversion, whitespace collapse) and its README states the implementation is standard-library only. However, `cleanup_string/__init__.py` performs `from._impl import cleanup`, which loads a 1.3 MB Windows-only native extension `cleanup_string/_impl.cp313-win_amd64.vmp.pyd` (sha256 980ae204f04f9a7e68666670eb5b236bc7347d0111697df1015de665fd1a1712). The filename embeds the VMProtect convention `.vmp` and the binary matches that packer's signature: the only readable strings are Win32 API imports (LoadLibraryA, GetModuleHandleA, HeapAlloc, DisableThreadLibraryCalls, ExitProcess, KERNEL32.dll, VCRUNTIME140.dll) and the remaining ~1.3 MB is high-entropy virtualized code. VMProtect exists to defeat static and dynamic analysis; the trivial advertised functionality has no legitimate need for a virtualized native module. Any Windows Python 3.13 environment that imports `cleanup_string` executes this opaque, anti-analysis-protected code with the privileges of the importing process.\n\n---\n\nCredit: [OpenSSF](https://githu","public_affected_ranges":["= 1.0.0"]}],"null_published_at":"2026-10-31T23:18:22.436Z","source_updated_at":"2026-09-30T06:31:44.000Z","source_disclosed_at":"2026-09-30T06:31:43.000Z","is_synthetic_fixture":false,"null_last_reviewed_at":null,"public_change_summary":"First indexed by Null; source disclosure date is shown separately.","null_first_observed_at":"2026-10-31T23:13:45.671Z"}],"next_cursor":null,"snapshot_revision":"42594"}