e2e-failure-analyzer
Fail
Audited by Gen Agent Trust Hub on Jul 30, 2026
Risk Level: HIGHCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/e2e-process-project.jsexecutes shell commands usingexecFileSyncwith theshell: trueoption enabled. This configuration is vulnerable to command injection because arguments such as the project name (project) and repository (repo) are interpolated into the shell command. Theprojectvariable is derived from GitHub artifact names inscripts/e2e-gather-run-info.js. If an attacker can control artifact names in the analyzed repository, they can execute arbitrary shell commands on the system where the skill is running. - [REMOTE_CODE_EXECUTION]: The skill downloads and processes external artifacts and reports from GitHub and S3/CloudFront. It executes
npx playwright merge-reportsand other tools on this downloaded content. While intended for analysis, this creates a path for executing logic based on remote, untrusted data. - [PROMPT_INJECTION]: The skill has a significant Indirect Prompt Injection surface as it is designed to ingest and summarize large amounts of untrusted data from CI environments.
- Ingestion Points: CI job logs, Playwright JSON reports, and accessibility-tree snapshots are downloaded and read by the agent across several scripts including
scripts/e2e-process-project.jsandscripts/e2e-process-s3.js. - Capability Inventory: The agent has access to the local file system, the
ghCLI (often authenticated with high-privilege tokens), and network capabilities through Node.js scripts. - Sanitization: The skill does not implement sanitization or boundary markers to prevent malicious instructions embedded in the logs or reports from influencing agent behavior.
- [DATA_EXFILTRATION]: The script
scripts/e2e-query-history.jstransmits theE2E_INSIGHTS_API_KEYand test data tohttps://connect.posit.it/e2e-test-insights-api. This is a legitimate connection to a vendor-provided service for the author 'posit-dev'.
Recommendations
- AI detected serious security threats
Audit Metadata