android-memory-evidence
Audited by Socket on Jul 28, 2026
2 alerts found:
Anomalyx2This module is best characterized as a dual-use device diagnostic/recon helper: it executes ADB/device shell commands (including su/root attempts) to read highly sensitive memory and kernel debug artifacts (/proc/<pid>/smaps and /sys/kernel/debug/dma_buf/bufinfo) and resolves target PIDs from process listings. There is no direct evidence of malware behavior like persistence or network exfiltration in this fragment. The key security concern is the strong command-execution capability combined with unsanitized string interpolation into device-shell commands, which could enable shell-command injection on the device if upstream inputs are attacker-controlled. Overall risk is moderate-to-high depending on how callers validate inputs and how returned data is handled elsewhere.
This module is a subprocess-based orchestrator/launcher. It contains no direct malware indicators (no network activity, obfuscation, or credential/data theft in this file), but it increases security risk by (a) executing analyze.py from a user-supplied repository path after only minimal structural checks and (b) forwarding unknown CLI arguments to the invoked child process. If an attacker can influence --repo or passthrough arguments, the effective threat is local code execution in the child scripts; the actual malicious behavior (if any) would reside in those delegated components.