Frontend Testing
Pass
Audited by Gen Agent Trust Hub on Mar 30, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [EXTERNAL_DOWNLOADS]: The
scripts/init-frontend-tests.shscript automates the installation of several well-known and reputable Node.js packages from the official NPM registry, including@testing-library/react,playwright,vitest,jest, andlighthouse. It also usesnpx playwright installto download official browser binaries required for end-to-end testing. - [COMMAND_EXECUTION]: The skill includes several bash scripts (e.g.,
run-component-tests.sh,run-visual-regression.sh) that execute testing frameworks vianpx. These scripts take arguments such as test patterns or CLI options and pass them to the underlying testing tools to provide a unified interface for the developer. - [NO_CODE]: The skill primarily consists of configuration templates (JSON/TypeScript) and shell scripts that orchestrate local development tools. It does not include pre-compiled binaries or obfuscated logic.
- [SAFE]: All external references target official documentation placeholders or localhost (e.g.,
http://localhost:3000). Credentials in examples and templates use safe placeholders likepassword123ortest@example.comand emphasize the use of environment variables for actual secrets.
Audit Metadata