ui-styling
Pass
Audited by Gen Agent Trust Hub on Sep 28, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
shadcn_add.pyscript executes shell commands via thenpxutility using thesubprocess.runfunction. This is a standard method for wrapping CLI tools within the development ecosystem. - [EXTERNAL_DOWNLOADS]: The skill facilitates downloading and running code from the npm registry, a well-known service, through both instructions in
SKILL.mdand logic in theshadcn_add.pyscript. - [DYNAMIC_EXECUTION]: The
tailwind_config_gen.pyscript programmatically generates JavaScript and TypeScript configuration files. Although these files contain executable code, the script employs validation logic, such as a strict regular expression for plugin names, to mitigate injection risks. - [INDIRECT_PROMPT_INJECTION]: The skill processes user-supplied component and plugin names, creating a potential ingestion surface for untrusted data.
- Ingestion points: Command-line arguments processed by
shadcn_add.pyandtailwind_config_gen.py. - Boundary markers: Absent in the scripts.
- Capability inventory: File system writing (config generation) and subprocess execution (component installation).
- Sanitization:
tailwind_config_gen.pyuses a strict regex (_VALID_PLUGIN_NAME) to validate input, andshadcn_add.pyuses argument lists insubprocess.runto prevent shell injection.
Audit Metadata