Re:SSH keys stolen by stream of malicious PyPI and NPM packages
by bomewish on Sunday December 10, 2023 @03:52PM
(#38594924)
Docker doesn’t solve this?
[ Parent
| on HN ]
Re:SSH keys stolen by stream of malicious PyPI and NPM packages
by Tknl on Sunday December 10, 2023 @03:59PM
(#38594980)
Docker provides virtually no security guarantees on its own and container rights escalation vulnerabilities are a serious threat vector. The default containers provided by many applications are often insecure and ignore recommended security hardening practices. Seehttps://kubernetes.io/docs/concepts/security/overview/ 4 c's of container security.
Re:SSH keys stolen by stream of malicious PyPI and NPM packages
by simonw on Sunday December 10, 2023 @04:23PM
(#38595201)
Sadly it doesn't - Docker isn't specifically designed as a security tool and there are plenty of warnings against using it in this way.
Firecracker is the best I've seen in terms of container security - it was designed by AWS for Lambda and is trusted by people I trust. It's not really packaged for easily running on macOS etc though.
Re:SSH keys stolen by stream of malicious PyPI and NPM packages
by pritambaral on Monday December 11, 2023 @05:27AM
(#38599276)
Docker actually worsens this. The default installation of docker makes no effort to prevent host root access from a container. Root in container is root in host