Kiri Forge reads untrusted Dockerfiles, unpacks archives and build contexts,
talks to container registries and runs RUN steps inside a Linux namespace
sandbox, so security reports matter a lot.
Please do not open a public issue. Use GitHub's private vulnerability reporting on this repository (Security -> Report a vulnerability).
Include what you found, a minimal Dockerfile or build context that reproduces
it, and the Kiri Forge version (kfg version). You should get a reply within
a few days, and a fix or a plan once the issue is confirmed. Reporters are
credited in the release notes unless they prefer not to be.
Security fixes go into the latest release. Please check against the latest release before reporting.
- Escaping the planner's sealed child process (seccomp on Linux, sandbox profile on macOS) or bypassing its memory, time or size limits while reading a hostile Dockerfile.
- Escaping the Linux
RUNstep sandbox (mount, PID, UTS, IPC and user namespaces, overlayfs, capability set, or masked/procand/syspaths). - Path traversal outside the build context or unpacked layer via symlinks,
hard links,
.dockerignorerules or archive extraction inCOPYandADD. - Leaking registry credentials (
~/.docker/config.json, credential helpers),--secretfiles or--sshagent sockets into image layers, history or logs. - Corrupting the step cache, copy index or layer store, or forging layer
digests over the
kiri-forge workersocket.