replit
Audited by Socket on Nov 2, 2026
2 alerts found:
SecurityAnomalyThis fragment configures key-only SSH access on all IPv4 interfaces, enables TCP forwarding, and starts Tailscale, including optional authentication using TAILSCALE_AUTH_KEY. These are significant remote-access capabilities and could be used for persistence or tunneling if installed without the system owner's authorization, although the code also contains ordinary administration-oriented behavior and does not establish malicious intent by itself. Severity is high for systems where this access is unexpected; no external domain or IP is shown.
This is a lifecycle test that invokes setup and detached cleanup for Tailscale and records assertions. It overwrites $HOME/.ssh/config, $HOME/.ssh/known_hosts, and $HOME/.ssh/authorized_keys, risking loss of pre-existing SSH settings and keys; it also executes external scripts selected partly by environment variables. No direct data theft or malware behavior is evident in the supplied code, but run it only in a disposable test environment and review the invoked scripts. Severity: moderate operational risk, with no demonstrated malware.