Back to skill

Security audit

Agent Browser (MikeFaierberg)

Security checks for vulnerabilities and agentic risk

Overview

The skill is a coherent browser-automation guide, but it normalizes storing and reusing website credentials and browser sessions without enough safeguards.

Install only if you are comfortable with an agent using browser automation on logged-in sites. Avoid entering real passwords in command arguments, confirm which accounts and profiles may be used, and check how the auth vault stores, redacts, and deletes credentials before relying on it.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (1)

T09 · Insecure Skill Coding Practices

Warning
Location
SKILL.md:59
Finding
Credential Exposure Through Command-Line Password Argument## Vulnerability Details **File Location**: `SKILL.md:59` **Vulnerability Type**: Credential exposure through process arguments and command history **Risk Level**: Medium ### Vulnerable Code ```text agent-browser auth save <name> --url <url> --username <u> --password <p> ``` ### Technical Analysis The documented authentication workflow instructs users or agents to pass a password directly through the `--password` command-line argument. When a real credential replaces the placeholder, its plaintext value may become visible in shell history, process inspection interfaces, command-execution logs, agent transcripts, telemetry, or debugging records. This creates an avoidable secret-handling weakness even if the underlying authentication vault stores the credential securely after receiving it. ### Attack Path 1. A user or agent follows the documented command and substitutes a real website password for `<p>`. 2. The shell or agent execution environment records the complete command, or exposes it temporarily through process metadata. 3. A local user, monitoring component, log reader, or party with access to retained transcripts retrieves the plaintext password. 4. The exposed username and password are used to authenticate to the target website. 5. The attacker obtains whatever account access and data are available to the compromised user. ### Impact Assessment Successful exploitation can disclose credentials for authenticated websites. The resulting privileges are limited to those granted to the compromised account, but may include access to private information, account settings, authenticated actions, or administrative functions when a privileged account is affected. Exploitation generally requires access to local process information, shell history, execution logs, telemetry, or agent transcripts containing the invoked command. The affected scope includes environments where operators follow t ...[truncated 34 chars]
Remediation
## Remediation Suggestions - Replace the command-line password option with an interactive hidden prompt or protected standard-input mechanism. - Support retrieval from an approved secret manager or operating-system credential store without placing the secret in process arguments. - Explicitly warn users and agents never to include passwords, tokens, or other secrets directly in command-line arguments. - Ensure command logging, telemetry, debugging output, and agent transcripts redact credential values. - If compatibility requires `--password`, support references to protected secret sources rather than accepting plaintext values. - Review and remove any existing shell histories, logs, or transcripts that may contain credentials entered using this workflow, and rotate affected credentials.
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (1)

Missing User Warnings

Medium
Confidence
95% confidence
Finding
The skill explicitly documents saving website credentials via `agent-browser auth save <name> --url <url> --username <u> --password <p>` but provides no safeguards, warnings, or secret-handling guidance. In an agent skill context, this can normalize passing credentials on the command line, which risks exposure through shell history, process listings, logs, transcripts, or unintended persistence in the auth vault.

Static analysis

No suspicious patterns detected.