scaffold-feature-screen
Warn
Audited by Gen Agent Trust Hub on Oct 18, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The shared library
scripts/check-lib.mjsuses dynamicimport()to load Node.js packages from computed file paths within itsimportPackagefunction. - [DYNAMIC_EXECUTION]: The
applyMutationfunction inscripts/check-lib.mjsinterprets a JSON-based domain-specific language (DSL) to perform various file system operations, including writing, deleting, renaming, and creating symbolic links, which is used to manage test fixtures. - [COMMAND_EXECUTION]: The skill's scripts utilize
child_process.spawnSyncto run local processes, specifically Node.js for self-testing and the project's Prettier instance for code formatting. - [INDIRECT_PROMPT_INJECTION]: The skill scaffolds feature components that process untrusted data via Expo Router's
useLocalSearchParams. Although the skill generates and enforces validation usingvalibotschemas, the resulting code possesses an inherent attack surface for indirect prompt injection if validation logic is weak or bypassed. - Ingestion points: Route parameters are ingested via
useLocalSearchParams()in the generated model hooks (e.g.,use-note-detail-model.ts). - Boundary markers: Enforces the use of
parse<Feature>Paramsvalidation functions. - Capability inventory: Generated views are pure components, while model hooks handle application logic and navigation.
- Sanitization: Parameters are validated and transformed using
valibotschemas before being passed to the view model.
Audit Metadata