Skip to content

[Aikido] AI Fix for Docker container runs as default root user#26

Merged
joemurrell merged 1 commit into
mainfrom
fix/aikido-security-sast-32033183-wdxp
May 9, 2026
Merged

[Aikido] AI Fix for Docker container runs as default root user#26
joemurrell merged 1 commit into
mainfrom
fix/aikido-security-sast-32033183-wdxp

Conversation

@aikido-autofix
Copy link
Copy Markdown
Contributor

@aikido-autofix aikido-autofix Bot commented May 9, 2026

This patch mitigates the container running as root by creating a non-root user with UID 1000, changing ownership of application files to that user, and switching to that user before executing the application.

Aikido used AI to generate this PR.

Medium confidence: Aikido has validated similar fixes and observed positive outcomes. Validation is required.

@joemurrell joemurrell merged commit ca33bd7 into main May 9, 2026
4 checks passed
@joemurrell joemurrell deleted the fix/aikido-security-sast-32033183-wdxp branch May 9, 2026 04:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant