Changelog¶
Each release of WaWarden and what it introduced. The format follows
Keep a Changelog, and versions follow
the versioning rules in RELEASING.md.
v0.1.0 to v0.3.0 were development releases: each replaced the one before
it and promised no compatibility. The compatibility promise starts at
v1.0.0. Only the latest minor release line is supported (see
SECURITY.md).
Every release's notes on the
Releases page give its commit,
its image digest and the commands to verify and reproduce it.
wawarden version prints a binary's version.
Contents¶
- 1.4.1 - 2026-11-22
- 1.4.0 - 2026-11-07
- 1.3.0 - 2026-10-18
- 1.2.0 - 2026-10-18
- 1.1.0 - 2026-10-15
- 1.0.0 - 2026-10-12
- 0.3.0 - 2026-10-11
- 0.2.0 - 2026-10-06
- 0.1.0 - 2026-10-04
1.4.1 - 2026-11-22¶
Security¶
- Built with go1.27.4, which fixes
GO-2026-6859 (
CVE-2026-97054) in the standard library: an HTTP/1 server crash caused by aMaxBytesReaderheader race innet/http.govulncheckfinds that 1.4.0, built with go1.27.3, reaches it through WaWarden's HTTP listeners andnet/httpcalls (#52).
Added¶
-
Official MCP Registry packaging and publishing:
- the container image carries the
io.modelcontextprotocol.server.nameOCI label (io.github.dortort/wawarden; see Container image); - the repository includes
server.jsonforio.github.dortort/wawarden, and the release workflow stamps it with the release version and digest-pinned image reference and publishes it toregistry.modelcontextprotocol.iovia GitHub OIDC after verifying the pinnedmcp-publisherarchive withcosign verify-blob(see What a release contains).
- the container image carries the
-
AI-agent readiness outputs on the documentation site, verified on every build by
website/verify_site.py:robots.txtwith AI crawler rules and content signals, unique per-page meta descriptions, per-page Markdown copies with<link rel="alternate" type="text/markdown">links,/llms.txtgenerated from the navigation, and thewawarden-clientagent skill at/.well-known/agent-skills/wawarden-client/SKILL.mdwith its discovery index at/.well-known/agent-skills/index.json(linked from the documentation home page). - End-to-end agent recipes in Recipes, dark and
light terminal demo SVGs for the offline fake-engine quickstart in the README
under Try it without an account, and
glama.jsonmetadata for the Glama MCP directory.
Changed¶
- Updated
go.mau.fi/libsignalfromv0.2.2tov0.2.3(and indirectgolang.org/x/cryptofromv0.57.0tov0.58.0), and updatedsigstore/cosign-installerin.github/workflows/release.ymlfromv4.1.2tov4.1.3.
1.4.0 - 2026-11-07¶
Built from commit 935d043 with go1.27.3.
Added¶
- Client webhooks, off by default. A client created with
allow_webhooks(wawarden admin clients create --allow-webhooks) registers up to 10 webhooks withPOST /v1/webhooksor the MCP toolcreate_webhook, lists them withGET /v1/webhooks,GET /v1/webhooks/{id}orlist_webhooks, and deletes them withDELETE /v1/webhooks/{id}ordelete_webhook(see Webhooks):- each webhook posts every new live message its client may read to an
httpsURL, with the method (POST,PUTorPATCH), the extra headers and the body the client chooses: the default JSON event, or a JSON or plain-text template whose placeholders, such as{{message.text}}, name the event's fields; - an optional filter picks the messages by chat, direction (
inboundoroutbound), kind, and text the message contains; - every request is signed with HMAC-SHA256 under a secret the create answer
alone returns, carries an event id that stays the same on retries, and
goes through the notification webhook's HTTP client and destination check;
private addresses need
WAWARDEN_WEBHOOKS_ALLOW_PRIVATE=1; - a webhook posts its client's messages in the order they were stored,
under the client's own read grant decided again before each one, keeps
its position in the archive across restarts, retries for at most 24
hours, and stops posting when its client is revoked or expires.
The metrics
wawarden_webhook_deliveries_totalandwawarden_webhook_attempt_failures_totaland thewebhook_droppedwarning report deliveries. The archive moves to schema version 7, which adds thewebhookstable and the clients'allow_webhooksflag; an earlier release refuses to open it.
- each webhook posts every new live message its client may read to an
Security¶
- Built with go1.27.3, which fixes
GO-2026-6809 in the standard
library:
crypto/x509distrusts compromised intermediate certificates.govulncheckfinds that 1.3.0, built with go1.27.2, reaches it: an attachment download verifies its media host's certificate through it. - The threat model lists the new residual: a client created with
allow_webhooksthat a message it reads talks into registering a webhook (see Clients and agents).
Fixed¶
- The 1.3.0 documentation said that a newest-anchored backfill gives a media reference to any re-delivered attachment the archive holds without one. On one live account, in group chats, only the attachments of messages from before the device was linked gained one; those of messages the device had received itself, while downloads were off, gained none. The README, the runbook, the CLI, configuration, API and internals references and the threat model now say so (see Backfill requests).
Upgrade notes¶
- The first start migrates the archive to schema version 7. The change is forward-only: an earlier release refuses the upgraded archive. Take a backup before upgrading; going back needs that backup restored into the earlier release (see the runbook).
- Remove
WAWARDEN_WEBHOOKS_ALLOW_PRIVATEbefore going back to an earlier release, which refuses to start withunknown_variable. - Run
wawarden admin clients createagainst a v1.4.0 server. It always sends theallow_webhookskey, which a v1.3.0 server refuses withinvalid_body.
1.3.0 - 2026-10-18¶
Built from commit 26eb050 with go1.27.2.
Added¶
- A backfill can be anchored at a chat's newest archived message.
POST /admin/v1/backfilltakes an optionalanchor,"oldest"(the default, as before) or"newest", andwawarden admin backfilltakes--anchor oldest|newest. Withnewestthe owner's phone is asked for up to 50 messages before the chat's newest message, and a re-delivered attachment that the archive holds without a media reference gains one while downloads are on, under the same size and view-once rules as at receipt, if it is neither revoked nor expired, was never marked gone after a403,404or410from its media host, and is younger thanWAWARDEN_MEDIA_REF_RETENTION_DAYS(see Backfill requests). Both anchors share the one quota of a request every 5 minutes and 20 a UTC day.
Changed¶
- The archive is at schema version 6. A fetch that the media host answers
with
403,404or410now also marks the message, and no later copy of it, a backfill's answer included, gains a media reference again. Before, the mark went with the reference when the minute sweep removed it. - Dev builds: the fake engine answers a backfill with the messages it delivered before the anchor in that chat, when there are any.
Fixed¶
- The documentation did not say that a media reference is kept only for an
attachment received while downloads are on. The runbook, the configuration
reference and the API reference now say that one received before downloads
were on, or while they were off, answers
media_unavailableuntil a newest-anchored backfill re-delivers its message (see the runbook).
Upgrade notes¶
- The first start migrates the archive to schema version 6. The change is forward-only: an earlier release refuses the upgraded archive. Take a backup before upgrading; going back needs that backup restored into the earlier release (see the runbook).
- An attachment whose media host answered
403,404or410under an earlier release keeps no mark once the sweep removed its reference: a newest-anchored backfill can give it a reference again, and its next fetch marks it. - Run
wawarden admin backfill --anchor newestagainst a v1.3.0 server. A v1.2.0 server refuses theanchorkey withinvalid_body; without--anchor, or with--anchor oldest, the command sends noanchorkey and works against both.
1.2.0 - 2026-10-18¶
Built from commit a18eb3a with go1.27.2.
Added¶
-
On-demand attachment downloads, off by default. With
WAWARDEN_MEDIA_MAX_BYTESabove0, a client created withallow_media(wawarden admin clients create --allow-media) downloads the attachment of a photo, video, voice note or other audio, document or sticker, fetched from WhatsApp only when it asks (see Attachments):- over REST,
POST /v1/messages/{mref}/mediastarts a fetch job, andGETorHEADon the same path reports on it and then delivers the bytes, with single-range support; - over MCP, the tool
get_attachmentreturns the attachment's status and, when the file is small enough and held in memory, the file inline: a re-encoded image up to 3.5 MiB as an image block, audio up to 8 MiB as an audio block, and video, PDF or another document up to 8 MiB as an embedded blob. Its optionalpartargument, from 0 to 255, returns any ready attachment in 8 MiB parts to be joined in order; a part's result gives the number of parts and the joined length, which can be shorter than the declared size.
Both transports share one job per client and message, the budgets and the per-job delivery caps. - The settings, with their defaults:
WAWARDEN_MEDIA_MAX_BYTES(0, off), the reference retentionWAWARDEN_MEDIA_REF_RETENTION_DAYS(30),WAWARDEN_MEDIA_PER_CLIENT_PER_MINUTE(6, with a burst of 2, or 1 when the limit is 1),WAWARDEN_MEDIA_GLOBAL_PER_HOUR(60) andWAWARDEN_MEDIA_GLOBAL_BYTES_PER_HOUR(4 GiB), each with its own refusal reason. Neither unsafe caps switch lifts them. -spool/in the data directory, where an attachment over 16 MiB is staged, with the refusalsspool_dir_unusable,spool_dir_not_directory,spool_dir_foreign_ownerandspool_dir_permissions, and thespool_sweep_failedlog event. -POST /admin/v1/mediawith{"paused":true}or{"paused":false}. It pauses attachment downloads at once, without a restart, and erases every attachment job, or it resumes them. While downloads are paused, a fetch answersbusywith a 60-second retry hint. The switch lives in memory, so a restart resumes downloads, andadmin_mutationreports it with the actionmedia_pause(see Pausing downloads). - The admin status fielddownloads(off,onorpaused), the countsmedia_refs_live,media_refs_expiredandrevoke_tombstones, and the warningmedia_write_clientwhile an active client withallow_mediahas a write chat.wawarden admin statusprints them, andwawarden backup verifyprints the archive's live and expired media references and its revoke tombstones. - The codesmedia_unavailable,media_not_requested,media_expired,media_too_large,media_unsupported,media_failedandrange_not_satisfiable. - The audit actionsrest.media.fetch,rest.media,rest.media.sentandmcp.get_attachment. An audit row can name a message by a keyedmessage_hmacand carry a byte count, and theaudit_failedlog event andwawarden_audit_failures_totalreport a row that could not be written. - The metricswawarden_media_fetches_total,wawarden_media_fetched_bytes_total,wawarden_media_deliveries_total,wawarden_media_delivered_bytes_totalandwawarden_media_jobs, present while downloads are on, and the panic namesapi.media.job,api.media.sweep,api.mcp.orphan,engine.media,wa.media.watchdogandstage.sweep. - A soft memory limit at start: withGOMEMLIMITunset or empty, WaWarden sets the Go runtime's soft limit to 80% of the container's cgroup memory limit, and the start eventmemory_limitgives the value and its source. - A revocation of a message not stored yet leaves a 7-day tombstone when it comes from the message's sender or a recorded group admin, so a later copy of that message is stored already revoked. - Agent guidance on attachments as third-party content, on parts and on what an MCP host keeps of a result, in agents. - Dev builds: the fake engine serves synthetic attachments of every kind, among them two that come in parts, one that the normaliser refuses and one that answers expired. - over REST,
Security¶
- Nothing is fetched when a message arrives, and view-once media is never
fetched. Architecture rules confine the protocol client's downloads to two
typed seams, one for history and one for media, and the media seam's source
can be built only from a sealed reference that
FetchMediaopened; only the engine'sFetchMediaand the media service reach it. - A media key reaches the engine only inside a media reference sealed under
the new
media-refkey, which opens only for its own message.FetchMediaalso refuses a reference whose kind, declared length, chat or sender differ from the requested message's. - Every attachment request and
get_attachmentcall re-opens the reference and re-checks the client's grant and scope, and every denial gets the same404as an unknown route, whether downloads are on or off. Jobs are never shared between clients. - A fetch moves at most the declared length plus 32 bytes per response and
twice that over its at most 6 requests, and stops after a complete body. A
429 or 5xx ends it and holds every new fetch for WhatsApp's
Retry-After, kept between 30 seconds and 10 minutes. Fetch slots, staged objects, per-client jobs, the three budgets and the per-job delivery caps bound what clients can start or pull. - The content policy runs once per job before any byte is served, the same for
both transports: the served type comes from the bytes, never the sender;
images, stickers and image documents are re-encoded without their metadata
by decoders confined to
internal/attach, within 50 megapixels and a 128 MiB budget; a video's metadata boxes are blanked; and a document the normaliser refuses is served only asapplication/octet-stream. - Attachment bytes go out only with a fixed header set: an allow-listed type
per kind,
Content-Disposition: attachment,nosniff, a sandboxing content security policy andCross-Origin-Resource-Policy: same-origin, after a committed audit row and under a write deadline. An MCP image block is built only from re-encoded bytes, and everyget_attachmentresult marks the file as untrusted. - An attachment over 16 MiB is staged in
spool/only as AES-GCM ciphertext under a key held in memory, in a private file erased when its job ends.spool/must be private to the service's user, every start removes every regular file in it, and no backup includes it. At or below 16 MiB no attachment byte touches the disk. - The deletion guarantee covers the media type and media reference of revoked and expired messages, including messages revoked before the upgrade. A revocation of a message not stored yet is refused for a target its sender could not revoke.
- The protocol library's log lines no longer carry any
http,https,wsorwssURL, media download path or encrypted-file hash, and audit lines carry a keyed HMAC of a message, never its id. - The threat model lists the new residuals: a delivery or a
get_attachmentresult already under way when its client is revoked; copies an MCP host or an agent saves; two clients holding every download slot; prompt injection through pixels, speech and documents; and metadata in attachments served as fetched.
Changed¶
- The archive is at schema version 5 and new inbox rows are payload
version 2. A revocation removes the whole message, its media type and media
reference included, whether downloads are on or off; a revoked message, and
an expired one once the expiry pass reaches it, answers
media_typenull. - The minute expiry sweep also purges media references and revoke
tombstones, and
expiry_sweep_failedcovers them. auditlog lines always includemessage_hmacandbytes,nullwhen the row names no message.- A
POSTto/v1/messages/{mref}/mediais audited asrest.media.fetch, and aGETorHEADasrest.media, instead ofrest.unrouted, whether downloads are on or off. wawarden_ingest_dropped_totalcounts a refused revocation of a message not stored yet under its refusal reason as well astarget_unknown.- The MCP tool list depends on the media grant: a client with
allow_mediaseesget_attachmentwhile downloads are on, and every other client sees the same list as before. - The refusal table in the configuration is renumbered; the reason strings are unchanged.
- The container hardening guide sizes
--memoryby a stated rule:512mholds with downloads off, and with them on at the defaults the container needs--memory=768m. - The runbook and the ban-risk notes say to pause downloads when a ban is suspected, when fetches keep being throttled and before pairing again.
- Dev builds: the fake engine's script ingests more messages, synthetic attachments among them.
Fixed¶
wawarden_pairedandwawarden_connectedcould stay stale when the connect step's update and aConnectedevent's update overlapped.
Upgrade notes¶
- The first start migrates the archive to schema version 5 and writes new inbox rows as payload version 2. Both changes are forward-only: an earlier release refuses the upgraded archive. Take a backup before upgrading; going back needs that backup restored into the earlier release (see the runbook).
- Remove every
WAWARDEN_MEDIA_*variable before going back to an earlier release, which refuses to start withunknown_variable. - With downloads off, a revocation now removes a message's media type, and a revocation that arrives before its message leaves a tombstone when it comes from the original sender or a recorded group admin.
- Before turning downloads on, give the container
--memory=768m, and behind a reverse proxy configureGET /v1/messages/*/media(response buffering off, a whole response of at least 30 minutes, no response-size limit belowWAWARDEN_MEDIA_MAX_BYTES,RangeandIf-Rangepassed through, no caching or compression) and allowPOST /mcpresponses of 16 MiB lasting 55 seconds (see Reverse proxy with TLS). - Run
wawarden admin statusandwawarden admin clientsfrom the same release as the server.admin statusrefuses a status answer withoutdownloadsor the three new counts, andadmin clientsrefuses a client answer without theallow_mediafield, so against an earlier serveradmin clients revokerevokes the client but reports a failure.
1.1.0 - 2026-10-15¶
Built from commit b4d9062 with go1.27.2.
Added¶
- Binaries for macOS 13 Ventura or later:
wawarden_v1.1.0_darwin_arm64for Apple silicon andwawarden_v1.1.0_darwin_amd64for Intel, with their SPDX SBOMs.SHA256SUMSand the provenance bundle cover them, and they are not notarized by Apple. On macOS, WaWarden is supported for the commands run away from the service, such asbackup verifyandaudit verify, and for trying it;serveneedsWAWARDEN_DATA_DIRthere (see macOS). - The licence archive and the image's
/licensesalso hold the licence ofgithub.com/ncruces/go-strftime, which only the macOS binaries link. hack/repro-build.shbuilds the darwin binaries and checks them like the Linux ones. On a Mac,binariesmode runs the darwin binary for its architecture.- Install steps in the README and in
Install: the release binary, checked
against
SHA256SUMSand the release's provenance bundle without a GitHub account,go install, the container image and a build from source. The release notes give the binary's steps and say that nolatestimage tag is published. - The documentation site, built from
docs/, with the getting-started guide, the glossary,CONTRIBUTING.mdand this changelog. - Runbook procedures for rotating the backup recipient and the webhook secret, upgrading a container or a binary under systemd, moving to a new host, and the pairing, admin authentication, re-key and notification incidents.
Security¶
- The release workflow rebuilds on an Apple silicon and an Intel macOS runner,
runs the darwin binary for each, and publishes nothing unless their
SHA256SUMSequals the build job's. The rebuild job compares the darwin SBOMs with the build job's, and the publishing job attests them to each binary. - CI builds and runs the race tests on Apple silicon and Intel macOS, and
reproduces the darwin binaries on both.
govulncheckscans the darwin build as well as the Linux one, in CI and in the daily scan.
Changed¶
- The linked device registers as
WaWarden (<OS>), such asWaWarden (Linux), so Linked devices on the phone lists it under that name instead ofwhatsmeow. The pairing notification still namesChrome (Linux). - The configuration reference is split into configuration, CLI, API, observability and internals.
- The threat model gives each secure-by-construction row its own section, with its mechanism, what it protects, what enforces it, its limits and the release that introduced it.
- Verifying a release checks the binaries without a GitHub account and the image without a registry login, and names the cosign versions that verify the image signature.
Fixed¶
- A
go installof a release, or ago buildof a clean release tag, reports that release instead ofdevwherever WaWarden names its version, such aswawarden version, thewawarden_build_infometric and the MCP servers'serverInfo. A version set at link time still takes precedence, and other builds still reportdev. - The binary checks in the release notes download the release's files before
checking them, and check the binaries against the release's provenance
bundle, so they need no GitHub account. The image's provenance check still
needs
gh auth login. - The systemd unit in the hardening guide sets
WAWARDEN_BACKUP_AGE_RECIPIENT, without which the service takes no backups.
Upgrade notes¶
- A device paired by an earlier release keeps the name
whatsmeowunder Linked devices until it pairs again.
1.0.0 - 2026-10-12¶
Built from commit 5021d13 with go1.27.2.
Added¶
- Sending text over REST (
POST /v1/chats/{ref}/messages) and the MCP toolsend_message, optionally as a reply in the same chat. Only a client with write chats seessend_message. - Idempotency keys for sends, kept for 24 hours per client.
- The pacer, per-client and global send limits, and the first-contact rule,
with
--writeand--allow-first-contactonadmin clients create. admin backfill, which asks the owner's phone for a chat's older history, with a quota.- Nightly encrypted backups at
WAWARDEN_BACKUP_TIME, with catch-up, retries and retention (WAWARDEN_BACKUP_KEEP), andbackup verify. - Audit retention (
WAWARDEN_AUDIT_RETENTION_DAYS) behind a signed audit anchor. - Master key rotation with
keys rotate, and retired keys inkeys/retired/. - The events
backup_pruned,backup_prune_failed,audit_key_changed,send_outcome_unknownandsend_unrecorded. - The compatibility promise, tested against
internal/archtest/testdata/v1-surface.txt. - The hardening guide, the ban-risk notes and the runbook.
Security¶
- Client and admin tokens are redacted from logs, events and command errors.
- The send path is confined: a send decides its write grant first, only the
sender writes
sent_by, andinternal/apicannot importinternal/sender. Sent rows carry the origingateway:<client id>. reply_tois sealed like a message reference, and each send has a fingerprint.- Outbound text is checked before it is sent, and a send to a direct chat that never wrote to the account is refused.
- Retired keys are used by
audit verifyand to open cursors, and a key change reportsaudit_key_changed. - The audit retention verifies the rows it removes before it signs the
anchor, and reports
audit_prune_refusedwhen they do not verify. - An audit row is written even when the client left before its answer.
- Startup refusals for
WAWARDEN_BACKUP_TIME,WAWARDEN_BACKUP_KEEP,keys/retired/,WAWARDEN_AUDIT_RETENTION_DAYS, the send limits andWAWARDEN_UNSAFE_SEND_CAPS. - Fuzzing of idempotency keys, outbound text and the send route.
Upgrade notes¶
- Releases before
v1.0.0recorded a backup only asbackup_taken_at. After an upgrade, that value counts as the newest successful backup for the nightly schedule. - Audit lines written before
v1.0.0carry nokey_id. While the audit anchor is under a retired key, the head of a removed row on such a line counts as missing inaudit verify --log(exit6). The next retention run makes the anchor again under the current key.
0.3.0 - 2026-10-11¶
Built from commit d2d2534 with go1.27.2.
Added¶
- Clients with per-chat read scopes and expiring tokens:
admin clients create,list,showandrevoke, andadmin chats list. - The read API over REST: chats, messages, search and a change feed, in pages with sealed cursors and message references.
- The same reads as MCP tools at
POST /mcp. - Per-client read and search budgets.
- Owner-saved contact names, shown only to a client that may read the contact's direct chat.
- The hash-chained audit chain, its chain heads on standard output, and
audit verify. - The scoped store, its single
INbuilder, uniform resolution and bounded reads, with property tests. - Golden files for the MCP
tools/listanswers. - The guide for agents.
Security¶
- Write chats are a subset of a client's read chats, and a client that reads every chat cannot write.
- Clients are kept in memory, and a revocation takes effect on the client's next request.
- Every read goes through the scoped store's grant-first methods, and read answers are built from dedicated response types only.
golang.org/x/textis confined to one package;pgregory.net/rapidis a test-only module; the cursor and rate-limit packages use the standard library only.- The MCP library is given no logger, and
serverefusesMCPGODEBUGandJSONSCHEMAGODEBUG. - The cursor and audit keys are derived from the master key, and audit lines carry chat HMACs instead of chat identifiers.
- The client create body is capped at 64 KiB, and the MCP endpoint checks a body before the MCP library reads it.
- Fuzzing of the remaining targets, among them the client token parser, the
full-text query builder, the
INbuilder, cursor and message-reference opening, and the read API's query parsing.
0.2.0 - 2026-10-06¶
Built from commit da456bf with go1.27.1.
Added¶
- The WhatsApp engine, through the protocol library
go.mau.fi/whatsmeow. - Pairing by code, guarded by an account check against
WAWARDEN_OWNER_PHONE. - History sync, under a size cap (
WAWARDEN_HISTORY_MAX_BYTES). - The device store and the message archive in SQLite, with verified settings and removal of revoked, edited and expired text from the disk.
admin status,admin pairandadmin reconnect.- Notification events on standard output and a signed webhook
(
WAWARDEN_NOTIFY_URL). - Metrics on standard output in embedded metric format (EMF)
(
WAWARDEN_METRICS_EMF). - One encrypted backup per paired device, to an age recipient
(
WAWARDEN_BACKUP_AGE_RECIPIENT). - The log writer's pseudonyms for WhatsApp identifiers, keyed by the master key.
- The strict chat identifier normaliser and the seal package for grants and chats.
- The fake engine for development builds (
WAWARDEN_DEV_FAKE_ENGINE).
Security¶
- A neutral engine core: only the protocol adapter imports the protocol library. A guard keeps every test off the network.
- Two reviewed module lists, standard-library-only packages, store and engine
import fences, and
os/execconfined to the token command. - One database handle; database files are created with mode
0600. - The master key in
keys/, the keys directory rule, and a log pseudonym key. - One log writer that drops lines carrying XML, the protocol-library log
adapter, and
WAWARDEN_UNSAFE_DEBUG. - One notifier; the webhook checks its destination and signs every delivery with a secret read from a file.
- The events
admin_auth_failureandadmin_mutation. - Pairing refusals, a strict JSON decoder for request bodies and a terminal sanitiser.
- Backups are encrypted to the age recipient only: the service holds nothing that decrypts one.
safegorecovers a panic in the adapter's event handler.- Fuzzing of
Normalize, also against the protocol library's parser, the sanitisers, JSON decoding and crafted protocol messages.
Changed¶
- The licence changed from MIT to
GPL-3.0-or-later, because the protocol library depends on a component licensed under GPL-3.0.v0.1.0stays under MIT (see Licence). - Release images follow the
container contract from this
release on: the distroless
nonrootbase, user65532,/data, the exec-form health check,/licensesand the image labels.
0.1.0 - 2026-10-04¶
Built from commit d0d5514 with go1.27.1. Released under the MIT licence.
Added¶
- Configuration checks and startup refusals, including the refusal of any
unknown
WAWARDEN_variable. - The client, admin and health listeners, on loopback by default.
- The admin token, configured by its SHA-256 only, and
admin init. - Prometheus metrics on the admin listener.
healthcheckandversion.- The policy core: read, write and admin grants from decision functions, and route registration that requires a policy class.
- The container image and verifiable, reproducible releases.
Security¶
- Requests from browsers (
Origin,Sec-Fetch-Site) andOPTIONSrequests are refused. Authentication runs before any body is read. - Fixed error bodies, HTTP timeouts, a 16 KiB header limit, and
Cache-Control: no-storeandnosniffon every answer. - Failed-authentication counters and a budget of 30 failures, refilled at one per second, on the client and admin listeners.
umask 077andGOTRACEBACK=singleare the first statements ofmain.- Startup refusals for a plaintext admin token, the admin hash's form and
sources,
WAWARDEN_DEV_*in release builds,GOTRACEBACK, the listen addresses, running as root, and the data directory's owner and mode. - Import fences, response types with a forbidden-key test,
safego.Go, the listener inventory and constant-time comparison. - Fuzzing of the admin token check.
- Release builds prove the
devbuild tag absent. The container image runs as a non-root user on a distroless base with a read-only root filesystem.