Skip to content

Security: cnuss/daemonize

SECURITY.md

Security Policy

Supported Versions

daemonize is pre-1.0 (0.x). Only the latest tagged release receives security fixes. Once 1.x ships, the support window will move to "latest minor" of the current major.

Version Supported
latest 0.x
older 0.x

Reporting a Vulnerability

Please report security vulnerabilities privately via GitHub's private vulnerability reporting on the Security tab. That opens a draft advisory only the maintainers can see.

Please do not open a public issue for a suspected vulnerability.

What to include

  • A clear description of the issue and its impact.
  • Steps to reproduce (a minimal example, version/commit, OS).
  • Whether the issue is exploitable with default configuration.
  • Any suggested fix or mitigation, if you have one.

Expectations

  • Acknowledgement within 7 days.
  • A status update within 30 days, including a plan and rough timeline.
  • A coordinated disclosure once a fix or workaround is available; we will credit you in the advisory unless you ask otherwise.

Verifying releases

Source archives for every tagged release are signed with cosign in keyless mode (Sigstore Fulcio cert, Rekor transparency log). Each release ships a self-contained signature bundle for each source archive:

  • vX.Y.Z.tar.gz.sigstore
  • vX.Y.Z.zip.sigstore

To verify (cosign v2+):

TAG=v0.1.13
REPO=cnuss/daemonize

curl -fsSL "https://github.com/${REPO}/archive/refs/tags/${TAG}.tar.gz" \
  -o "${TAG}.tar.gz"
curl -fsSL "https://github.com/${REPO}/releases/download/${TAG}/${TAG}.tar.gz.sigstore" \
  -o "${TAG}.tar.gz.sigstore"

cosign verify-blob \
  --bundle "${TAG}.tar.gz.sigstore" \
  --certificate-identity-regexp '^https://github.com/cnuss/daemonize/' \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com \
  "${TAG}.tar.gz"

Verified OK means the archive matches what the release workflow signed.

Scope

In-scope: anything in this repository's library code (the root daemonize façade, v1/, v1alpha1/) or its release artifacts.

Out of scope: vulnerabilities in cobra or the Go standard library itself (report those to their respective projects), and issues that require an attacker to already have local execution as the same user.

Supported platforms

Daemon lifecycle is exercised on Linux, macOS, and Windows. The Unix path uses POSIX signals; the Windows path uses CreateProcess with DETACHED_PROCESS, a ready-file sentinel, and a per-daemon named pipe for graceful shutdown. The side-by-side flow lives in CLAUDE.md → Platform layer.

There aren't any published security advisories