router-control

Warn

Audited by Socket on Oct 8, 2026

7 alerts found:

Anomalyx5Securityx2
AnomalyLOW
drivers/ssap.py

The 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.

Confidence: 96%Severity: 58%
AnomalyLOW
scripts/connect.sh

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.

Confidence: 96%Severity: 62%
AnomalyLOW
drivers/adb.py

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.

Confidence: 98%Severity: 67%
AnomalyLOW
scripts/health.sh

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.

Confidence: 97%Severity: 56%
AnomalyLOW
drivers/ssh.py

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.

Confidence: 97%Severity: 65%
SecurityMEDIUM
scripts/run.sh

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.

Confidence: 98%Severity: 78%
SecurityMEDIUM
scripts/ping.sh

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.

Confidence: 99%Severity: 88%
Audit Metadata
Analyzed At
Oct 8, 2026, 05:33 AM
Package URL
pkg:socket/skills-sh/ythx-101%2Flan-control%2Frouter-control%2F@55c8a44a934685dc1981129d6b4ade5d1c1d37f0