Security hardening: non-root user, VNC password, seccomp #6
Labels
No labels
blocked:needs-decision
bug
documentation
enhancement
feature-request
quickfix
test
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/kimi_agent_app_testing_environment_setup#6
Loading…
Add table
Add a link
Reference in a new issue
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?
Several security gaps exist in the current setup:
testenvuser and run supervisord/X11 apps under it.x11vnc -nopwallows anyone with network access to view/control the desktop. Add password generation or token auth.SYS_ADMIN+seccomp:unconfinedin docker-compose.yml is excessive. Document minimum required capabilities.Files to modify:
Dockerfile— createtestenvuser, adjust permissionsdocker-compose.yml— adduser: testenv, resource limits, narrower capabilitiessupervisord.conf— run programs astestenvuserentrypoint.sh— handle privilege dropWhy: Running GUI automation with root privileges and open VNC is a significant attack surface, especially in shared CI environments.
Fixed in commit. Closing.