run-testsprite-frontend
Pass
Audited by Gen Agent Trust Hub on Oct 9, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONCREDENTIALS_UNSAFEDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill invokes the TestSprite CLI via
npm execwith pinned versions (e.g.,@testsprite/testsprite-cli@0.4.0) to perform network-bound cloud testing and local file operations. - [INDIRECT_PROMPT_INJECTION]: The skill processes external test plans provided via
<PLAN_FILE>. It employs a mandatory evidence chain for safety: instructions require reading repository authority, following non-negotiable safety rules, and performing automated sanitization using a custom Python auditor (audit_frontend_plan.py) and vendor linting tools to detect malicious patterns or bypasses before execution. - [CREDENTIALS_UNSAFE]: Handles the
TESTSPRITE_API_KEYbut implements strict mitigations, including mandatoryumask 077for temporary storage, the use ofenv -uto prevent accidental persistence, and an auditing script that blocks literal credentials (tokens, JWTs, keys) from being included in test plans. - [DYNAMIC_EXECUTION]: Facilitates the retrieval and modification of Playwright Python scripts (
test code put). Security is maintained through strict version verification and instructions for manual code review by the agent to prevent the introduction of unverified or malicious logic.
Audit Metadata