Repository navigation
v0.1.2
Security release based on a full source audit of v0.1.1. Update recommended.
Fixed
- Path traversal:
unlink_tagand other free-text path arguments accepted..; a uid like../could delete the parent spool via Spoolman's slash redirects. Empty,./..and values containing/or\are now rejected. - The upstream client followed redirects and could leak credentials (headers to other hosts, Authorization after an HTTPS→HTTP downgrade). Redirects are no longer followed.
set_settingcould bypassALLOW_DELETE=falseviaextra_fields_*keys; those are refused and resets needconfirm=true.- Unparseable boolean env values silently fell back to a permissive default; they are now a startup error (
yes/no/on/offare accepted). - Credentials in
SPOOLMAN_URLare moved to Basic auth and never logged; config errors never echo secrets. - Tool annotations: overwrite/merge/reset tools are marked destructive, bulk renames are no longer marked idempotent.
Hardening
- Streamable HTTP sessions are bound to the token that created them.
- Limits:
MCP_HTTP_MAX_CONCURRENT(default 64),MaxHeaderBytes,MAX_RESULT_BYTES, oversized upstream responses are an error, error bodies capped at 64 KiB. SPOOLMAN_URLwith query/fragment is rejected; conflictingAuthorizationheader settings are refused.
Supply chain
- Actions and images pinned by SHA/digest, Dependabot, checkout without persisted credentials, PR builds without write permissions, no cache for release builds.
- Signed build provenance for images and binaries (
gh attestation verify … --repo virtualben89/spoolman-mcp-go);latestonly for non-prerelease tags. - CI actions updated to the Node 24 majors.
Docs
- Token via file, example compose binds to 127.0.0.1, security notes.
Full Changelog: v0.1.1...v0.1.2