If you discover a security vulnerability in eggserve, please report it responsibly:
- Email: dbowman91@proton.me
- GitHub Private Advisory: Use the repository's private vulnerability reporting feature
Do not open public issues for security vulnerabilities.
| Version | Supported |
|---|---|
| 0.2.x | Yes (early alpha) |
| < 0.2 | No |
The full security policy, including safe defaults and threat model, is documented in:
- docs/security-policy.md — safe defaults and opt-in behaviors
- docs/threat-model.md — assets, trust boundaries, and attacker capabilities
EggServe is primarily a hardened static-file server, but its security boundary also includes the reusable HTTP runtime and Python facade. Report issues in the implementation or policy of these surfaces, including:
- HTTP/1.1 and optional HTTP/2 parsing, request/response framing, admission, lifecycle, timeout, and resource-limit behavior;
- experimental HTTP/3/QUIC stream handling and its bounded integration with the canonical service pipeline;
- TLS identity selection, SNI, ALPN, optional/required client authentication, operator-supplied trust stores and CRLs, certificate-chain exposure, and atomic TLS configuration reload;
- explicitly configured trusted forwarding and PROXY protocol metadata, listener ownership/adoption, and connection admission;
- tunnel/upgrade handoff, custom Rust
Serviceimplementations at the EggServe boundary, and bounded Python handlers/callbacks; and - static-file path validation, descriptor/handle-relative confinement, symlink/dotfile/listing policy, response normalization, and sanitized operational output.
An upstream defect in Hyper, Rustls, Quinn, H3, Tokio, PyO3, or another dependency is reportable to that project, but also report it to EggServe when it can affect an EggServe-supported or documented experimental configuration, when EggServe enables the vulnerable behavior, or when our version policy, feature gating, validation, or response to the advisory is inadequate. Do not assume that an upstream report alone establishes that EggServe is unaffected. Include the dependency version, enabled feature set, protocol/profile, and a minimal reproduction when safe to share.
The release wheel targets the CPython 3.11 stable ABI (abi3) and supports
GIL-enabled CPython 3.11–3.15 through one cp311-abi3 wheel per platform
(build-once/test-many ABI proof; PyPy and free-threaded CPython unsupported).
Routine CI verifies the Linux wheel on the primary interpreter plus the
matrix authority gates; macOS and Windows wheels are built and tested in the
release/platform workflows, with the Windows ARM64 artifact executed natively
on the ARM64 hosted runner. Windows implements handle-relative confinement
for the qualified classes, but remains trusted/local-content only: two
open-descendant root-rename cases are skipped because NTFS rejects that
external path operation. This is a qualification limitation, not an absence
of confinement.
EggServe denies application-owned Rust unsafe_code by default. The reviewed
exceptions are documented in docs/unsafe-code-policy.md.
- Acknowledge receipt within 48 hours.
- Assess severity using CVSS or equivalent scoring.
- Determine affected versions and fix timeline.
- Prepare a patch on a private branch (not
main).
Confirmed vulnerabilities with severity above moderate are embargoed until a fix is available and released. During embargo:
- No public disclosure of the vulnerability details.
- No mention in public changelogs beyond "security fix".
- Fixes are developed on private branches.
- Maintainers notify the reporter before public release.
When cargo audit or GitHub advisory databases report a vulnerability:
- Assess whether the affected dependency is actually reachable in eggserve's code paths.
- If exploitable, treat as a vulnerability per the triage process above.
- If not exploitable (unreachable code path, wrong feature gate, etc.), document the finding and rationale for accepting the risk.
- Update
deny.tomlor.cargo/audit.tomlonly with documented justification.deny.tomlis the cargo-deny policy;.cargo/audit.tomlis the cargo-audit policy. Keep both advisory-ignore lists empty: repair with a patched version, not an exception.
Every distributed Rust dependency closure is checked in routine CI and release
preflight. The root workspace and the excluded Python wheel crate have
separate lockfiles; scripts/check-supply-chain.sh audits both and applies the
shared deny.toml policy to both manifests. Before the network audits,
scripts/check-advisory-floors.py runs an offline guard against the advisory
floors already resolved in this repository (quinn-proto, quinn-udp,
rustix, tokio) and fails closed when a lockfile regresses below a patched
release; it is a version check, not a replacement for cargo audit. A
scheduled daily workflow
(.github/workflows/advisory-scan.yml) re-runs the same gates without
requiring a push or pull request. A release build also uses the
exact Rust 1.98.1 compiler rather than a floating stable patch version.
If a released version contains a vulnerability or critical bug:
- Assess severity and determine whether to yank or release a patch fix.
- For crates.io:
cargo yank --version <version>(requires registry token). - For PyPI: use the PyPI yank UI or API (requires maintainer access).
- Create a GitHub Security Advisory if the vulnerability warrants CVE tracking.
- Notify affected users through GitHub release notes.
- Update
SECURITY.mdsupported-versions table if prior versions become unsupported.
The primary maintainer is David Bowman (dbowman91@proton.me). Security-related communications should be directed to this address or through GitHub's private vulnerability reporting.