Skip to content

Security: golusoris/goenvoy

Security

SECURITY.md

Security policy

Reporting a vulnerability

Please do not open public GitHub issues for security vulnerabilities.

Email: security@lusoris.dev (or open a private security advisory on GitHub).

We aim to acknowledge within 72 hours and provide a remediation plan within 7 days.

Supported versions

Only the latest release of each module is patched. Downstream apps should bump promptly when an advisory is published for a module they use.

Supply chain

Every tagged module release ships:

Verify a release archive:

cosign verify-blob \
  --certificate checksums.txt.pem \
  --signature checksums.txt.sig \
  --certificate-identity-regexp '^https://github.com/golusoris/goenvoy/' \
  --certificate-oidc-issuer 'https://token.actions.githubusercontent.com' \
  checksums.txt

Security practices

  • Pure stdlib — zero external dependencies reduces supply-chain risk to the Go toolchain and golang.org/x/* (none currently used).
  • No telemetry — clients open connections only to the service the caller points them at.
  • No secret persistence — API keys, bearer tokens, and refresh tokens live in the *Client struct only. They are never cached to disk, never written to logs, never included in error messages.
  • TLS on by default — no module disables certificate verification. WithHTTPClient lets callers override the *http.Client for specialised cases; doing so is their responsibility.
  • URL validation — every New validates the baseURL scheme (http/https only) and parseability.
  • Static analysis — every module passes gosec + golangci-lint (incl. errorlint, noctx, bodyclose, contextcheck, containedctx) + govulncheck + CodeQL (security-extended,security-and-quality).
  • OSSF Scorecard — published and monitored; see the badge on README.md.

Dependencies

Tracked by Dependabot:

  • gomod — pure-stdlib means gomod is quiet; updates only touch test-only tooling pulled via go install, if any.
  • github-actions — all workflow actions are hash-pinned; Dependabot proposes version bumps with updated hashes.

Scope

This library is a collection of HTTP API clients. Relevant security concerns include:

  • Credential leakage (API keys / tokens in logs or error messages).
  • Request injection (path traversal, header injection).
  • TLS verification bypass.
  • Improper error handling exposing sensitive data.

We actively test against these in code review + gosec rules G101, G107, G306, G402, G505.

There aren't any published security advisories