sb-setup
Pass
Audited by Gen Agent Trust Hub on Oct 2, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The skill uses
npx storybook ai setupto defer the core installation to the official Storybook CLI tool. - [EXTERNAL_DOWNLOADS]: Installs various official and well-known development dependencies from the npm registry, including
@storybook/addon-a11y,@storybook/addon-docs,msw-storybook-addon, andmockdate. - [EXTERNAL_DOWNLOADS]: References official GitHub repositories for the Storybook project to fetch updated setup prompts and documentation using the GitHub CLI (
gh api). - [COMMAND_EXECUTION]: Executes a provided Python script (
discover-runtime.py) that performs static analysis of the local codebase to identify providers, global CSS, and portal targets. The script operates locally and writes its findings to the.storybook/directory. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted local data by scanning the project's source code,
package.json, andindex.htmlto generate Storybook configurations and stories. While this is an ingestion surface for indirect prompt injection, it is a necessary functional component of the discovery process. - Ingestion points: Project source files (
.tsx,.jsx,.ts,.js),package.json, andindex.htmlare read by the discovery script and grepped by setup instructions. - Boundary markers: No specific delimiters or warnings for embedded instructions are present in the processing flow.
- Capability inventory: The agent has access to
Bash,Write, andEdittools; it can execute package installation and write new story files. - Sanitization: No explicit sanitization or filtering of external code content is performed before interpolation into configuration tasks.
Audit Metadata