Skip to content

Security: libracoder/kiri-forge

SECURITY.md

Security

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.

Reporting a vulnerability

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.

Supported versions

Security fixes go into the latest release. Please check against the latest release before reporting.

In scope

  • 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 RUN step sandbox (mount, PID, UTS, IPC and user namespaces, overlayfs, capability set, or masked /proc and /sys paths).
  • Path traversal outside the build context or unpacked layer via symlinks, hard links, .dockerignore rules or archive extraction in COPY and ADD.
  • Leaking registry credentials (~/.docker/config.json, credential helpers), --secret files or --ssh agent sockets into image layers, history or logs.
  • Corrupting the step cache, copy index or layer store, or forging layer digests over the kiri-forge worker socket.

There aren't any published security advisories