router-control
Audited by Socket on Oct 8, 2026
7 alerts found:
Anomalyx5Securityx2The fragment appears to implement a TV-control client and contains no clear evidence of malware or unauthorized data theft. It has meaningful security weaknesses: disabled TLS verification, broad requested permissions, and an unrestricted screenshot download destination and output path. Use only with trusted devices and constrain screenshot paths and network destinations.
The code appears intended to connect to a router and update local connection state, but it performs root password guessing and weakens host verification. It also has injection risks from unescaped password interpolation into expect and router-derived values into Python source. No clear credential exfiltration or other malware behavior is present in this fragment.
This is an ADB command execution helper, not clearly malware. Its intended remote-command functionality creates a command-injection risk if actions or parameters are untrusted; restrict allowed commands and safely encode or validate arguments.
The code appears to implement a router health check, not malware. It has security weaknesses: HOME can be interpolated into executable Python source, the router destination is unvalidated, and SSH host verification is disabled for a root connection. Validate inputs, pass the path as data rather than source, and enable host-key verification.
This is an SSH command-execution helper, not clearly malware. Its main risks are unsafe interpolation of potentially untrusted parameters into a remote shell command, use of root, and disabled host key verification. The severity depends on who controls the command specification and parameters.
No standalone malware behavior is evident; the script appears intended as a router command utility. However, its first-word-only allowlist does not constrain the remotely executed command, and disabling SSH host-key verification weakens protection against server impersonation. Treat it as a privileged command-execution tool and do not pass untrusted arguments or state-file contents.
This is a router connectivity-check script, but untrusted command-line input is interpolated into remote shell commands without safe quoting or validation. This can permit command execution as root on the router. Disabled SSH host-key verification and unescaped JSON output are additional security weaknesses. The fragment does not itself show intentional malware behavior.