docker-development
Pass
Audited by Gen Agent Trust Hub on Nov 8, 2026
Risk Level: SAFECREDENTIALS_UNSAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The sample files provided with the skill contain hardcoded secrets and connection strings.
- Evidence:
examples/Dockerfile.samplecontainsENV DATABASE_URL=postgres://admin:s3cretPass@db.internal:5432/appdbandENV API_KEY=sk-prod-a8f3b2c1d4e5f6a7b8c9d0e1f2a3b4c5. - Evidence:
examples/docker-compose.sample.ymlcontains hardcoded environment variables such asDB_PASSWORD=supersecret123,JWT_SECRET=my-jwt-secret-do-not-share, andREDIS_URL=redis://:redispass@redis:6379. - Context: These credentials appear in files explicitly labeled as samples for demonstrating detection of anti-patterns, suggesting they are dummy values for testing purposes.
- [INDIRECT_PROMPT_INJECTION]: The skill analyzes user-provided Dockerfiles and Compose configurations, which presents an attack surface for indirect prompt injection if the agent interprets instructions embedded in the analyzed data.
- Ingestion points:
scripts/dockerfile_analyzer.pyandscripts/compose_validator.pyread the content of files provided via the--fileargument. - Boundary markers: No delimiters or specific instructions are used to separate the analyzed content from the agent's internal logic.
- Capability inventory: The analysis scripts are limited to text parsing and regular expression matching. They do not execute shell commands, perform network requests, or use dangerous dynamic execution functions (e.g., eval/exec) on the file content.
- Sanitization: No sanitization or filtering is performed on the input file content before analysis.
Audit Metadata