Skip to content

legends-buzz v0.1.1

Choose a tag to compare

@avalonreset avalonreset released this 11 Nov 03:17
· 3 commits to main since this release

legends-buzz v0.1.1

  • XML Entity/DTD Refusal, Bounded ZIP Decompression & Fail-Closed Gate 3 (legends_buzz/api.py): Hardened _safe_parse_xml_bytes with full-buffer UTF-8/UTF-16 <!DOCTYPE/<!ENTITY scanning plus Expat EntityDeclHandler, StartDoctypeDeclHandler, and ExternalEntityRefHandler hooks; replaced zf.read() with chunked _read_bounded_zip_member (10 MB per member, 60 MB cumulative stream ceiling); and made inspect_media_attachment Gate 3 fail-closed when --messages-file is omitted or the event is absent, supporting both list and {"messages": [...]} JSON envelopes.
  • Relay Probe SSRF & DNS-Rebinding Pinning (legends_buzz/api.py): Added urllib.request.ProxyHandler({}) and IP-pinned _PinnedHTTPHandler / _PinnedHTTPSHandler in _http_get and probe_relay, and updated _probe_pairing_websocket to honor use_tls (ws:// vs wss://) and pair_path.
  • BIP-173 Bech32 Checksum & Resource Identifier Validation (legends_buzz/api.py): Implemented full BIP-173 Bech32 length (63 chars), mixed-case refusal, polymod checksum verification, non-zero 5-to-8 bit padding refusal, and HEX64_RE validation in classify_key and normalize_pubkey, plus validate_channel_uuid and validate_event_hex64 across all channel, thread, canary, and media endpoints.
  • Symlink Safety & 100% Documentation Parity (legends_buzz/api.py, legends_buzz/desktop.py, README.md, AGENTS.md, docs/AGENT-RECIPE.md, scripts/check_release.py): Enforced _check_no_symlink_chain on un-resolved paths with Darwin-only /var, /tmp, /etc exemptions, expanded scripts/check_release.py forbidden patterns, and documented all 11 CLI subcommands and all 23 exported Python symbols.