remote-agents
Audited by Socket on Nov 8, 2026
5 alerts found:
Anomalyx5The code implements legitimate-looking remote desktop, WireGuard, SMB, and process-control functionality. It contains no clear malware, exfiltration, persistence, or hardcoded secret indicators. Security concerns are significant where configuration values reach shell=True or an unescaped PowerShell command, and the fragment also contains an apparent syntax error in the macOS credential lookup. Use only with trusted configuration and fix the command-construction and syntax issues.
The fragment is a privileged WireGuard service installer with expected persistence and sudoers behavior for a bridge application. It does not directly show malware or data exfiltration. However, it installs root-level boot services and passwordless service-control rules, and it trusts several configuration-derived paths and identifiers with limited validation. The supplied code is also syntactically incomplete because both run-script assignments lack a value; the omitted script must be reviewed before approving the installer, especially for command execution and network behavior.
The code is a readable administrative launcher and shows no clear malicious behavior, obfuscation, data theft, or unauthorized network activity. It does create and remove a scheduled task to launch caller-selected code as an interactive user, which is a significant capability and should be restricted to trusted callers. The main risk is arbitrary code execution with the selected user's privileges if the parameters are externally controllable.
The fragment is a readable task-dispatch wrapper with no clear malicious behavior, credential theft, network exfiltration, or obfuscated payload. It intentionally launches a configurable Python program as an interactive user, defaulting to Administrator, so it is security-sensitive and should only be callable by trusted principals with trusted input files and paths. The absence of task cleanup and incomplete output-path validation warrant review but do not by themselves indicate malware.
The supplied fragment is a readable AWS IAM policy, not executable code, and contains no apparent malware or obfuscation. It grants substantial administrative access to one EC2 host through SSM, including arbitrary shell/PowerShell command execution, interactive SSH access, port forwarding, and command-output retrieval. Resource scoping reduces blast radius, but the policy remains high impact if the principal or credentials are compromised. The placeholders must be replaced and resource/session scoping should be verified before deployment.