go-rod-master
Fail
Audited by Gen Agent Trust Hub on Sep 6, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONDATA_EXFILTRATIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The
references/detailed-guide.mdfile instructs users to run code directly from a remote GitHub repository usinggo run github.com/nichochar/go-rod.github.io/cmd/launcher@latest. This facilitates the execution of unverified code from an external source at runtime. - [DATA_EXFILTRATION]: The
examples/request_hijacking.goscript demonstrates how to use theHijackRequestsAPI to intercept and modify network traffic. It includes code to setAuthorizationheaders and inject scripts into JavaScript responses, which are common primitives for credential harvesting and session hijacking. - [DYNAMIC_EXECUTION]: Multiple examples (e.g.,
examples/basic_scrape.go,examples/stealth_page.go) useMustEvalandMustEvalOnNewDocumentto execute arbitrary JavaScript within the browser context. This allows for runtime code execution that can be controlled or influenced by the content of the websites being automated. - [INDIRECT_PROMPT_INJECTION]: The skill automates the processing of untrusted data from the web, creating a vulnerability to indirect prompt injection.
- Ingestion points: The skill retrieves text, titles, and response bodies from external URLs in
examples/basic_scrape.goandexamples/request_hijacking.go. - Boundary markers: There are no markers or instructions to isolate untrusted data from the agent's logic.
- Capability inventory: The skill includes tools for file system writes (
MustScreenshot,utils.OutputFile), network manipulation (HijackRequests), and code execution (MustEval). - Sanitization: No filtering or sanitization is performed on the data ingested from the browser.
- [COMMAND_EXECUTION]: The skill uses the
launcherlibrary to spawn browser processes with arbitrary command-line flags (e.g.,launcher.New().Headless(true).MustLaunch()inexamples/stealth_page.go), allowing the agent to execute and control local processes.
Recommendations
- AI detected serious security threats
Audit Metadata