Skip to content

0.26.2: payment fixes from security reports

Latest

Choose a tag to compare

@kurokawasato kurokawasato released this 29 Nov 11:24
Immutable release. Only release title and notes can be modified.
62fc391

Paid calls hold your spending limits more tightly, and a call you cancel pays nothing.

0.26.2: payment fixes from security reports

  • A sitting's price stays counted against the budget and the daily limit until BrainChain shows the payment was never charged. A refusal after the desk acknowledged the sitting no longer gives the amount back, and a request to wait (425 or 429) is waited out as asked before the same payment is sent again, which the desk never charges twice.
  • An authorization is signed only for a whole number of seconds from 1 to 600.
  • A call your MCP client cancels before its payment is signed, or before a bond's approval and bond are sent, signs and sends nothing. A payment already signed is followed to its end.
  • Signed payment requests never follow a redirect.

1029 tests, tsc exits 0.