agent-browser-wsl2-setup

Warn

Audited by Socket on Sep 15, 2026

2 alerts found:

Anomalyx2
AnomalyLOW
scripts/connect-windows-browser.sh

The script appears intended to connect an `agent-browser` session to a browser debugging bridge and contains no evident malware, credential theft, persistence, exfiltration, or destructive behavior. However, embedding the user-controlled `--bridge-port` value directly into a Python heredoc creates a local command-injection/code-injection risk. The value should be validated as a decimal port or passed to Python through an environment variable or argument, and the debugging connection should use an authenticated or protected channel where applicable.

Confidence: 98%Severity: 52%
AnomalyLOW
scripts/setup-agent-browser-runtime.sh

The code is a readable WSL runtime setup script. It contains no direct evidence of malware, credential theft, exfiltration, persistence, or destructive behavior. However, it performs privileged installation of unpinned apt/npm dependencies, automatically executes the installed agent-browser setup command, and clones an unpinned public repository. These are legitimate setup behaviors but create material supply-chain risk if the registry package, repository, or transitive dependencies are compromised. Pin versions and Git commits, verify package and repository integrity, and avoid unnecessary sudo privileges where possible.

Confidence: 98%Severity: 55%
Audit Metadata
Analyzed At
Sep 15, 2026, 05:27 PM
Package URL
pkg:socket/skills-sh/arthurzakirov%2Fagentdesk%2Fagent-browser-wsl2-setup%2F@ff4f8493a7888dced4fcbde39341dafb7310bd79bec4cae5d5016a0cc583cb66