RagLeap
ragleap-core · release notes

ragleap-core v0.13.5

ragleap-core v0.13.5

Three more hardening fixes that came out of the outside review of our approval and connector code. Upgrading switches nothing new on.

Fixes

  • Old approvals expire (#1455). A pending action that waited longer than APPROVAL_EXPIRY_HOURS (default 168, which is 7 days) is not run by a late approval. The person is told it expired, and it is logged. Rejecting an old one still works. 0 turns the limit off. Pending actions that are already older than 7 days are refused after this update.
  • Discord requests with an old timestamp are refused (#1456). A validly signed request is accepted only within DISCORD_MAX_SKEW_SECONDS (default 300) of the server time, so a captured request cannot be replayed later. 0 turns it off. The server clock must be right (use time sync).
  • Connector credentials fail closed (#1462). Without ADDON_ENCRYPTION_KEY, a connection string, API key or credential-looking header is refused instead of being stored in plain text. With a key, credential headers are stored encrypted. The Mongo connector now puts the user identifier into the filter as a plain value instead of splicing it into JSON text. (S1-001, S1-006)

Upgrade notes

  • No schema change. No setting you must set. File writing, deleting and sub-agents stay off.
  • Rows stored earlier are not changed; older plain header rows still read.
  • Not tested yet: a real Discord server, a real MongoDB, and the dashboard text for an expired approval.

Thanks

Thanks to Aleksei Musienko, Chief Scientist & Founder of AMQIC (MSEC), QIAIMP Scientist, Q-Architect & Q-Developer (assessment powered by CERNOTIS), for the outside assessment and the public security notes that gave us ideas, and to everyone who tested and reported. Contributors are credited by name in the pull requests.

View on GitHub Package page All releases
← v0.13.4

Release notes mirrored from GitHub Releases.