firefox-browser

Warn

Audited by Socket on Oct 10, 2026

12 alerts found:

Anomalyx7Securityx5
AnomalyLOW
rust-cli/src/bin/host.rs

The fragment appears to implement an intended browser-agent bridge and vault autofill service, with no clear evidence of malware or obfuscation. The unauthenticated local control interface, unrestricted file-path reads for upload actions, large message limits, and shared request-ID handling are security concerns. Risk depends on whether untrusted local processes or browser contexts can reach the configured listener.

Confidence: 95%Severity: 56%
SecurityMEDIUM
extension/content.js

This is an automation-oriented extension bridge with high-impact capabilities. Arbitrary script evaluation and page-data access are explicit features, but the fragment does not validate message senders and includes an unsafe selector interpolation in handleDropFile. No direct exfiltration or other clear malware behavior is present; access control and caller trust are important to the security of the surrounding extension.

Confidence: 96%Severity: 72%
SecurityMEDIUM
extension/background.js

This is browser automation bridge code with intentionally powerful page execution and browser-control features. The main security concern is that commands are trusted from a native host or unauthenticated-looking local WebSocket, while this module exposes arbitrary page evaluation and sensitive browser data/actions. The default authentication mode also automatically permits requests. These are significant trust-boundary risks; relay authentication and intended deployment should be verified. No clear malware behavior is evident in the fragment.

Confidence: 94%Severity: 76%
AnomalyLOW
rust-cli/src/commands/session.rs

The code implements a browser-session proxy, not evident malware. The main risks are unvalidated session names used in filesystem paths, insufficient protection of session files, an unauthenticated local command socket, and trusting PID-file contents when signaling a process. These issues could permit local abuse or file/process interference depending on runtime-directory permissions and caller control of the session name.

Confidence: 96%Severity: 67%
SecurityMEDIUM
.github/workflows/release.yml

The workflow has a significant command-injection risk: a user able to manually dispatch it may supply shell syntax in the `tag` input, which is interpolated into a shell script running in a job with release-writing permissions. The release also republishes a prior XPI without an explicit integrity check. No direct malware behavior is shown, but the workflow should pass the tag through an environment variable and validate release assets.

Confidence: 98%Severity: 78%
AnomalyLOW
extension-dev/background.js

No overt malware/obfuscation is visible in this snippet, but it is a high-privilege bridge: it connects to a native host and allows native-originated commands to control tabs/windows, extract page content, request authentication context, and capture screenshots (including an 'evaluate' command routed to content scripts). It then returns these potentially sensitive results back to the native host. The main security risk is abuse/exfiltration via the native messaging channel and content-script command delegation, especially if the native host is compromised or if 'evaluate' in the content script performs unsafe execution. Additional validation/limits (e.g., chunk size/type, action authorization) are not present in this module.

Confidence: 64%Severity: 68%
SecurityMEDIUM
SKILL.md

SUSPICIOUS: the browser-control capabilities fit the stated purpose, but the skill is high-risk because it can act inside the user's authenticated Firefox session, read local files for upload, execute page JS, and automate credential filling. The main concern is scope and trust: autonomous login depends on a separate personal-repo vault client that receives Bitwarden secrets, which is disproportionate compared with ordinary browser automation even though no explicit exfiltration endpoint is shown.

Confidence: 86%Severity: 78%
AnomalyLOW
benchmarks/bench-long-horizon.js

No definitive malicious behavior (e.g., data theft, reverse shells, cryptomining, or direct exfiltration) is evident in the provided fragment. The dominant concern is operational/supply-chain risk: the harness spawns an external AI agent using `--dangerously-skip-permissions` and relies on prompt-level “sandbox” claims rather than enforcing isolation in this code. Because environment variables are forwarded to the child and the agent’s stdout is trusted for metric/event recording, compromised or manipulated agent behavior could cause unintended actions or misleading results. Overall: likely a benchmark/test harness, but executed with materially unsafe semantics for a security-sensitive environment.

Confidence: 60%Severity: 55%
SecurityMEDIUM
benchmarks/bench-agent-e2e.js

This dependency/module functions as an E2E benchmark harness that delegates sensitive browser automation (login, OAuth, and extraction of secret-like values) to an external agent launched with intentionally relaxed safety controls ('--dangerously-skip-permissions'). It forwards the entire environment to the child process and saves unredacted agent output to local JSON artifacts, creating a meaningful risk of secret leakage and sensitive-data persistence if run against anything beyond a strictly isolated test server. No direct malware behaviors (e.g., reverse shells, arbitrary exfiltration) are evident in this module itself, but the orchestration pattern is high-risk and should be treated as security-sensitive.

Confidence: 66%Severity: 76%
AnomalyLOW
benchmarks/bench-playwright-comparison.js

This module does not contain classic in-file malware (no eval, no reverse shells, no direct network requests, no destructive file operations beyond writing local results). However, it materially increases supply-chain/agent-risk by delegating browser automation and potential tool use to an external `claude` CLI invoked with `--dangerously-skip-permissions`, while also allowing the target URL to be controlled via `TEST_SERVER`. It additionally persists truncated agent stdout, which could capture sensitive data if the invoked agent/toolchain outputs it. Overall, treat this as potentially risky automation orchestration rather than confirmed malicious code.

Confidence: 66%Severity: 65%
AnomalyLOW
benchmarks/bench-search.js

This file is primarily a browser-automation benchmark launcher, but it carries significant security-relevant risks: (1) it executes a locally stored script from a mutable path under the user’s HOME directory, enabling tampering/substitution of the executed code; and (2) it uses execSync with a shell command string that embeds user-controlled JSON payload data, creating a credible command-injection risk depending on shell quoting/escaping. No explicit malware behavior is visible in this wrapper alone, but the execution of the companion client.js and the unsafe command-construction pattern warrant review/hardening.

Confidence: 70%Severity: 65%
AnomalyLOW
extension-dev/manifest.json

This manifest alone does not prove malware, but it configures a highly privileged “agent bridge” extension: it injects a content script into all pages and all frames and enables nativeMessaging to a local host. That combination is a significant potential risk area for data exfiltration or command/control behavior if the unseen background/content logic or native host is unsafe. Review background.js, content.js, popup handling, and the native messaging host implementation for strict origin/permission checks, minimization of data sent to the native host, and absence of arbitrary page-data exfiltration.

Confidence: 45%Severity: 65%
Audit Metadata
Analyzed At
Oct 10, 2026, 03:57 PM
Package URL
pkg:socket/skills-sh/1jehuang%2Ffirefox-agent-bridge%2Ffirefox-browser%2F@b8b0c146bae4e547b227cca3862df511b43ceabe