developer-experience-patterns
Pass
Audited by Gen Agent Trust Hub on Oct 4, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONCREDENTIALS_UNSAFEEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill includes shell script examples and TypeScript code that execute system commands.
scripts/setup.shexecutes several commands includingnpm ci,docker compose up, andnpm run db:migrate.- The
getAffectedPackagesfunction inSKILL.mdusesexecSyncto runnpx nx show projects. - The
scaffoldServicefunction inSKILL.mdusesexecSyncto runcp -r. - [DYNAMIC_EXECUTION]: The TypeScript code snippets demonstrate dynamic command generation.
- In
getAffectedPackages, thebaseparameter is directly interpolated into a shell command:npx nx show projects --affected --base=${base} --json. This is a potential command injection vector if thebasevariable is sourced from untrusted input. - In
scaffoldService, theopts.typeparameter is used to construct a file path for a copy command:cp -r templates/${opts.type}/. ${serviceDir}/. Without sanitization, this could lead to path traversal or command injection. - [INDIRECT_PROMPT_INJECTION]: The skill describes patterns for ingesting data that could influence agent behavior.
- Ingestion points: Environment variables (via
.envandzodvalidation), git branch names (via thebaseparameter ingetAffectedPackages), and service configuration metadata. - Boundary markers: None identified in the code snippets to distinguish instruction from data.
- Capability inventory: Uses
child_process.execSyncandfs.writeFileSyncacross multiple snippets. - Sanitization: The examples do not demonstrate sanitization or escaping of the input variables before they are used in shell commands or file operations.
- [CREDENTIALS_UNSAFE]: The skill contains hardcoded development credentials in configuration files.
docker-compose.dev.ymlincludesPOSTGRES_USER: devandPOSTGRES_PASSWORD: dev.docker-compose.dev.ymlincludesDATABASE_URL: postgres://dev:dev@db:5432/appdbandREDIS_URL: redis://cache:6379.- While these are intended for local development, they match patterns for hardcoded secrets.
- [EXTERNAL_DOWNLOADS]: The skill references standard GitHub Actions (
actions/checkout,actions/setup-node) and the Codecov action for CI workflows. It also uses Dev Container features from the official GitHub Container Registry.
Audit Metadata