Run the container as a non-root user #35
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: medium
Category: infra
Location:
DockerfileProblem
No USER directive — everything runs as UID 0; a parser RCE would have root in the container.
Suggested fix
Add an
appuser, chown /app and /data, andUSER app(adjust volume perms).Filed by automated code review.