Skip to main content
Menu
Advisories

Coordinated ts-stack trust-boundary vulnerabilities across wallet, authentication, messaging, overlay, and storage packages

GHSA-QP3J-H5XF-P2P7Published Updated GitHub

Description

Findings:

  • TSA-001 — UHRP Lite path traversal. Unconfined object identifiers permitted HMAC-authorized writes outside the CDN root, risking arbitrary file creation or overwrite. The remediation enforces canonical Base58 identifiers, root confinement, symlink and overwrite rejection, bounded bodies, and atomic publication.
  • TSA-002 — Metro HEIF/JXL denial of service. Malformed image containers could make the vulnerable image-size parser loop indefinitely and halt mobile builds. The dependency graph now selects image-size 2.0.4 and includes malformed-input termination tests.
  • TSA-003 — Metro ICNS denial of service. Malformed ICNS entries could make the vulnerable image parser loop without progress. The remediation replaces all affected image-size 1.x paths with version 2.0.4 and verifies parser termination.
  • TSA-006 — Mutable LCH container images. Mutable Node image tags allowed upstream image replacement to change trusted build and runtime inputs. Both container stages now use the verified Node 24.18.0 Bookworm-slim multi-architecture digest.
  • TSA-008 — Vulnerable aggregate dependency inventory. The repository contained seven reported vulnerabilities across npm, Python, Go, and container inputs. The affected dependency paths were upgraded or constrained, and the resulting npm, Python, and Go inventories validate without known vulnerabilities.
  • TSA-010 — Authenticated identity substitution. Historical authentication code allowed an unsigned transport identity to differ from the nonce-authenticated session identity, enabling identity confusion. The SDK and middleware bind message and certificate processing to the authenticated session identity.
  • TSA-011 — Historical wallet and authorization validation failures. Earlier wallet, payment, signature-result, and authorization paths could accept improperly verified security decisions. Coordinated fixes now enforce the intended verification, payment-subject, signature, and authorization boundaries across affected packages.
  • TSA-012 — Remote-storage output substitution. Storage-supplied output scripts could redirect a wallet action’s intended payment. The wallet now verifies returned outputs against the authorized request before accepting or signing the action.
  • TSA-013 — qs array-limit bypass. Crafted bracket-key comma arrays could bypass parser array limits and cause memory exhaustion. All affected runtime and development paths now resolve to qs 6.16.0.
  • TSA-014 — qs.stringify denial of service. Attacker-shaped objects could make qs.stringify invoke a non-callable property and crash request processing. The dependency graph now consistently selects the corrected qs 6.16.0 release.
  • TSA-015 — AuthFetch header spoofing. The unauthenticated-response guard inspected header values instead of names, allowing forged x-bsv-* metadata to appear authenticated. The guard now validates header names and rejects authentication-looking headers on fallback responses.
  • TSA-016 — Authenticated HTTP redirect leakage. Automatic redirects could replay request bodies, authentication signatures, certificates, authorization data, or payment metadata to another destination. Authenticated HTTP calls now reject redirects at every transport boundary.
  • TSA-017 — Partial streamed writes. UHRP and CHIRP writers assumed each filesystem write persisted the entire supplied chunk, allowing truncated content under a hash derived from complete content. Writes now continue until every byte is persisted and reject zero-progress operations.
  • TSA-018 — ECIES authentication timing leakage. Electrum ECIES authentication tags were compared as ordinary strings, exposing mismatch-position timing differences. Fixed-length authentication tags are now compared with a fixed-work byte comparator before decryption.
  • TSA-019 — Wallet Relay token timing leakage. Desktop bearer tokens were compared with direct string equality at HTTP and WebSocket authorization boundaries. The service now compares SHA-256 token digests with constant-time equality.
  • TSA-020 — Weak TOTP default. TOTP generation and validation defaulted to two digits and failed to left-pad short codes, leaving only 100 default candidates per time window. The default is now six zero-padded digits, with explicit digit selection retained for migration.
  • TSA-021 — Message Box negative HMAC verdict acceptance. Token and payment request validation treated any resolved HMAC call as success, including an explicit negative verdict. Every request and cancellation gate now requires the wallet to return literal success.
  • TSA-022 — Wallet Wire verification bypass. The binary processor discarded negative HMAC and signature results and returned successful verification frames. Negative or malformed verdicts now enter the established error path and cannot become successful responses.
  • TSA-023 — Wallet Wire action-state corruption. Abort, internalization, and relinquishment results were discarded, allowing wallet refusal to be reported as success. Abort refusal now has a structured result, and all affected lifecycle operations require affirmative wallet outcomes.
  • TSA-024 — BTMS and funding false success. Token issuance, receipt, cleanup, and wallet funding could report success after a negative wallet result. These paths now require exact affirmative results before broadcast, acknowledgement, accounting, or success reporting.
  • TSA-025 — CHIRP staging exhaustion. Authenticated clients could create unlimited sessions and staged objects, while an entry-limit bug disabled garbage collection entirely. Host, identity, session, object, and free-space limits were added, and garbage collection now limits work rather than disabling cleanup.
  • TSA-026 — CHIRP commit races. Independent sessions could concurrently publish the same content root and overwrite, activate, or delete one another’s state. Commits are now serialized by both upload capability and content-root locks with controlled stale-lock handling.
  • TSA-027 — AuthFetch response exhaustion. Peers could return unbounded bodies or tiny frames declaring enormous header and field lengths, causing memory exhaustion or excessive parsing. Response streaming, framing, counts, lengths, and body sizes are now strictly bounded and completely consumed.
  • TSA-028 — Documentation-search DOM XSS dependency. The documentation dependency range permitted vulnerable MkDocs Material releases. The minimum version is now 9.7.7, preventing selection of the affected search-suggestion implementation.
  • TSA-029 — Go checksum verification vulnerability. The generator used Go and x/mod versions affected by checksum-database verification weaknesses. It now requires Go 1.26.6 and x/mod 0.40.0 with regenerated sums.
  • TSA-030 — Documentation dependency denial of service. The documentation graph allowed vulnerable idna releases susceptible to excessive processing of crafted Unicode labels. The dependency floor is now idna 3.15.
  • TSA-031 — Truncated AES-GCM tags. Wallet-recovery share decryption accepted variable-length GCM nonces and tags, allowing reduced authentication strength after storage tampering. Decryption now requires exact 12-byte nonces and 16-byte tags and explicitly configures 128-bit authentication tags.
  • TSA-032 — Marketplace workflow command injection. A manually supplied version was interpolated into a privileged shell step, permitting runner command injection. Inputs now pass through environment variables and are validated against a bounded Docker-compatible semantic-version grammar.
  • TSA-033 — Reverse-proxy Host-header confusion. Nginx forwarded the request-controlled Host header to internal services, potentially influencing authority checks, URLs, cache keys, or logs. Proxies now forward the configured upstream host.
  • TSA-034 — Kubernetes privilege escalation. Example database containers permitted privilege escalation, allowing a compromised process to execute setuid or setgid binaries with elevated privileges. All affected containers now set allowPrivilegeEscalation to false.
  • TSA-035 — Dependency supply-chain exposure. Package managers lacked adequate release cooldowns and allowed risky transitive source forms. Seven-day cooldowns now apply to npm, pnpm, uv, and Dependabot, while exotic pnpm subdependencies are rejected.
  • TSA-036 — Simple Wallet lifecycle false success. Message, token, payment, and server-wallet operations could be acknowledged after negative wallet results. Exact affirmative results are now required before irreversible acknowledgement or success reporting.
  • TSA-037 — Cloud CHIRP staging exhaustion. Cloud-backed staging lacked host, identity, object, and byte ceilings, and garbage collection stopped after reaching an entry cap. Serialized quota enforcement, bounded pagination, and multi-wave garbage collection now constrain the service.
  • TSA-038 — Cloud CHIRP publication races. Separate sessions could race over one root record, and stale-lock removal lacked generation protection. Upload and root locks are now nested with generation-preconditioned acquisition and cleanup.
  • TSA-039 — Deployment manifest injection and secret disclosure. Environment values entered YAML without escaping, and generated manifests containing private keys and credentials were printed. A strict serializer now quotes values, validates required inputs, writes mode-0600 files, and never logs secret contents.
  • TSA-040 — Truthy security verdicts. Several authentication and financial paths accepted truthy strings or objects as successful wallet verdicts. All affected boundaries now require literal boolean success.
  • TSA-041 — Message Box payment underpayment and replay. Delivery accepted the first payment output without proving it covered the configured fee or had not been reused. The server now parses the exact Atomic BEEF, verifies output amount and protocol, and atomically claims the transaction ID.
  • TSA-042 — Cross-origin partial-action signing. Partial wallet-action references were not bound to the originator that received authorization, allowing another originator with the reference to finalize the transaction. References are now origin-bound, single-use, and blocked after failed authorization or cleanup.
  • TSA-043 — Cross-tenant certificate deletion. Certificate relinquishment omitted the authenticated user identifier, allowing one tenant to delete another tenant’s colliding certificate. The mutation is now scoped to the authenticated user and must affect exactly one row.
  • TSA-044 — Wallet lifecycle and authentication result coercion. Zero-row mutations and malformed authentication results could be converted into success. Shared guards now require exact accepted, mutation-count, abort, and authentication values.
  • TSA-045 — Cross-tenant proof-state access. Remote storage exposed global proof-request rows and allowed tenants to mutate shared proof state with attacker-supplied data. Reads and writes are now ownership-scoped, transaction-bound, and independently verified against the active chain.
  • TSA-046 — Manifest-discovery SSRF and exhaustion. Malformed originators, redirects, and unbounded responses could reach unintended services or exhaust the wallet. Discovery now accepts only constrained origins, rejects IP and authority confusion, disables redirects, and imposes time and body limits.
  • TSA-047 — Recipient-fee bypass. Message Box relied on caller metadata without proving that the payment transaction contained unique, sufficient, recipient-bound outputs. It now derives recipient scripts, validates exact outputs and amounts, verifies the transaction, and claims paid outpoints against replay.
  • TSA-048 — Embedded runtime cross-instance confusion. Multiple embedded Message Box applications shared mutable process-global database and wallet dependencies. Request and WebSocket processing now use asynchronous context isolation so each application accesses only its own dependencies.
  • TSA-049 — Paymail capability SSRF and exhaustion. Capability documents could redirect requests to unsafe destinations and return unbounded or stalled bodies. Paymail now requires safe HTTPS endpoints, validates and pins public DNS answers, rejects redirects, applies full-response deadlines, and bounds bodies and caching.
  • TSA-050 — Paymail payment and identity substitution. Clients accepted invalid amounts and acknowledgements, keys, or handles unrelated to the request. Amounts, scripts, transaction IDs, identities, and handles are now canonicalized and bound to the original request.
  • TSA-051 — Paymail inbound authentication inconsistency. Discovery could advertise sender verification while receive routes accepted unsigned metadata, and malformed handles or transaction data could reach application logic. Sender-validation mode is now consistent, and all inbound identities, amounts, scripts, signatures, and transactions are validated and request-bound.
  • TSA-052 — Paymail SRV parent-domain trust. Delegated domains could treat a parent domain, potentially as broad as a top-level domain, as an equivalent trusted SRV target. Only the exact requested domain or its child targets are now accepted, with strict DNSSEC response validation.
  • TSA-053 — Active-content profile URLs. Paymail profiles accepted javascript:, data:, credential-bearing, fragmented, and cleartext remote avatar URLs. Both client and server now require safe absolute HTTPS avatar URLs, with an explicit loopback-only development exception.
  • TSA-054 — Binary parser ambiguity. SDK readers accepted truncated data, noncanonical lengths, imprecise numeric sizes, and trailing bytes, allowing ambiguous transaction, BEEF, and Wallet Wire interpretations. Reads are now bounds-checked, CompactSize encoding is canonical, and security-sensitive objects require exact framing.
  • TSA-056 — Wallet Wire semantic framing failures. Binary messages accepted invalid booleans, enums, integers, lengths, keys, statuses, and result shapes. Every wire domain is now strictly validated, frames must be completely consumed, and malformed errors or results fail closed.
  • TSA-057 — HTTP Wallet Wire identity and redirect confusion. The transport accepted unsafe endpoints and originators, followed redirects, allowed frames to replace configured caller identity, and treated HTTP errors as protocol data. Origins are now canonical and bound, redirects are prohibited, and responses are bounded and status-validated.
  • TSA-058 — Certificate parsing ambiguity. Duplicate fields, malformed UTF-8, unsafe property names, invalid keys or signatures, and malformed revocation outpoints were accepted. Certificates now enforce unique fields, strict encoding, fixed widths, valid curve points, canonical DER, and canonical outpoints.
  • TSA-059 — Zero-capacity writer hang. Constructing a byte writer with zero capacity caused an infinite growth loop on first write. Zero now normalizes to a usable minimum, while negative, fractional, or unsafe capacities are rejected.
  • TSA-061 — Unvalidated wallet substrate results. JSON, XDM, React Native, CWI, and custom wallet substrates passed unchecked values through typed casts. A centralized validator now enforces safe object graphs, exact verdicts, cryptographic encodings, bounds, enums, and internally consistent results.
  • TSA-062 — Unvalidated wallet requests. Wallet methods and transports relied on compile-time types and truthiness for runtime authorization inputs. All 28 wallet calls now pass through one strict validator at every client, processor, transceiver, and substrate boundary.
  • TSA-063 — HTTP JSON wallet transport weaknesses. Unsafe endpoints, redirects, unbounded responses, permissive decoding, and malformed error envelopes could compromise wallet calls. The transport now requires constrained origins, rejects redirects, bounds and strictly decodes responses, and validates errors and nested action data.
  • TSA-064 — XDM and React Native listener leaks. Response timeouts and posting failures left listeners and timers alive, allowing resource exhaustion and stale-response confusion. One cleanup path now removes all associated state on success, error, timeout, or synchronous failure.
  • TSA-065 — Wallet action evidence substitution. Returned transaction evidence was not bound to reported transaction IDs, no-send change outpoints, or submitted batches. Strict Atomic BEEF parsing now binds every action result to its transaction and authorized outputs.
  • TSA-066 — Certificate-acquisition SSRF. An originator-controlled certifier URL could receive authenticated nonce, encrypted-field, and keyring material. Certifier requests now require public HTTPS with DNS validation and connection pinning, rejecting local, credentialed, or ambiguous destinations.
  • TSA-067 — UHRP client SSRF and resource exhaustion. Provider-supplied upload and download URLs used unrestricted fetches and unbounded response handling. A reusable public-network transport now enforces HTTPS, DNS pinning, redirect rejection, deadlines, safe headers, and response limits.
  • TSA-068 — CHIRP DNS rebinding. Hostname checks occurred separately from unrestricted connections, allowing DNS rebinding to private destinations. Default transport now validates public addresses, pins the approved DNS results, and rejects redirects unless explicit development access is configured.
  • TSA-069 — Transaction value and fee corruption. Invalid fee outputs, unsafe amounts, underfunded transactions, and faulty change distribution could create incorrect transaction economics. All monetary inputs and aggregates are now range-checked, funding insufficiency fails closed, and change allocation conserves exact value.
  • TSA-070 — Unmined transaction verification gaps. Verification did not bind explicit input transaction IDs to supplied source transactions and omitted structural checks for duplicate, coinbase, empty, or invalid-value transactions. Source identities and complete unmined structure are now verified before script execution.
  • TSA-071 — Transaction HTTP transport and acknowledgement substitution. Broadcast, chain, and fee clients followed redirects, accepted unbounded or malformed data, and could accept acknowledgements for another transaction. Requests are now bounded and redirect-free, while all results are strictly validated and correlated.
  • TSA-073 — Overlay lookup and SHIP transport weaknesses. Overlay clients accepted unsafe networking, unbounded responses, malformed indexes and contexts, forged transaction hints, and incomplete all-host acknowledgements. Transport, cardinality, framing, host policy, and actual BEEF transaction binding are now enforced.
  • TSA-074 — Identity-revelation revocation substitution. Revocation trusted the first lookup result, used incorrect indexes, and accepted wallet-substituted transactions. All matching revelations are now cryptographically authenticated, exact outpoints are mapped to actual action inputs, and final transactions and broadcasts are bound and checked.
  • TSA-075 — Overlay query injection and exhaustion. Public lookup services inconsistently accepted arbitrary objects, MongoDB operators, attacker-controlled paths, and unbounded pagination. All 25 services now use allowlisted plain-data schemas, validated selectors, constructed filters, and bounded result sets.
  • TSA-076 — Contact-token authenticity failures. Contact data and metadata were decoded without proving the PushDrop signature, locking key, or bounded schema. Contact tokens are now cryptographically authenticated, strictly decoded, resource-bounded, and bound to exact BEEF outputs and signing actions.
  • TSA-077 — Identity-discovery trust bypass. Overlay identity results were accepted after only certificate-signature checking, omitting token, locking-key, schema, and disclosure verification. The wallet now revalidates the complete revelation token, derived lock, certificate, disclosed fields, trust settings, and current authorization policy.
  • TSA-078 — Excessive certificate disclosure. A wallet could return keyrings for fields the caller did not request, causing accidental publication of sensitive certificate attributes. Reveal lists and returned keyrings must now contain exactly the same validated field set.
  • TSA-080 — Unsafe display identity data. Identity parsing accepted accessors, exotic objects, controls, bidirectional text, oversized values, credentials, and active URL schemes. It now accepts only bounded plain data and safe display resources.
  • TSA-081 — Replayable revoked identity disclosures. A spent disclosure could be republished under another outpoint and remain discoverable. Revocation now derives a stable disclosure identity, records durable tombstones, removes all copies, and rejects later replayed admissions.
  • TSA-082 — Wallet-assisted transaction substitution. Wallet-selected partial and final transactions were trusted without preserving requested inputs, outputs, sequences, scripts, or indexes. Completion now uses an exact two-step bound action that verifies the entire authorized template and final transaction.
  • TSA-083 — Registry-token authenticity gaps. Registry clients and services decoded PushDrop fields without proving canonical form, signatures, locking-key linkage, schema, or exact transaction metadata. A shared canonical validator now authenticates tokens and binds all mutations to exact wallet-owned outputs.
  • TSA-084 — KV record substitution. Global and local KV records lacked complete locking-key, controller, query, outpoint, and acknowledgement binding. KV operations now authenticate canonical tokens, exact queries, local ownership, BEEF evidence, and all required host acknowledgements.
  • TSA-086 — DID token and action substitution. DID lookup, creation, and revocation trusted weak token shapes and wallet-selected transaction positions. Canonical signed DID tokens and exact BEEF outputs are now validated, while bound actions enforce requested inputs, outputs, and final transactions.
  • TSA-087 — UHRP advertisement forgery and unsafe retrieval. Advertisements were used without proving signatures, host-derived locks, hash selection, exact BEEF output, expiry, or safe origins. A canonical six-field validator now authenticates advertisements at admission, lookup, persistence, and download.
  • TSA-088 — UHRP ownership and free-renewal manipulation. Owner routes trusted editable wallet metadata, and malformed size data could collapse renewal pricing to zero. Server-signed metadata now binds ownership, size, expiry, content type, and transaction evidence; unsigned legacy metadata fails closed.
  • TSA-089 — Overbroad cloud upload capabilities. Signed upload URLs ignored purchased size, lasted about a week, allowed replacement, and served active content under the API origin. Capabilities now bind length, type, disposition, metadata, generation, and short expiry, while served content is forced into a sandboxed attachment context.
  • TSA-090 — Overprivileged cloud deployment identity. Deployment guidance used project-Owner access and long-lived JSON service-account keys. The deployment model now uses scoped OIDC and Workload Identity Federation, least-privilege identities, ADC, signBlob, and Secret Manager.
  • TSA-091 — Unauthenticated LCH asset publication. Any network caller could make the configured issuer wallet sign attacker-selected assets. Connected publication now requires a high-entropy bearer capability before loading the wallet or reading the bounded, validated request body.
  • TSA-092 — Teranode trust and message-exhaustion confusion. Public PNET material was described as authentication, while decoded GossipSub messages admitted unbounded and prototype-sensitive data. The transport is now documented as untrusted, and envelopes, payloads, JSON structure, fields, and PNET formatting are strictly bounded.
  • TSA-094 — Ignored DHT disablement. The listener installed a server-mode DHT even when configuration explicitly disabled it, expanding its network attack surface. Exact false now omits the DHT service entirely.
  • TSA-096 — LCH version and critical-extension bypass. Signed objects could omit the supported version or carry unknown critical extensions without rejection. All versioned objects now require version 1, bounded envelopes, and explicit support for every critical identifier.
  • TSA-097 — Overbroad ODRL authorization. The basic permission predicate treated constrained, delegated, identity-scoped, or duty-bearing rules as unconditional grants. It now approves only exact unconditional action-and-target permissions and requires an application evaluator for richer rules.
  • TSA-098 — Incomplete composition provenance. C2PA validation allowed actual ingredients omitted from the declared composition, potentially bypassing source licenses or duties. Declared and observed ingredient sets must now match bidirectionally with unambiguous identities.
  • TSA-099 — Redirect into local trust zones. Public LCH endpoints could redirect into explicitly allowed loopback origins, converting external control into local service access. Every redirect is now revalidated and may enter a local boundary only when the original origin was already local.
  • TSA-100 — Structurally incomplete LCH Offers. Signature and time validation allowed Offers missing essential seller, asset, policy, payment, pricing, key-delivery, and recovery semantics. Offer validation now requires and binds the complete versioned mechanism, identities, policies, digests, payment fields, and limits.
  • TSA-101 — LCH cryptographic work amplification. Segmentation and key selection could allocate excessive state or become quadratic, while malformed keys and bytes reached cryptographic helpers. Limits are now enforced before allocation, selection is efficient, and all identities, wallet bytes, and payloads are validated.
  • TSA-102 — Delegation through truthy fields. A signed string such as "false" could be treated as delegation authorization. Authority records now require exact booleans, valid identities, bounded timestamps and scopes, coherent revocation fields, and validated chain observations.
  • TSA-103 — License agreement substitution. A returned paid License could differ semantically from the accepted Offer because completion lacked the verified policy and full agreement evaluation. Plans now retain the signed Offer and require profile-aware agreement validation before completion or recovery.
  • TSA-104 — Persisted settlement forgery. Stored Receipts and Authorizations were returned without revalidating their signatures or binding them to the current payment. Durable objects are now reverified against exact demands, transactions, parties, outputs, amounts, and validity time.
  • TSA-105 — Prepayment ambiguity. Segment selections, ciphertext representation, and duplicate payment destinations were insufficiently validated before wallet creation. Exact ranges, encrypted lengths, digests, locators, demand identities, destinations, amounts, scripts, and output indexes are now checked before payment.
  • TSA-106 — Unauthenticated license recovery. Recovery by request ID alone returned an unauthenticated signed object. Recovery now requires complete funded acquisition and settlement evidence and performs the same license and agreement validation as normal completion.
  • TSA-107 — Mutable payment-plan substitution. Public payment-plan fields could change between planning, funding, delivery, and completion. Every stage now revalidates the signed request, quote, demands, identities, totals, deadlines, keys, and exact Atomic BEEF.
  • TSA-108 — AES-GCM key and nonce reuse. Duplicate detection covered only one encryption call, allowing a faulty random source to repeat key and nonce material across assets. Bounded per-publisher reuse detectors now reject duplicate encryption and key identifiers across operations.
  • TSA-109 — Protected-asset mutation. Asset metadata, ciphertext, identifiers, or key maps could change after protection but before signing. Publication now recomputes the asset identity and ciphertext digest and requires the exact expected key set immediately before signing.
  • TSA-110 — ODRL parser exhaustion. Small encoded policies could contain extreme nesting or aggregate object counts that exhausted recursive consumers. The parser now enforces cumulative depth, node, and byte ceilings before semantic processing.
  • TSA-111 — Delegation expiry off-by-one. Authority grants remained valid at their exact notAfter instant despite half-open validity semantics. Grants now require a valid interval and expire strictly at notAfter.
  • TSA-112 — Detached range substitution. Content adapters could return a successful body that did not match the requested byte range. CHIRP and HTTPS reads now require exact lengths, proper partial-response framing, and matching Content-Range data.
  • TSA-113 — Unbounded key-delivery state. BRC-78 delivery retained every issued key identifier indefinitely. Key identifiers are now exact-width values and the duplicate detector fails closed at a 100,000-entry ceiling.
  • TSA-114 — Composition identity ambiguity. Composition comparison concatenated attacker-controlled strings with a delimiter and trusted TypeScript-only field shapes. Fields are now strictly validated and compared using unambiguous tuple serialization.
  • TSA-115 — Aggregate CBOR exhaustion. Individual containers were bounded, but deeply composed legal containers could exceed aggregate work and memory limits. Deterministic encoding and decoding now enforce cumulative item and byte ceilings.
  • TSA-116 — Malformed finalized payment artifacts. Wallet action bytes could be coerced into different values and accepted without exact Atomic BEEF framing. Finalized artifacts now require byte-exact bounded Atomic BEEF, exact transaction evidence, and validated scripts and output mapping.
  • TSA-117 — Unsafe Offer payment endpoint. A signed Offer could advertise an arbitrary non-HTTPS payment destination while still passing validation. Safe absolute endpoint syntax is now part of Offer validation, with only an explicit exact loopback exception.
  • TSA-118 — Auth Express certificate authorization bypass. Returning from the certificate callback without calling its continuation could release a protected route, and approval could be associated with the wrong session. Approval is now explicit, fail-closed, and bound to exact local and peer session nonces.
  • TSA-119 — Authenticated file disclosure. The response wrapper ignored Express sendFile confinement and policy options, allowing traversal or symlink escape. Absolute or root-confined paths, dotfile policy, ranges, headers, symlink checks, and bounded streaming are now enforced.
  • TSA-120 — Authentication proof and replay-store coercion. Proof fields were weakly typed and truthy nonce-consumption results could reopen replay acceptance. Identities, nonces, actions, signatures, time fields, bodies, and protocol tuples are now strictly bounded, and nonce claims require literal success.
  • TSA-121 — BRC-121 redirect, cache, and payment confusion. Cross-origin redirects could carry payment metadata elsewhere, while unsafe caching could disclose paid responses across principals. Payments now require validated HTTPS peers, same-origin direct requests, no redirects, safe opt-in cache keys, bounded responses, and strict BEEF parsing.
  • TSA-122 — Replay key poisoning. Legacy payment middleware claimed transaction IDs before validating remittance, allowing invalid requests to block legitimate payments. It now validates and accepts the wallet payment first, then atomically claims the transaction ID.
  • TSA-123 — Pre-authentication request exhaustion. Handshake and request object graphs lacked middleware-owned size, depth, and cardinality limits. The middleware now rejects cycles, accessors, exotic values, excessive depth or nodes, invalid methods, and oversized completed payloads.
  • TSA-124 — BRC-103 replay and premature authentication. Signed nonces were not consumed and responder sessions became authenticated before the requester proved identity. Nonces are now atomically claimed before effects, and responder sessions remain unauthenticated until a valid signed follow-up.
  • TSA-125 — AuthSocket pre-authentication callbacks and broadcasts. Raw sockets triggered authenticated connection callbacks and received broadcasts before proving identity. Activation and broadcast eligibility now begin only after the first verified message binds the socket to an identity.
  • TSA-126 — AuthSocket framing and lifecycle spoofing. Arbitrary object graphs, coercible bytes, unbounded fields, and reserved event names could cause exhaustion or spoof connect/disconnect events. Strict graph, byte, UTF-8, event-name, size, and identity validation now protects both transports.
  • TSA-127 — Cleartext authenticated traffic. AuthSocket allowed non-loopback cleartext connections even though BRC-103 authenticates but does not encrypt payloads. HTTPS or WSS is now required outside loopback, credentials are rejected, and optional server-identity pinning is supported.
  • TSA-128 — Session-store exhaustion. Unsigned initial requests could allocate unlimited persistent sessions. Session capacity and idle expiry are now configurable and validated, with expiry pruning and safe least-recently-used eviction.
  • TSA-129 — Concurrent certificate-gate overwrite. A second pending message replaced the first session resolver, potentially leaving earlier work unresolved. Each session now shares one bounded certificate-validation promise that settles all waiters exactly once.
  • TSA-130 — Authenticated-session shadowing. A newer unsigned or certificate-pending session could shadow an existing usable session and deny service. Identity lookup now prioritizes authenticated, certificate-ready sessions before recency.
  • TSA-131 — Malformed authenticated challenges. Noncanonical HMAC and base64 values could enter challenge creation or verification. Challenges now require exact-width HMACs and canonical base64 before wallet verification.
  • TSA-132 — Targeted handshake identity substitution. A responder could replace the explicitly requested peer identity with its own valid identity. Initial responses must now match any caller-pinned peer before verification or session mutation.
  • TSA-133 — Unanswered handshake leaks. Initial handshakes could wait forever and retain callbacks and sessions. Waiting is now bounded to 30 seconds, and all success, failure, timeout, and send-error paths remove their state.
  • TSA-134 — Initial-request replay. Unsigned initial requests were replayable and repeatedly allocated sessions and certificate work. Each initial nonce is now atomically claimed within an identity-bound scope before any work occurs.
  • TSA-135 — Fragmented server replay state. AuthSocket created a separate default session manager for every raw socket, allowing reconnects to reset replay protection. The server now uses one bounded shared manager unless an explicit shared manager is supplied.
  • TSA-136 — Dropped AuthFetch originator. A positional constructor error placed the originator in the wrong parameter, leaving peer authorization context undefined. Construction now supplies the compatibility placeholder and binds originator in the correct slot.
  • TSA-137 — Amount conversion corruption. Currency conversion accepted non-finite, malformed, overflowing, or loosely parsed values. Inputs, exchange-rate snapshots, conversions, monetary ceilings, and satoshi outputs are now strictly validated.
  • TSA-138 — Exchange-rate refresh leaks. Rejected promises remained cached, background failures escaped, repeated initialization multiplied timers, and invalid intervals were accepted. In-flight state now clears reliably, timers are replaced and disposable, errors are contained, and intervals are bounded.
  • TSA-139 — Air-gap decoder allocation amplification. Sessions allocated full solved-block arrays immediately, and each fountain part allocated an entire shuffle pool. State now grows with actual progress and deterministic sparse swaps replace full-pool allocation.
  • TSA-140 — BTMS permission and signing bypass. Truthy prompt results authorized operations, while weak script-prefix checks accepted noncanonical issuance proofs. Approval now requires literal true, and issuance signing requires exact bytes, canonical lengths, exact suffixes, no trailing data, and bound digests.
  • TSA-141 — BTMS approval arithmetic overflow. Individually valid token amounts could overflow aggregate safe-integer arithmetic and display a false transfer or burn summary. All approval totals now use checked non-negative safe-integer accumulation.
  • TSA-142 — Unbounded permission state. BTMS grants, ECPM grants, and concurrent ECPM prompts could grow indefinitely. Cached authorization state is now capped with expiry and eviction, while pending prompts have a strict concurrency ceiling.
  • TSA-143 — VeriFast consensus-value coercion. Typed-array conversions silently changed invalid heights, flags, indexes, and booleans before WASM verification. Network, height, flag, boolean, and input-index values are now validated before ABI calls.
  • TSA-144 — VeriFast cryptographic ABI ambiguity. Direct cryptographic methods accepted malformed key, scalar, digest, signature, and backend-result values. Exact widths, canonical bytes, curve outputs, and literal verdicts are now enforced.
  • TSA-145 — Wallet-helper transaction substitution. Wallet-returned templates and final transactions were accepted without proving requested inputs, outputs, scripts, or signer positions. Builders now use exact bound-action completion and abort mismatched partial actions.
  • TSA-146 — Ambiguous signing prevouts. Explicit and embedded transaction IDs, scripts, amounts, sequences, and indexes could conflict or be coerced. Signing now requires canonical, range-checked, mutually consistent prevout data and preserves valid zero sequences.
  • TSA-147 — Peer-scoped key ownership error. P2PKH derivation omitted the local ownership flag, allowing the counterparty to change which side owned the key. Peer-scoped derivation now always selects the local key perspective and validates resulting key material.
  • TSA-148 — Wallet-helper financial input weaknesses. Builders accepted non-finite, fractional, negative, excessive, or inconsistent financial and consensus values. Shared validation now enforces safe amounts, indexes, sequences, booleans, scripts, and change calculations.
  • TSA-149 — Script-classification spoofing. Ordinal and OP_RETURN detection searched raw bytes or text, allowing marker bytes inside pushed data to spoof classification. Classification now parses exact script structure and safely decodes complete MAP key/value sequences.
  • TSA-150 — Script-construction input abuse. Sparse bytes, malformed base64, unsafe content types, hostile metadata, invalid prices, malformed addresses, and unbounded batches reached script builders. Each input class now has canonical encoding, range, graph, and batch limits.
  • TSA-151 — Shared signature-context ambiguity. SDK signature templates accepted conflicting or mutable source data and invalid signing scopes. A common source resolver now binds embedded and explicit prevout data, validates all consensus fields, and prevents captured-state mutation.
  • TSA-152 — Inconsistent template signing context. Template packages reconstructed signing preimages with divergent validation. P2MSKH, MultiPushDrop, Mandala, and R1K1 now share the same exact source resolution, scope validation, and bound-preimage construction.
  • TSA-153 — Template signature oracle. MultiPushDrop and P2MSKH could sign scripts after inspecting only leading key pushes, without validating the executable body. Entire canonical locking and unlocking structures, key commitments, membership, uniqueness, and metadata are now verified before signing.
  • TSA-154 — Wrong BEEF transaction signing. A legacy wallet helper signed the first transaction containing an outpoint rather than the Atomic BEEF target. It now parses only the exact target, requires one matching outpoint, signs its actual input, and verifies finalized bytes and transaction ID.
  • TSA-155 — Provider graph exhaustion. Recursive transaction-source construction followed redirects and accepted unbounded provider bodies and graphs. Networking and recursion now have deadlines, byte limits, canonical framing, and strict depth, count, and graph ceilings.
  • TSA-156 — UMP renewal transaction substitution. Renewal used assumed input and output positions and weakly authenticated predecessor tokens. It now verifies the exact predecessor outpoint, canonical token, signatures, hashes, locally derived lock, actual action input, replacement output, and final transaction ID.
  • TSA-157 — Faucet-funding substitution. Faucet funding trusted independent transaction IDs, scalars, positional inputs, and completion results. It now binds the exact Atomic BEEF target, validates the R-puzzle commitment and scalar, and constrains the funded output to the authorized value.
  • TSA-158 — Forged permission tokens. Permission discovery trusted basket membership, editable tags, weak decoding, and unsigned legacy plaintext. Tokens now require canonical BEEF evidence, a one-satoshi output, signed PushDrop fields, and the locally derived permission lock.
  • TSA-159 — Permission action substitution. Token workflows assumed positional inputs, while public partial actions accepted arbitrary final transactions. Exact authorized templates are now retained and final version, locktime, inputs, outputs, scripts, transaction ID, and signer indexes are bound.
  • TSA-160 — Incorrect storage-commission authorization. Spending authorization recomputed funded value in a way that could diverge from the signer’s actual wallet-funded amount. The exact amount is now carried through internal metadata and checked against an independent calculation.
  • TSA-161 — Unauthenticated local project generation. The local scaffolding UI accepted unauthenticated cross-origin posts and unbounded bodies. Requests now require exact loopback authority and origin plus a per-process token, strict JSON, small bodies, and hardened browser headers.
  • TSA-162 — Wallet Relay result substitution. Arbitrary relay JSON was accepted as wallet results, permitting false verification, malformed keys, or substituted transactions. Every result now passes SDK request-aware validation and is bound to its request ID, session, sequence, method, and parameters.
  • TSA-163 — Weak pairing transport validation. Pairing identifiers, sessions, protocol fields, relay URLs, signatures, options, and responses were weakly validated. They are now canonical, bounded, secure-scheme restricted, redirect-free, strictly decoded, and uniquely bound to the expected protocol.
  • TSA-164 — Out-of-order relay requests. Concurrent encryption could send higher sequence numbers first and cause legitimate earlier requests to be discarded. Per-session request construction and sending are now serialized, with sequence allocation and waiter installation inside the serialized turn.
  • TSA-165 — Stale mobile socket revival. Slow asynchronous work could revive disconnected sockets or accept responses out of replay order. Connection epochs and exact-socket ownership now invalidate stale work, while ordered decryption and sequence processing preserve legitimate concurrency.
  • TSA-166 — Active-content installation artifacts. Relay-provided QR, image, and installation data could reach browser sinks without adequate scheme, type, signature, or size validation. Only bounded HTTPS installation URLs and verified PNG data are now accepted.
  • TSA-167 — False wallet-authentication UI. The connection modal treated the authentication result object as truthy, so an explicit negative result appeared authenticated. It now requires authenticated to be literal true and preserves negative state.
  • TSA-168 — Session-expiry authorization gaps. Reconnects renewed session life, revocation did not close both sockets, and replaced sockets retained forwarding authority. Sessions now have absolute lifetimes, revoke all role sockets and buffered work, and revalidate exact socket ownership for every message.
  • TSA-169 — Bearer-token caching and URL leakage. Session responses lacked no-store headers, and browser WebSockets placed bearer tokens in URLs. Sensitive responses now prohibit caching, and new clients use WebSocket subprotocol authentication without echoing the token in the query string.
  • TSA-170 — Scaffold filesystem escape. Absolute or traversing output paths and symlinked ancestors could redirect generated files outside the selected project. Targets and every ancestor are now canonicalized, confined, and rejected if symlinked or structurally unsafe.
  • TSA-173 — Wallet Relay resource exhaustion. Public sessions, topics, active requests, JSON bodies, remote artifacts, and logs lacked coherent limits. Capacity, rate, body, artifact, concurrency, retention, and snapshot limits now apply throughout the service.
  • TSA-174 — Unvalidated relay wallet arguments. Known wallet methods crossed relay boundaries as generic JSON. SDK request-aware argument validation now runs at client, server, and mobile dispatcher boundaries, while custom methods retain bounded safe-object handling.
  • TSA-175 — Callback and failure escape. Application validators and lifecycle callbacks could throw through WebSocket processing or leave partial state. Exceptions are now contained and translated into rejection or controlled closure, with deterministic cleanup and safe retry preservation.
  • TSA-176 — Overlay peer transport SSRF and substitution. GASP and BASM used ordinary redirect-following fetch and weak response validation. Peer traffic now requires safe HTTPS with DNS pinning, exact origins, no redirects, deadlines, bounded bodies, strict schemas, and request correlation.
  • TSA-177 — GASP graph and paging exhaustion. Malformed identifiers, unlimited pages and graphs, quadratic comparisons, excessive concurrency, and non-advancing pages could consume resources. Canonical validation, hard budgets, set comparisons, bounded concurrency, and progress checks now constrain synchronization.
  • TSA-178 — Cross-topic data disclosure. Graph hydration could retrieve transactions admitted only to another topic. Exact topic identity now propagates through every raw-transaction, output, ancestry, and storage lookup, and disclosure requires an applied matching topical transaction.
  • TSA-179 — Temporary graph corruption. Graph nodes shared a global keyspace and admitted duplicate, cross-graph, cyclic, or conflicting relationships. Nodes are now graph-namespaced, transaction-bound, cycle-checked, budgeted, and traversed iteratively.
  • TSA-180 — Premature synchronization watermark. GASP advanced interaction state and marked outpoints shared before graph validation completed. Watermarks and sharing state now advance only after all queued graphs finalize successfully.
  • TSA-181 — Semaphore over-admission. Overlay validation and finalization semaphores woke waiters without transferring the released slot, allowing concurrency to exceed configured limits. Slot ownership now transfers atomically to the selected waiter.
  • TSA-182 — Malicious TopicManager instructions. Manager-supplied indexes and dependency records could spend unrelated outputs, admit nonexistent outputs, or trigger oversized work. Instructions are now centrally validated for shape, uniqueness, ranges, membership, hashes, and cardinality before mutation.
  • TSA-185 — Concurrent double-spend admission. Separate read and write operations allowed concurrent submissions to admit conflicting spends or duplicate rows. Submission is now serialized, topical spending is atomic, uniqueness is database-enforced, and migrations expose pre-existing conflicts.
  • TSA-186 — BASM proof-position substitution. A peer could supply a valid-looking proof whose height or leaf index differed from the advertised admission position. Proofs must now match exact transaction ID, height, and block index before historical submission.
  • TSA-187 — Unauthenticated ARC callbacks. Public callback routes could inject orphan, double-spend, or proof updates and mutate overlay state. The route is disabled without a configured secret and requires constant-time bearer or callback-token authentication.
  • TSA-188 — Forged Merkle-proof ingestion. Proof paths were stored without proving the claimed transaction, height, or active-chain root. Every proof is now transaction-bound, height-bound, and affirmatively verified by the configured chain tracker before mutation.
  • TSA-189 — Unsafe chain-provider clients. Arcade and Chaintracks accepted unsafe endpoints, redirects, unbounded responses, and request-mismatched chain data. Providers now use constrained HTTPS, DNS pinning, deadlines, byte limits, and exact transaction, height, header, proof, and status correlation.
  • TSA-190 — Reorg-stream desynchronization. Oversized, duplicate, or malformed SSE events could be skipped while later events continued, corrupting reorganization state. Events are now bounded and strictly parsed, and any failure aborts processing and forces catch-up before reconnection.
  • TSA-191 — Unsafe advertisement janitor. Health checks used unrestricted networking, treated storage errors as successful scans, and deleted advertisements before bans were durable. Checks are now network-restricted and bounded, errors fail the scan, and bans persist before deletion.
  • TSA-192 — Broadcast acknowledgement substitution. Provider chains could accept a success response for a different transaction. Results are now schema-validated and successful acknowledgements must match the exact submitted transaction ID.
  • TSA-193 — Unsafe ban and eviction inputs. Administrative mutations accepted ambiguous outpoints, unsafe property names, and deleted tokens before ban persistence. Inputs are now canonical and bounded, service names must be owned properties, and bans become durable before eviction.
  • TSA-194 — Stored XSS in Overlay administration. Blockchain and database values entered innerHTML and inline handlers, enabling stored script execution and bearer-token theft. Inline handlers were removed, Markdown is sanitized, configuration is safely escaped, and nonce-based CSP is emitted.
  • TSA-195 — Monitor credential leakage and exhaustion. Overlay monitoring sent credentials through unsafe fetches and accepted unbounded, malformed results. Destinations now require safe HTTPS and DNS pinning, redirects are rejected, responses and output analysis are bounded, and schemas are strict.
  • TSA-196 — Administrative response caching. Sensitive administrative JSON responses did not explicitly prohibit browser or proxy caching. All administrative success and failure paths now emit no-store cache controls before authorization decisions.
  • TSA-197 — Regex injection and unsafe eviction. Search text was passed directly to MongoDB regular expressions, and a legacy eviction route accepted malformed outpoints and inherited service names. Searches are now length-limited and escaped, while eviction inputs are canonical and allowlisted.
  • TSA-198 — Prototype-sensitive registries and unsafe advertised URLs. Registries accepted inherited or reserved names, and hosting URLs could be credentialed, private, or insecure. Registries now use validated null-prototype maps, while advertised endpoints require normalized public HTTPS origins.
  • TSA-199 — Unbound transaction eviction. Eviction trusted caller fields and storage rows without exact transaction, topic, and output correlation. The complete candidate set is now canonicalized, capped, and verified before mutation.
  • TSA-200 — Unbounded unproven-transaction maintenance. Invalid timer settings and oversized or unrelated candidate sets could cause excessive work or mutate unrelated state. Configuration, storage queries, candidates, outputs, and proof results are now bounded and exactly correlated.
  • TSA-201 — Reorganization state corruption. Weakly correlated and unbounded reorg data could demote unrelated admissions or rebuild incorrect topic state. Orphan sets, heights, transactions, anchors, fallback work, and storage cardinality are now strictly validated before mutation.
  • TSA-202 — Incorrect historical pruning. Recursive pruning traversed retained nodes and used a partial-match predicate that could delete the wrong consumer relationship. Traversal is now bounded and iterative, and only exact transaction/output pairs are removed.
  • TSA-203 — Unbound proof propagation. Proof updates recursively mutated descendants before proving every row belonged to the transaction lineage. The complete bounded graph is now validated first, and only lineages containing the proven transaction receive updates.
  • TSA-204 — BASM range and anchor ambiguity. BASM accepted duplicate admission positions, unordered ranges, surplus transactions, and weak local anchor records. Inputs and results now require exact topic, height, hash, root, count, transaction, and ordering correspondence.
  • TSA-205 — Lookup-history disclosure and exhaustion. Malformed formulas, contexts, BEEF, outpoints, and cyclic ancestry could disclose unrelated transactions or exhaust resources. Every formula, selector, row, edge, transaction, depth, node, relation, and byte count is now validated and capped.
  • TSA-206 — Health endpoint information disclosure. Public health responses exposed internal database details and accepted unsafe checks, timeouts, and context generation. Details are now hidden by default, opt-in data is bounded, all work shares a deadline, and responses are non-cacheable.
  • TSA-207 — Storage-result authority failure. Overlay submission and GASP logic trusted storage verdicts and rows without exact topic, outpoint, score, or ancestry binding. Every result is now schema-validated, request-bound, deduplicated, and subject to graph and byte budgets.
  • TSA-208 — Advertisement reconciliation substitution. Unbounded lookup results could suppress required advertisements, choose unrelated revocations, or exhaust reconciliation. Advertisement sets and BEEF are now capped and each record is cryptographically and transactionally rebound before wallet mutation.
  • TSA-209 — Weak administrative configuration. Short or header-unsafe credentials and truthy non-booleans could weaken private-host and provider protections. Credentials, identities, booleans, endpoints, custom headers, and advanced configuration are now strictly validated.
  • TSA-210 — Unbounded default header provider. The default BASM provider used deadline-free, unbounded JSON fetches at a chain-integrity boundary. Requests now have a 30-second deadline, redirect rejection, a 64 KiB limit, strict JSON, and exact hash and root validation.
  • TSA-211 — Unsafe public component metadata. Application components could return accessors, malformed links, or arbitrarily large metadata and documentation. Registries, data properties, URLs, and Markdown are now validated and capped before public exposure.
  • TSA-212 — Mandala monetary overflow and truthy sanctions verdicts. Unsafe token amounts and incomplete asset comparisons could violate conservation, while truthy screening responses passed. Amounts now use checked safe-integer arithmetic across the union of assets, and screening requires literal true.
  • TSA-213 — Insecure default Mandala deployment. The bundled server enabled regulated tokens with an empty sanctions list and reused one secret for distinct trust roles. Mandala is now disabled by default and requires separate valid roots plus an explicit screening snapshot.
  • TSA-214 — Ambiguous environment booleans. Unknown environment strings silently became false and could disable security controls. Startup now accepts only explicit true/false forms and rejects every ambiguous value.
  • TSA-215 — Missing administrative sanctions screening. Mandala screened users but omitted the configured administrative wallet during issuance and admin actions. The canonical admin identity is now included in the same exact-boolean sanctions check.
  • TSA-216 — Case-sensitive policy bypass. Administrative identities and outpoints were compared case-sensitively, allowing equivalent hexadecimal representations to evade policy state. All identities and outpoints are now canonicalized for case-insensitive comparison, including legacy records.
  • TSA-217 — Balance inflation and stale balance state. Idempotent admissions repeatedly incremented balances and evictions failed to decrement them. Atomic insert-if-absent and take-once operations now update balances exactly once and reject conflicting metadata.
  • TSA-218 — BTMS amount precision loss. Scientific notation and values above JavaScript’s safe range entered token accounting and unchecked aggregates. Wire amounts now require canonical positive decimal integers within the safe range, and all aggregates use checked arithmetic.
  • TSA-219 — Standalone BTMS query injection. Public query objects and pagination values were passed toward MongoDB through TypeScript casts. Lookup now accepts only an allowlisted, accessor-free schema with canonical identities, exact booleans, bounded strings, and bounded pagination.
  • TSA-221 — Advertisement forgery. Wallet advertisement results were used without verifying signatures, identity-derived locks, ownership, value, or exact transaction evidence. Canonical advertisements now require all cryptographic, identity, protocol, one-satoshi, BEEF, outpoint, and uniqueness checks.
  • TSA-222 — SHIP/SLAP query exhaustion and coercion. Public lookup queries accepted unknown fields, truthy booleans, malformed identities, duplicates, and unbounded pagination. Each service now has an exact plain-data schema and bounded canonical selectors.
  • TSA-223 — Unauthenticated GASP peer selection. The Engine selected synchronization peers after only structural advertisement decoding. It now independently verifies the advertisement signature, derived lock, identity, topic, one-satoshi output, BEEF, and endpoint before selecting a peer.
  • TSA-224 — Discovery parser and callback weaknesses. Discovery accepted oversized or noncanonical tokens, mutated decoded data during verification, and weakly revalidated callbacks and URIs. Parsing is now complete and bounded, verification is mutation-free, and every callback, outpoint, BEEF, and URI is independently checked.
  • TSA-225 — Chaintracks HTTP/SSE exhaustion. Timeouts ended at response headers, bodies and SSE buffers were unbounded, redirects were followed, and chain data was permissively cast. Full-response deadlines, strict size limits, idle timeouts, canonical headers, proof-of-work checks, and request correlation now apply.
  • TSA-226 — Unbounded header queues. Caller and SSE headers entered mutable, duplicate-preserving, unlimited queues. Headers are now authenticated and copied before queuing, duplicates are removed, and both queues default to a 4,096-entry ceiling.
  • TSA-227 — Legacy Chaintracks client weaknesses. The compatibility client followed redirects, lacked full deadlines and limits, logged remote errors, and accepted weak chain data. It now retains the legacy API while enforcing bounded redirect-free transport and canonical network, height, header, and proof validation.
  • TSA-228 — WhatsOnChain manifest SSRF. Service-discovered URLs could target private services and return malformed chain data. Manifest URLs are now public HTTPS locators connected through DNS-pinned transport, and all chain information and headers are copied, validated, and request-bound.
  • TSA-229 — Unverified chain-work selection. Candidate branches were ranked using caller-supplied difficulty bits before header identity and proof of work were verified. Every header is now canonicalized and authenticated before filtering, sorting, or chain-work calculation.
  • TSA-230 — Chaintracks JSON-RPC exhaustion and disclosure. Untrusted query coercion enabled extreme waits and ranges, with no rate limits and overly detailed diagnostics. Queries, ranges, waits, submissions, routes, logging, and response details are now canonical, bounded, rate-limited, and sanitized.
  • TSA-231 — Unsafe bulk manifests and files. Network, database, and filesystem manifest values were trusted through casts, enabling path and resource abuse. Manifests are now normalized under strict count, range, filename, digest, and chain limits, with safe confined file access.
  • TSA-232 — Shared mutable chain state and storage races. In-memory adapters leaked state across instances, exposed mutable records, and storage updates could race over tips. Instances now isolate and copy state, while first-header and tip mutations are serialized transactionally.
  • TSA-233 — MySQL chain-data truncation. MySQL columns were too small or of the wrong type for hexadecimal hashes, chain work, and bulk header data. The schema now uses 64-character text for identifiers and LONGBLOB for bulk bytes.
  • TSA-234 — Broken and unsafe filesystem primitives. File writes always failed after truncation, partial progress was unchecked, readers overallocated, locks were unbounded, and export inputs were weakly validated. Full-progress bounded I/O, safe construction limits, lock ceilings, and exact export validation now apply.
  • TSA-235 — Invalid Merkle root cached as valid. A negative remote root verdict was cached by height and later accepted. Compatibility cache state is now non-authoritative, and every verdict resolves and validates the current canonical header.
  • TSA-236 — Chaintracks configuration coercion. Unsupported networks, unsafe depths, non-booleans, excessive ingestors, and invalid loggers reached runtime state. Construction now validates all security and resource settings before retaining them.
  • TSA-237 — Cross-process download-budget races. Separate processes could reserve against the same old ledger and overwrite one another’s accounting. Durable ledger updates now use atomic cross-process locks, checked arithmetic, fsync, rename, and fail-closed abandoned-lock handling.
  • TSA-238 — Header framing ambiguity. Low-level helpers treated zero counts as unlimited, accepted invalid windows, ignored partial framing, and serialized unchecked fields. Uniform header and byte ceilings, exact framing, unsigned values, computed identities, and canonical paths now apply.
  • TSA-239 — Mutable bulk-validation requests. Worker requests were copied only after queueing, letting callers alter bytes and expected identities before validation. Requests are now normalized and copied synchronously, with strict object, worker, queue, and deadline limits.
  • TSA-240 — Startup and shutdown promise failures. Startup discarded initialization promises and could report success while failing asynchronously. Startup is now awaited and retry-safe, failure drains resources, and shutdown is deterministic and idempotent.
  • TSA-241 — Provider and type-guard trust failures. Unsafe heights, mutable bulk arrays, accessors, and partial header guards could drive synchronization. Options and results are now accessor-free, copied, bounded, network-validated, and cryptographically authenticated.
  • TSA-242 — Filesystem cache races. Independent processes could replace, quarantine, promote, or delete the same cache object concurrently. Every per-digest mutation now uses a shared atomic ownership lock and fails closed on abandoned locks.
  • TSA-243 — Suppressed migration failures. Destructive rollback caught and logged failures but continued as though cleanup succeeded. Rollback now stops only at the explicit terminal state and propagates all null results and failures.
  • TSA-244 — Non-atomic bulk durable state. Multi-file additions and replacements mutated memory before durable writes and changed records independently. A complete-set atomic replacement contract now uses storage transactions and serialization locks while preserving omitted data.
  • TSA-245 — Malformed remote header metadata. Service clients accepted partial metadata and zero-valued durable identities. Network, options, subscriptions, metadata, header proofs, and deactivation lists are now strictly validated and copied.
  • TSA-246 — Monitor reorg and invalidation exhaustion. Reorg events and retry queues accepted mutable, duplicate, unbounded data and could launch unlimited invalidations. Networks, headers, descending linkage, queue size, invalidation concurrency, and callbacks are now bound and authenticated.
  • TSA-247 — Arcade SSE ordering and cursor weaknesses. Mutable credentials, unbounded events, remote-object mutation, and concurrent callback execution could corrupt processing order. Configuration is snapshotted, fields and cursors are bounded, events are copied, and callback delivery is serialized.
  • TSA-248 — Incomplete monitor initialization. Ordinary and one-shot runs omitted required subscriptions, and standalone setup stopped after the first task. Every run now awaits retryable subscription readiness, initializes every task, and shuts down in a deterministic order.
  • TSA-249 — Unverified wallet Merkle proofs. Any non-null provider path could become persisted proof state without binding the transaction leaf, root, height, header, or active chain. Proofs and headers are now copied, bounded, cryptographically checked, and independently anchored before success.
  • TSA-250 — Malformed transaction-status authority. Provider status objects were merged without exact IDs, lifecycle invariants, bounded diagnostics, or trusted attribution. Results now require one request-bound record per transaction with coherent depth, terminal, conflict, and competitor state.
  • TSA-251 — Monitor pagination skipping. Offset-based mutation scans skipped rows as processed items left the query, and completion used the wrong count. Pagination now advances only by retained rows and determines completion from the original source page.
  • TSA-252 — Raw-transaction aliasing and substitution. Provider-owned transaction bytes were hashed and returned without envelope, size, ownership, or transaction-ID validation. Results now require exact request-bound envelopes, canonical bounded bytes, owned copies, and local provider attribution.
  • TSA-253 — UTXO-oracle result substitution. UTXO verdicts and details lacked a shared safe envelope, outpoint correlation, bounds, and ownership. Scripts, outpoints, verdicts, evidence, numbers, cardinality, and provider attribution are now strictly validated and copied.
  • TSA-254 — Script-history poisoning. History providers could return unbounded, duplicate, conflicting, malformed, or accessor-backed transaction observations. Histories are now capped, canonicalized, deduplicated, conflict-checked, and attributed only to configured providers.
  • TSA-255 — Broadcast result substitution. Mutable BEEF was passed to providers, and malformed aggregate or per-transaction results could claim unrelated success or double spends. Requests are now snapshotted and parsed, capped, transaction-bound, isolated per provider, and strictly normalized.
  • TSA-256 — Inconsistent atomic-broadcast limits. Wallet, wire, storage, manifest, and retry paths did not share one invariant for transaction batches. A 1,000-transaction maximum, unique canonical IDs, exact slot accounting, and early wire and storage validation now apply everywhere.
  • TSA-257 — Non-atomic user provisioning. User creation and its mandatory default basket could commit independently or use different transaction contexts. Both records now share one transaction, and races restart the complete creation transaction.
  • TSA-258 — Secret and diagnostic logging. Environment generation printed private keys, and library paths logged raw errors, BEEF, permissions, rollback state, and orphan records. Secrets are returned only to callers, and implicit sensitive logging was removed.
  • TSA-259 — Transaction-token escape. Soft-delete revival helpers omitted the caller’s transaction token on updates, allowing mutations outside the intended transaction. Every revival update and entity insertion now propagates the exact token.
  • TSA-260 — IndexedDB transaction held across network I/O. Abort processing opened a write transaction before awaiting an external status service. Chain checks now happen first, followed by a transactional reread that confirms the action identity is unchanged.
  • TSA-261 — Partial sendWith broadcast after lookup failure. Batch preflight treated transaction failures independently, allowing a subset to proceed. Every lookup or assembly failure now becomes an explicit batch error, and all nonbroadcast members must be ready before any request is sent.
  • TSA-262 — Tenant-triggered schema migration. Any authenticated remote-storage tenant could invoke a global migration method and contend on DDL and process state. Remote migration is now a compatibility no-op reserved for operators outside tenant RPC.
  • TSA-263 — Proof-request authorization amplification. A bounded page was authorized only after loading every proof request associated with the wallet. Ownership filtering and pagination now occur inside the database query or cursor scan.
  • TSA-264 — Extreme offset work amplification. Safe-integer but enormous offsets could force expensive SQL or IndexedDB scans for tiny pages. Resource-profile-specific offset ceilings now apply to all list and synchronization pagination.
  • TSA-265 — Remote-storage internal-error disclosure. Generic provider exceptions and internal wallet messages were serialized to clients. Only explicit public wallet errors retain messages; all internal failures return a stable generic error while details remain in trusted operator logging.
  • TSA-266 — Wallet Wire processor validation gap. Directly supplied binary frames reached wallet implementations without the semantic validation used by clients. Every decoded request now undergoes shared argument validation after exact frame consumption and before dispatch.
  • TSA-267 — Wallet Wire exception disclosure. Wallet implementation exception messages were returned directly over the protocol. Only assigned public wallet errors retain bounded messages; all other failures become a generic operation failure.
  • TSA-268 — HTTP wallet request-secret disclosure. Generic failures included complete original wallet arguments and remote error text. Nonpublic failures now disclose only the public method name and numeric HTTP status.
  • TSA-269 — Compatibility normalization accessor execution. HTTP wallet compatibility code normalized untrusted response objects before checking prototypes and accessors. Raw results are now validated before and after normalization, and outgoing JSON has a fixed size ceiling.
  • TSA-270 — XDM and React Native pending-call exhaustion. Wallet bridges allowed unlimited pending calls and timers, while React Native messages lacked transport size limits. Both bridges now cap pending calls and timer duration, and React Native enforces the shared byte ceiling.
  • TSA-271 — Remote internal-error reconstruction. Browser bridges reconstructed attacker-supplied descriptions for generic internal wallet failures. Only public error codes retain bounded descriptions; generic failures use stable local text.
  • TSA-272 — Prototype and array-property bypass. Result validation accepted objects with attacker-controlled prototype chains and arrays containing extra properties. Objects and arrays must now use their exact allowed prototypes and shapes.
  • TSA-273 — Forged action-review errors. Structured review errors were accepted for unrelated methods and contained unbound transaction evidence. They are now limited to action methods and validated against the actual request, returned action, and submitted transaction batch.
  • TSA-274 — Listed-output evidence substitution. Returned outputs were not proven to exist in the accompanying transaction evidence. Every outpoint must now resolve to an included full transaction with matching index, amount, script, and uniqueness.
  • TSA-276 — Validation allocation amplification. Argument and result validation boxed large typed byte arrays and materialized large collections before applying item limits. Typed bytes remain unboxed, and every collection has an early explicit ceiling.
  • TSA-277 — Standalone signature-result bypass. Direct Wallet Wire use accepted arbitrary signature bytes despite stricter validation elsewhere. Processor and transceiver now require canonical DER signatures under the maximum encoded length.
  • TSA-278 — Generic action transaction substitution. Transaction evidence could match its reported ID while changing authorized inputs, outputs, sequences, scripts, version, or lock time. Shared validation now binds the entire requested transaction template and output multiplicity.
  • TSA-281 — Mutable request/result TOCTOU. Asynchronous wallet implementations could mutate the request object later used to authorize their result. Minimal authorization fields are now copied before substrate selection or invocation.
  • TSA-283 — Identity lookup query substitution. Valid certificates for unrelated subjects or attributes could satisfy discovery. Results are now retained only when the subject matches the requested identity or every requested public attribute matches.
  • TSA-284 — Certificate acquisition substitution. Certificate results were bound only to type and certifier, allowing changes to other requested fields. Complete acquisition and proof selectors are now snapshotted and matched against serial, revocation outpoint, signature, fields, type, and certifier.
  • TSA-286 — Incomplete Wallet Wire result authorization. Most processor responses bypassed request-aware semantic validation. Every context-dependent response now uses one helper that snapshots request authority, validates the result, and only then serializes success.
  • TSA-287 — Duplicate binary-record ambiguity. Repeated record keys and input indexes silently overwrote earlier values during decoding. Duplicates are now rejected immediately in both wire directions.
  • TSA-288 — Action-history evidence omission. Results did not have to honor requested labels or inclusion flags. The query and flags are now snapshotted, required evidence must be present, and returned labels must satisfy the requested matching mode.
  • TSA-289 — Listed-output metadata omission. Results were not bound to requested tags, labels, or inclusion flags. Requested metadata is now snapshotted and must appear and satisfy the original query.
  • TSA-291 — Symbolic key-linkage corruption. self and anyone literals were returned where a compressed public key was required. ProtoWallet now resolves them to their canonical public keys before producing the result.
  • TSA-293 — Mutable ProtoWallet cryptographic requests. Protocol tuples, bytes, and key-derivation authority remained caller-mutable across asynchronous cryptographic work. Inputs and authority are now validated and captured before the first asynchronous boundary.
  • TSA-294 — Key-derivation cache aliasing. Accelerated derivation reread mutable protocol and root-key state after awaiting backend work, and caches exposed internal cryptographic objects. Derivation inputs are now owned before awaiting, and cached keys, points, and secrets use copy-in/copy-out isolation.
  • TSA-295 — Truthy cryptographic verifier results. Optional native, WASM, and custom verification backends could return truthy non-booleans. All single and batch verifier results now require exact booleans and exact result counts.
  • TSA-296 — Mutable verification graph. Transaction and script verification passed public mutable graphs across asynchronous trust boundaries. The entire transaction, source, proof, script, and policy graph is now snapshotted before verification begins.
  • TSA-297 — P2PKH key mismatch after asynchronous signing. Signing used copied private bytes but later derived the public key from the original mutable object. The compressed public key is now captured before the signing await.
  • TSA-298 — Mutable fee, signing, and broadcast state. Asynchronous adapters received the same public transaction graph and could influence later stages. Fee models, signers, and broadcasters now receive independent owned snapshots appropriate to their role.
  • TSA-299 — Mutable Merkle proof and tracker authority. Merkle verification reread proof height and tracker methods after awaiting current height. The proof height, leaf index, and tracker methods are now captured before awaiting, and root verdicts require literal true.
  • TSA-300 — Merkle offset truncation. Signed 32-bit bitwise operations could truncate large offsets and bypass correct proof position or coinbase-maturity behavior. Proof depth and every level’s decreasing unsigned offset range are now validated before traversal.
  • TSA-301 — Custom broadcaster acknowledgement substitution. Custom broadcasters could return unvalidated success for a different transaction. The exact transaction ID is now computed before dispatch, and every returned result is strictly normalized and correlated.
  • TSA-302 — Mutable fee-rate TOCTOU. Fee calculation reread a public rate after asynchronous script-size estimation. The rate is now captured and validated once at calculation entry.
  • TSA-303 — Merkle proof aliasing. Construction, combination, and extraction shared leaf objects and arrays between proofs. Every proof level and leaf is now copied at ingress and when transferred between proofs.
  • TSA-304 — Serialization cache poisoning. Public serializers returned their internal memoized byte buffers, allowing callers to mutate future serialization results. Ordinary serializers now return owned copies; zero-copy behavior remains only in explicitly named view APIs.
  • TSA-305 — Bulk-header cache exposure. Exported descriptors referenced the manager’s internal validated header bytes. Every descriptor, persistence payload, and mutation result now receives an independent byte copy.
  • TSA-306 — Truthy chain-tracker verdicts. Proof, reorganization, synchronization, and overlay paths accepted non-boolean truthy tracker responses as chain authority. Every proof-consuming boundary now requires literal true, and malformed results are adapter errors.
  • TSA-307 — Authoritative mutable root cache. Callers could write an arbitrary Merkle root into a public cache and have it authenticate a proof. The cache is now diagnostic only, and every verdict resolves the current source header.
  • TSA-308 — Shared Paymail cache mutation. Capability callers received the same object retained by the shared cache. Capability data is now snapshotted on ingress and independently copied for every caller.
  • TSA-309 — Shared contact mutation. Concurrent contact queries returned distinct arrays containing the same nested contact objects. Cached and in-flight results are now revalidated and deep-copied for each caller.
  • TSA-310 — Truthy LCH signature authorization. Custom signature verifiers and delegated Header authorization callbacks could return truthy non-booleans. Both paths now accept only literal true.
  • TSA-311 — Truthy authentication sessions. Express middleware treated any truthy hasSession result as authenticated. Session decisions now require literal boolean true and otherwise follow the fail-closed certificate path.
  • TSA-312 — Unvalidated WAB client responses. Wallet Authentication Backend responses were exposed through interface casts without runtime validation. Every response now enforces exact booleans, bounded messages, canonical identifiers and outpoints, coherent account state, and bounded share and faucet data.
  • TSA-313 — Shamir resource exhaustion and ambiguity. Fractional, infinite, or excessive thresholds and share counts could cause invalid allocation or an endless loop. Parameters are now safe integers limited to the field’s 255-share capacity, and serialized inputs are bounded and canonical.
  • TSA-315 — Identity-registry exhaustion. The registry accepted unbounded tags, queries, persisted rows, bodies, and result sets. Canonical keys and timestamps, bounded strings, unique rows, shared JSON limits, and finite per-identity and global ceilings now apply.
  • TSA-316 — Exchange-rate SSRF and malformed financial data. Providers followed redirects, lacked deadlines and body limits, accepted unsafe URLs and malformed rates, and interpolated API keys unsafely. They now use bounded DNS-pinned HTTPS, encoded credentials, strict schemas, and exact success verdicts.
  • TSA-317 — Unverified Simple credentials. Credential verification accepted any nonempty signature field without verifying the embedded BSV certificate. Certificates, fields, keyrings, identities, signatures, and revocation outpoints are now canonicalized and cryptographically verified.
  • TSA-318 — Unauthenticated credential issuance and revocation. The issuer signed arbitrary caller-selected subjects and spent revocation outputs without an authorization policy. Every mutation now defaults closed unless an exact policy callback approves normalized, schema-conforming fields and identities.
  • TSA-320 — DID resolver and chain substitution. Remote DID resolution followed unsafe transport and accepted documents or address-history transactions unrelated to the requested DID. Requests and documents are now bounded and canonical, with exact DID, key, service, transaction, and output-zero chain continuity.
  • TSA-322 — Unauthenticated generated server wallet. Generated routes exposed initialization, identity, balances, outputs, payments, and destructive resets to unauthenticated callers. Every action now requires an explicit asynchronous authorization callback before wallet initialization or request-body processing.
  • TSA-323 — Unsafe JSON persistence. Wallet and issuer state followed symlinks, read unbounded files, treated corruption as absence, wrote non-atomically, and ignored deletion failures. State now uses bounded non-following owner-only files and atomic fsynced replacement with fail-closed errors.
  • TSA-324 — Wrong custom-input signing index. Token and DID operations always signed input zero regardless of the requested outpoint. They now use exact-outpoint bound actions, locate the actual input, and verify the entire final transaction and unlocking script.
  • TSA-325 — Message Box token sender spoofing. Message bodies could override the authenticated sender and return unbounded malformed token records. Retrieval is now paginated and capped, and every sender, transaction, protocol, key, output, timestamp, and message ID is validated and envelope-bound.
  • TSA-326 — Identity-registry SSRF. Configured or per-call registry URLs reached global fetch without network restrictions. Registry operations now use URL validation and public-HTTPS DNS-pinned transport, with only explicit trusted local overrides.
  • TSA-327 — Incoming-payment object substitution. PeerPay accepted unbounded body-controlled payments and allowed arbitrary caller objects to drive internalization, acknowledgement, or refund. Records are now bounded, canonical, envelope-bound, copied, and matched to fresh stored requests before mutation.
  • TSA-328 — Incoming-token action and acknowledgement confusion. PeerToken accepted unvalidated token bodies, treated unknown adapter actions as acceptance, and acknowledged before durable mutation was secure. Records and actions are now strictly validated, mutation is request-bound, and acknowledgement follows successful custody handling.
  • TSA-329 — Unauthenticated live token requests. Live token requests reached application callbacks without HMAC verification or authenticated-sender continuity. Request, response, cancellation, identity, amount, protocol, asset, expiry, proof, and message fields are now canonical and cryptographically bound.
  • TSA-330 — Unauthenticated live payment requests. Payment requests were exposed without HMAC verification or body/envelope identity agreement. Identity, amount, expiry, IDs, pages, and proofs are now bounded and require literal wallet verification success.
  • TSA-331 — Payment-response sender substitution. Response lists were unbounded casts and discarded the authenticated sender and message identifier. Responses now retain and validate canonical envelope identity, message ID, request ID, status, notes, and paid amount.
  • TSA-334 — Weakened one-off overlay policy. Per-call topic overrides created broadcasters without the overlay’s configured acknowledgement policy. Persistent and one-off broadcasts now use the same validated and copied network, topic, tracker, host, and acknowledgement configuration.
  • TSA-335 — Underreported basket balances. Balance calculation summed only the wallet’s first output page while reporting the full output count. It now paginates under strict limits, validates every page, requires stable totals and progress, rejects duplicates, and uses checked sums.
  • TSA-336 — Ignored PushDrop recipient. Simple send ignored the requested recipient and derived a self-owned lock. Recipients, amounts, fields, counts, and descriptions are now validated, and locking and metadata use the requested counterparty.
  • TSA-337 — Direct-payment input and result substitution. Invalid amounts and mutable identities, derivations, memos, keys, and action results crossed asynchronous wallet work. Inputs are now copied and bounded, and returned evidence is bound to the authorized request.
  • TSA-338 — Inscription retry duplication. Unsupported JSON values could trigger a wallet send before local code threw, encouraging retries that duplicated irreversible inscriptions. Serialization and exact UTF-8 size validation now finish before any wallet call.
  • TSA-339 — Token recipient and value corruption. Token creation ignored the recipient, and transfers replaced source token value with one satoshi. Recipients and token data are now snapshotted and canonical, while source value, locking, encryption, inventory, and wallet evidence are preserved and validated.
  • TSA-341 — Forged SHIP/SLAP advertisements. Routing trusted structural token decoding without verifying signatures or identity-derived locks. Canonical advertisement decoding now verifies exact protocol fields, DER signatures, claimed identity, and BRC-48 locking keys.
  • TSA-342 — Mutable overlay routing policy. Topic, acknowledgement, host, tracker, byte, and result arrays remained caller-mutable, and sparse arrays bypassed checks. Configuration and results are now canonicalized, copied, dense, bounded, and protected by frozen defaults.
  • TSA-344 — Incorrect transaction lineage. Historian traversed every output in complete ancestry and reversed a preorder traversal, potentially attributing unrelated history. Traversal is now bounded and parent-first, with an exact selected-output mode that follows only authenticated spent sources.
  • TSA-345 — Poisoned host-reputation state. Persisted host metrics could substitute hosts, inject unbounded errors, or provide unsafe counters and timestamps. Persistence is now treated as untrusted bounded data and every record is identity-bound and range-checked.
  • TSA-346 — Unsafe double-spend retry. Retry logic trusted mutable error names, unbounded competing evidence, only synchronized one competitor, and ignored failed overlay broadcasts. It now requires genuine bounded review errors, validates every competitor, synchronizes all evidence, and enforces broadcast outcomes.
  • TSA-348 — Telemetry secret leakage. Sanitization omitted many credential and cryptographic fields, and unbounded lengths could defeat work limits. Filters now cover credentials, authorization, cookies, sessions, signatures, key material, and URI userinfo, with bounded safe-object traversal and output.
  • TSA-349 — Telemetry affecting application behavior. Clocks, attribute processing, enrichment, sinks, hooks, and malformed enablement could throw or mutate execution. Telemetry inputs and contexts are now immutable and canonical, and every optional telemetry operation is contained and non-authoritative.
  • TSA-350 — TOTP resource exhaustion. Infinite or extreme skew, invalid periods and timestamps, and malformed secrets could cause unbounded HMAC work or invalid counters. Options and secrets are now copied and constrained to supported algorithms and strict numeric limits.
  • TSA-351 — BRC-77/BRC-78 byte coercion. Message helpers accepted sparse, coercible, malformed, or unbounded bytes that lower layers could reinterpret. Plaintext, envelopes, keys, and identifiers are now copied, canonical, and limited to protocol-specific sizes.
  • TSA-352 — Remittance thread takeover and replay. Thread selection trusted attacker-supplied identifiers without binding authenticated sender, recipient, routing, message kind, or financial parties. Envelopes are now bounded and every existing thread is bound to its authenticated counterparty and protocol state.
  • TSA-353 — BRC-29 payment substitution. Wallet results, key providers, scripts, output indexes, and settlement evidence were not fully tied to the intended payment. The module now snapshots requests, validates derived keys and scripts, and binds exact Atomic BEEF outputs and transaction IDs.
  • TSA-354 — Untrusted remittance persistence. Constructor and persisted state were mutable aliases, and stored authorization flags were trusted as facts. Hydration now validates and copies bounded graphs, parties, roles, identifiers, messages, logs, and financial state before use.
  • TSA-356 — Reversed identity acknowledgement. One flag conflated accepting the peer’s identity with the peer acknowledging the local identity. Security policy now uses direction-specific state proving that the local verifier accepted the authenticated counterparty.
  • TSA-357 — Adapter diagnostic disclosure. Settlement exceptions were interpolated into termination messages sent to peers. Detailed failures now remain in trusted local logs, peers receive stable safe text, and adapter actions require exact validated discriminators.
  • TSA-358 — HD and mnemonic key-state weaknesses. BIP-32 and mnemonic helpers accepted malformed, excessive, aliased, or invalid key and derivation state. Seeds, entropy, words, paths, indexes, depths, scalars, points, metadata, and extended-key framing are now canonical and bounded.
  • TSA-359 — Legacy BSM and ECIES input weaknesses. Sparse or unbounded bytes, malformed keys, arbitrary modes, and weak envelope framing entered legacy cryptography. Inputs are now copied and bounded, keys reconstructed and validated, modes exact, verdicts literal, and envelope framing authenticated.
  • TSA-360 — UTXO descriptor allocation abuse. An unchecked output index could allocate a huge sparse transaction array, while descriptor fields could invoke accessors or carry invalid values. Descriptors now require plain own data, canonical txids and scripts, safe amounts, and bounded indexes.
  • TSA-363 — BRC-103 mutable session and destination state. Peer processing retained mutable objects across awaits and allowed inbound traffic to replace implicit destination state. Messages and policies are now snapshotted, canonical, bounded, accessor-free, and unable to overwrite caller-selected destination authority.
  • TSA-364 — Certificate mutation and signing TOCTOU. Certificate fields and keyrings were aliases, parsing was ambiguous, and signing did not prove the preimage remained unchanged. Records are now owned and bounded, framing and cryptographic values canonical, and results bound to an immutable signing snapshot.
  • TSA-365 — AuthFetch payment and diagnostic leakage. Payment amounts were parsed permissively, transaction bytes remained mutable, diagnostics exposed sensitive request data, and authenticated HTTP framing was ambiguous. Amounts and bytes are now canonical and copied, diagnostics are redacted, and framing is bounded and exact.
  • TSA-366 — Authenticated-session eviction. Unsigned handshakes at capacity could evict established authenticated sessions. Capacity eviction now targets only unauthenticated sessions, rejects new allocation when all sessions are authenticated, and bounds retained certificates.
  • TSA-369 — BRC-121 replay dependence on wallet extensions. Replay safety relied on a nonstandard isMerge property absent from the public wallet contract. The middleware now performs its own atomic transaction-ID claim after exact wallet acceptance.
  • TSA-370 — Payment diagnostics and description abuse. Attacker-controlled URL paths entered wallet descriptions and logs, causing length failures and information leakage, while receipts could report the wrong amount. Fixed descriptions, opt-in structured logging, and exact selected-output amounts now apply.
  • TSA-371 — Overinclusive legacy payment evidence. Legacy middleware passed unrelated BEEF branches to the wallet and receipt despite pricing only the declared subject. Accepted evidence is now reduced to the exact subject and dependencies, wallet verdicts are strict own-data values, and replay claims remain independent.
  • TSA-372 — Mutable authentication proof TOCTOU. Authentication repeatedly read the caller-owned proof before and after asynchronous wallet work. The proof, signature, action, identity, nonce, and expiry are now copied and validated once before verification.
  • TSA-373 — URL-encoded semantic collision. Distinct nested objects could stringify to the same [object Object] value and authenticate as identical bytes. URL-encoded bodies now accept only exact strings or flat own-data string maps, with canonical serialization.
  • TSA-374 — Unsigned Express response paths. Direct response APIs could write status, headers, or body bytes outside the BRC-104 signed payload. Every standard writing path is now buffered and bounded, native state is snapshotted, and all signed headers are validated.
  • TSA-376 — Concurrent AuthSocket activation race. A verified identity was stored before the application connection callback completed, allowing concurrent messages to proceed without successful activation. Each socket now has one activation promise that every initial message must await successfully.
  • TSA-377 — Outbound JSON hook and array-property bypass. Validation ignored extra array properties and serialized the original object after inspection. Supported JSON is now iteratively copied into hook-free containers, and typed arrays become owned dense arrays before serialization.
  • TSA-378 — Paymail DoH owner-name substitution. Discovery selected SRV-shaped answers without requiring the DNS owner to match the exact query. Only exact normalized owner names and type-33 answers are accepted, and constructed targets are revalidated before transport.
  • TSA-379 — Paymail request-evidence TOCTOU. Routes passed mutable request objects to application handlers and reread them afterward to validate results. All response-authorizing amounts, encodings, handles, keys, and route parameters are now snapshotted before handler execution.
  • TSA-380 — Paymail semantic coercion. Destination counts, boolean capabilities, public keys, and compact signatures were accepted with permissive conversions. Counts must match exactly, conversions are disabled, keys are curve-validated, and signature text must round-trip canonically.
  • TSA-381 — Paymail local-media access and IPv6 classification. Profile URLs could target local HTTPS services, and reserved IPv6 ranges were misclassified as public. Local or literal avatar hosts and special-purpose IPv6 prefixes are now rejected.
  • TSA-382 — Capability-cache schema confusion. Capability documents were accepted as arbitrary objects although consumers assumed primitive values. Discovery now requires the exact protocol version, bounded safe capability names, and string or boolean primitive values copied into a null-prototype cache.
  • TSA-383 — Truthy Paymail security configuration. JavaScript callers could pass strings such as "false" and accidentally enable private-network access or sender-validation modes. Every security option is now snapshotted and requires its exact runtime type.
  • TSA-384 — Insecure Paymail examples. Examples disabled sender verification, broadcast before proving recipient payment, trusted JWT-selected algorithms, and recorded replays repeatedly. They now require sender verification, pin HS512 with a strong secret, validate referenced outputs before broadcast, and record outpoints idempotently.
  • TSA-387 — Mutable Paymail route authority. Router discovery used mutable origin, path, sender-policy, and route objects. Configuration is now validated, snapshotted, frozen, and represented through null-prototype capability maps with duplicate-name rejection.
  • TSA-388 — Incorrect Teranode subtree integrity. The subtree used a placeholder hash of one node, lost uint64 precision, and trusted serialized roots and counts. It now implements canonical Bitcoin Merkle construction, exact big integers, strict aggregate limits, and full root, count, conflict, and framing validation.
  • TSA-389 — Mutable Teranode configuration. Accessors and later caller mutation could change network, decoding, callbacks, or runtime toggles. Configuration and callbacks are now copied once, strictly typed, canonical, bounded, and frozen.
  • TSA-390 — CHIRP asynchronous aliasing. CHIRP retained mutable options, ranges, callbacks, bytes, cache methods, and sinks across awaits. All authority is now captured before asynchronous work, accessors and ambiguous types are rejected, and byte and adapter boundaries use owned copies.
  • TSA-391 — Non-cooperative asynchronous hangs. Timeouts depended on downstream adapters honoring cancellation, and cancellation itself could block. Every network, body, cache, and policy operation now races an owned deadline, and late bodies are canceled without awaiting hostile cleanup.
  • TSA-392 — Unsafe resume checkpoint files. Upload capabilities were read through symlinks without size limits and rewritten by truncating the target path. Checkpoints now use bounded non-following reads and atomic, fsynced, mode-0600 replacement files.
  • TSA-393 — CHIRP URI and primitive ambiguity. Arbitrary path material and malformed numeric, hash, tree, or extension fields could influence authenticated URLs and codecs. Canonical identifiers, strict shapes, resource ceilings, and equivalent encoder/decoder invariants now apply.
  • TSA-394 — Insufficient publication commitments. Storage peers could return already-expired or too-short commitments and still satisfy resilience requirements. Commit responses now require exact fields, sufficient future retention, canonical same-host locations, bounded sessions, and controlled transport customization.
  • TSA-395 — Self-selected DID issuer keys. SD-JWT verification trusted the credential’s own JOSE key, allowing attackers to self-sign credentials naming another issuer. Issuer keys now come from the signed DID or explicit local trust policy, never from untrusted JOSE key headers.
  • TSA-396 — Incomplete SD-JWT disclosure validation. Recursive disclosures, duplicate digests, disconnected values, collisions, reserved names, and array placeholders were not handled fail-closed. The full bounded disclosure graph is now recursively processed with strict uniqueness, placement, claim, and digest rules.
  • TSA-397 — Unverified holder presentations. Holders could present unverified credentials, use a private key unrelated to cnf.jwk, and select nested claims ambiguously. Issuer credentials are now verified first, holder keys must match, and claims use unique full paths with required-claim enforcement.
  • TSA-398 — Permissive DID cryptographic primitives. Key, JWK, JWT, JSON, base64, and multibase helpers accepted malformed or ambiguous encodings and object graphs. They now enforce canonical codecs, exact compact framing, duplicate-key rejection, graph limits, and valid curve key material.
  • TSA-399 — Unbounded DID state and SVG injection. Credential storage, JSON, QR payloads, geometry, and encoder state lacked consistent limits, while arbitrary colors entered SVG attributes. All state is now capped, and SVG colors are restricted to safe paint values.
  • TSA-400 — Wallet examples executing on import. Importing examples could generate and print private keys or immediately create, sign, redeem, and internalize transactions. All live behavior now requires direct execution, errors produce nonzero status, and private-key output requires an explicit protected destination.
  • TSA-401 — Externally signed wallet-action substitution. Higher-level clients signed wallet-selected partial transactions without a shared complete authorization boundary. The new bound-action primitive snapshots the request, locates exact outpoints, binds version, locktime, sequences, scripts, and outputs, and verifies the final transaction.
  • TSA-402 — Wallet example index and evidence substitution. Examples assumed input or output zero, selected BEEF transactions by position, and trusted final transactions and token metadata. They now parse exact Atomic BEEF, locate requested outpoints and outputs, sign actual indexes, compare complete final bytes, and abort mismatches.
  • TSA-403 — Mutable example requests and unbounded batches. PushDrop and no-send helpers retained caller-owned data across wallet awaits and accepted sparse or ambiguous results. Inputs and state are now snapshotted, bytes and collections are capped, caller data is preserved, and results are transaction-bound.
  • TSA-405 — Example lifecycle and operator-safety failures. Examples leaked wallets, used a mainnet default contrary to documentation, returned before cleanup, double-counted outpoints, and used unsafe backup behavior. Wallets now close reliably, cleanup is awaited, maintained examples default to testnet, accounting is canonical, and backups are confined and atomic.
  • TSA-406 — Overlay compatibility response aliasing. Injected fetch compatibility measured a different representation than it returned and exposed the provider-owned object. Responses are now encoded with the portable wire serializer, size-checked on exact bytes, and reparsed into an owned graph.
  • TSA-407 — Security drift in copied CHIRP runtimes. Deployable services compiled checked-in CHIRP copies that could diverge from the corrected package. Every runtime copy was synchronized with canonical sources, and repository health checks now reject future drift.
  • TSA-408 — Overlay propagation constructor escape. Strict broadcaster construction occurred outside the contained propagation failure boundary, so a local application topic could undo accepted local state. Construction and invocation now share the isolated failure boundary.
  • TSA-409 — Faucet payout retry loss. A user was marked paid before a response was safely returned, so a lost response permanently hid the only puzzle secret. A unique durable reservation now moves through creating and ready states under serialized user locking and supports safe retry recovery.
  • TSA-410 — Permissive share-encryption key parsing. AES key configuration accepted a valid hexadecimal prefix plus malformed or extra suffixes. Startup and every encryption path now require exactly 64 hexadecimal characters representing one 256-bit key.
  • TSA-411 — UHRP pricing-oracle exhaustion and coercion. Pricing fetches lacked deadlines, redirect rejection, and response limits, while local price configuration used prefix parsing. Oracle requests are now bounded and redirect-free, rates have plausible limits, and configured prices require canonical positive decimals.
  • TSA-412 — Direct Overlay constructor configuration bypass. Exported low-level constructors accepted truthy non-booleans, accessors, and unsafe endpoint or header configuration despite high-level validation. Every direct constructor now snapshots plain data and applies the same strict boolean, credential, header, and endpoint policy.
  • TSA-413 — Mutable ARC provider credentials. Wallet ARC providers retained mutable configuration and enumerated inherited custom headers on every request. Configuration and headers are now copied and frozen once, with exact header names, bounded values, and no inherited authority.
  • TSA-414 — Weak Twilio verification configuration. Twilio was advertised without complete credentials, accepted arbitrary OTP text, confused verification instances with service identities, and exposed provider diagnostics. Startup now validates canonical account and service identifiers, disables incomplete configuration, accepts only bounded digit codes, and sanitizes errors.
  • TSA-415 — ARC result and configuration substitution. The SDK broadcaster retained mutable settings and accepted unknown provider statuses as success. Configuration is now immutable and validated, while only documented statuses are recognized and every result is bound to submitted transaction multiplicity.
  • TSA-416 — Chain-client accessor and diagnostic authority. Trackers and broadcasters trusted mutable configuration, accessor-backed provider fields, partial chain shapes, and detailed remote errors. Inputs and results are now snapshotted, canonical, bounded, request-bound, and diagnostically sanitized.
  • TSA-417 — Generated authentication-client transport weaknesses. Generated wallet-connect and login clients followed redirects with proofs, lacked complete deadlines and size limits, and accepted unchecked server identity. They now use fixed-origin, credential-omitting, redirect-free transport with strict paths, JSON, bounds, and identity validation.
  • TSA-418 — Paymail example UTXO substitution. The example trusted unbounded provider JSON, partial chain data, raw exceptions, and every matching script rather than the claimed output. It now uses bounded SDK transport and trackers and requires canonical outpoints, transaction IDs, indexes, values, scripts, and chain data.
  • TSA-419 — Unauthenticated remote wallet storage. Wallet storage accepted AuthFetch’s ordinary HTTP fallback, lacked stable server and storage identity binding, and trusted ambiguous JSON-RPC, settings, logs, and diagnostics. Every response now requires BRC-103 authentication, pinned identity continuity, exact JSON-RPC correlation, strict schemas, and sanitized errors.
  • TSA-420 — Message Box server and route substitution. Message Box accepted unauthenticated HTTP fallback and trusted overlay-provided hosts without independently verifying advertisements. It now requires secure authenticated transport, per-origin identity continuity, optional independent pins, and cryptographically authenticated, bounded advertisement candidates.
  • TSA-421 — Message Box send and payment substitution. Caller-owned send data remained mutable across asynchronous work, quotes were weakly correlated, and wallet transactions were not proven to contain requested payments. Authority is now snapshotted, quotes and recipients are exact, totals are checked, and Atomic BEEF outputs are script-and-amount bound.
  • TSA-422 — Permission, fee, and identity persistence ambiguity. Failed permission writes could report success, malformed fees entered arithmetic, and equivalent identity encodings used different storage keys. Writes now require affirmative durability, fees are range-checked, and all identities are canonicalized before lookup or storage.
  • TSA-423 — Paid-send runtime denial of service. Paid delivery called an SDK method absent from the declared installed runtime, so valid paid sends failed while free sends worked. Parsing now uses the installed runtime’s strict Atomic BEEF API and rejects ordinary BEEF and trailing data.
  • TSA-424 — Message Box diagnostic data leakage. Server and client logs exposed SQL, stacks, credentials, tokens, identities, message state, transactions, payments, and provider bodies. Diagnostics now use fixed events and narrowly allowlisted aggregates, with client logging disabled by default and no arbitrary console export.
  • TSA-425 — Multi-recipient delivery-fee underpayment. Quotes charged a delivery fee per recipient, but payment creation and verification required only one fee for the batch. Client and server now independently calculate and enforce the checked per-recipient aggregate.
  • TSA-426 — Duplicate canonical recipients. A recipient could appear more than once using compressed and uncompressed encodings, producing ambiguous payment and message attribution. Recipient keys are now canonicalized and required to be unique before any lookup, fee calculation, or allocation.
  • TSA-427 — WebSocket connection and fan-out exhaustion. Message Box allowed unlimited sockets, rooms, identity connections, fan-out, and rejected-event work. Process, identity, room, fan-out, concurrency, rate, and join/leave limits now apply before authentication and validation.
  • TSA-428 — Live-send authorization divergence. Live sending used mutable inputs and weaker validation than HTTP, and fallback could drop the caller’s payment ceiling. One immutable send snapshot now governs live and fallback paths, including recipient, body, identifiers, encryption, permissions, and maximum payment.
  • TSA-429 — Inconsistent routing identifiers. HTTP and WebSocket paths disagreed about whitespace and controls in message boxes, IDs, rooms, device identifiers, and tokens. Shared canonical UTF-8 rules, exact byte ceilings, acknowledgement limits, deduplication, and strict response schemas now apply.
  • TSA-430 — Push-notification metadata disclosure. Visible notification text included a stable caller-selected message identifier that could appear on lock screens and in notification history. Visible text is now generic, while routing data remains only in the application data payload.
  • TSA-431 — SQL injection at synchronization boundaries. Runtime user and storage identity values were interpolated into synchronization subqueries and migration SQL. All affected values are now passed as SQL bindings, preventing them from altering query structure.

Affected versions

References

GitHub · bsv-blockchain/ts-stack