
This repository provides a Python-based scanner for indicators of compromise related to CVE-2025-55182 (React Server Components RCE) and the specific multi-stage malware described in the Asleepace incident report. It is designed to run on Linux and macOS and focuses on host-level and application-level artifacts that are likely to appear on compromised systems.
meshagent, fghgf, defunct, 0dd1429aws, systemd-daemon, sex.sh, temp kodoha*/xmrig, and related payload/script locations).meshagent, nextjss, nginxx, fghgf, xmrig, systemd-daemon, or docker-daemon.nginxx.service, nextjss.service, system-daemon.service, and system-update-service.service./proc stealth technique).xorDecode( pattern used by the XOR-encoded loader injected into node_modules and ecosystem.config.js, as described in the incident report.The scanner does not attempt remediation; it only reports suspicious findings and returns a non-zero exit code if anything suspicious is detected.
The script uses only the Python standard library; no external Python packages are required.
python3 cve_2025_55182_scanner.py
python3 cve_2025_55182_scanner.py --root /path/to/your/nextjs-or-react-project
python3 cve_2025_55182_scanner.py --json
python3 cve_2025_55182_scanner.py --skip-js-scan
python3 cve_2025_55182_scanner.py --root /var/www/app --json
Quick host triage (Linux or macOS):
python3 cve_2025_55182_scanner.pyApplication-focused scan (Next.js/React project):
python3 cve_2025_55182_scanner.py --root /path/to/appnode_modules or application code) in addition to system-level IoCs.CI / automated environment:
python3 cve_2025_55182_scanner.py --root . --jsonhttps://asleepace.com/blog/malware-cve-2025-55182-exploitation-incident-reportSpecial thanks to Asleepace for documenting the CVE-2025-55182 exploitation and associated malware behaviors in depth, which made it possible to build this focused scanner.