Tool Parameter Abuse
High
- Category
- Tool Misuse
- Content
- [ ] Multi-stage builds (build deps not in final image) - [ ] `.dockerignore` excludes: `.git`, `node_modules`, `*.md`, tests, docs - [ ] Combine RUN commands (fewer layers) - [ ] Clean package manager cache in same RUN (`rm -rf /var/cache/apk/*`) - [ ] No dev dependencies in production stage - [ ] Pin base image SHA: `FROM node:20-alpine@sha256:abc123...`
- Confidence
- 90% confidence
- Finding
- Tool parameters are crafted to achieve unintended or unsafe behavior. Parameter abuse can bypass intended safety checks (e.g. shell=True, --force, dangerous glob patterns).
