e2e-testing
Pass
Audited by Gen Agent Trust Hub on May 20, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes standard development CLI tools for environmental checks and testing operations.
- Evidence: Uses
jqto verify dependencies andnpx playwrightfor test execution, agent initialization, and browser installation. - Evidence: The Playwright configuration template includes a
webServercommand (npm run dev) to serve the application locally during tests. - [EXTERNAL_DOWNLOADS]: The skill fetches dependencies and binaries from official sources and registries.
- Evidence: Installs
@playwright/testand@playwright/mcpfrom the official NPM registry and downloads browser binaries via the Playwright CLI. - [PROMPT_INJECTION]: The skill features an indirect prompt injection surface by ingesting human-readable Markdown to generate executable code.
- Ingestion points: Markdown files in the
specs/directory (e.g.,specs/<flow>.md) are used as input for the Generator agent. - Boundary markers: The skill prescribes a rigid structure via
templates/spec.mdto delimit user instructions. - Capability inventory: The skill has the capability to write files (
tests/*.spec.ts) and execute them via the shell. - Sanitization: The workflow includes a post-generation check using
test-provenance-guardto ensure generated tests use legitimate production imports rather than private re-implementations. - [SAFE]: The skill implements standard security practices for managing sensitive data.
- Evidence: Authentication credentials are managed through environment variables (
E2E_USER_EMAIL,E2E_USER_PASSWORD) intemplates/seed.spec.tsinstead of being hardcoded. - Evidence: The skill explicitly warns that
storageState.json(containing session cookies) should not be version-controlled, preventing credential exposure in repositories.
Audit Metadata