Skip to content

[NuLink] Image user should not be 'root'#138

Open
nulink-fixer[bot] wants to merge 1 commit intodevfrom
fix/nulink-cloud-fixer-1768755002
Open

[NuLink] Image user should not be 'root'#138
nulink-fixer[bot] wants to merge 1 commit intodevfrom
fix/nulink-cloud-fixer-1768755002

Conversation

@nulink-fixer
Copy link
Contributor

@nulink-fixer nulink-fixer bot commented Jan 18, 2026

This is a fix because it modifies the Dockerfile to run the container using a non-root user ('appuser') instead of the default root user. By adding a 'USER appuser' line, we mitigate the risk of potential container escape attacks, which can occur when running as the root user. Running containers as non-root users adheres to the principle of least privilege, reducing the impact of any security vulnerabilities within the containerized application.

Severity: high

NuLink used AI to generate this PR.

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.

0 participants