{"answers":{"affected":"6 open source packages ship an affected version, including num2words.","exploited":"There is no known exploitation of MAL-2025-6794 in the wild and no public exploit code.","fix":"Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.","what":"MAL-2025-6794 is a malicious package in num2words, published on 31 Jul 2025."},"fix_prompt":"MAL-2025-6794 is a malicious package: num2words (PyPI). Every version was published to cause harm.\n\nTask:\n1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.\n2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.\n3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.\n4. If the package is not used anywhere, say so and change nothing.\n\nReference: https://insights.sbomify.com/MAL-2025-6794/ (Markdown: https://insights.sbomify.com/MAL-2025-6794/index.md)","id":"MAL-2025-6794","markdown":"https://insights.sbomify.com/MAL-2025-6794/index.md","name":"MAL-2025-6794","record":{"aliases":["GHSA-jxr6-qrxx-2ph2","PYSEC-2025-72"],"analysis":null,"analysis_generated_by":null,"assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"The `num2words` project was compromised via a phishing attack and two new versions were uploaded to PyPI containing malicious code. The affected versions have been removed from PyPI, and users are advised to remove the affected versions from their environments.\n\nThe num2words project was compromised via a phishing attack and two new\nversions were uploaded to PyPI containing malicious code.","ecosystems":["PyPI"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":false,"headline":"Malicious code in num2words (PyPI)","id":"MAL-2025-6794","indexable":true,"kev":null,"kind":"malicious","links":{"ecosystem":"PyPI","product":null,"products":[],"type":null,"year":"2025"},"n_packages":6,"n_references":null,"packages":[{"ecosystem":"PyPI","fixed":[],"introduced":[],"last_affected":[],"package":"num2words","purl":null,"source":"GHSA-jxr6-qrxx-2ph2"},{"ecosystem":"PyPI","fixed":[],"introduced":[],"last_affected":[],"package":"num2words","purl":"pkg:pypi/num2words","source":"GHSA-jxr6-qrxx-2ph2"},{"ecosystem":"PyPI","fixed":[],"introduced":[],"last_affected":[],"package":"num2words","purl":"pkg:pypi/num2words","source":"PYSEC-2025-72"},{"ecosystem":"PyPI","fixed":[],"introduced":["0.5.15"],"last_affected":["0.5.16"],"package":"num2words","purl":null,"source":"GHSA-jxr6-qrxx-2ph2"},{"ecosystem":"PyPI","fixed":[],"introduced":["0.5.15"],"last_affected":["0.5.16"],"package":"num2words","purl":"pkg:pypi/num2words","source":"GHSA-jxr6-qrxx-2ph2"},{"ecosystem":"PyPI","fixed":[],"introduced":["0.5.15"],"last_affected":["0.5.16"],"package":"num2words","purl":"pkg:pypi/num2words","source":"MAL-2025-6794"}],"products":null,"published":"2025-07-31","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"Apache-2.0","name":"OpenSSF Malicious Packages","prefix":"MAL"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":null,"url":"https://insights.sbomify.com/MAL-2025-6794/"}