Upstream feature: hardening of OAuth, RSS fetching and skill bundle handling #24
Labels
No labels
upstream-feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
tim/omnimem#24
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Seen in upstream v7.0.3 (2026-10-21, Rust rewrite): https://code.squarecows.com/ric/omnimem/releases
What upstream says: the 7.0.3 notes list "hardens OAuth, RSS fetching, and skill bundle handling" (and storing secrets in the OS keychain, which does not apply to a server container). The notes do not say what was fixed.
Why it may fit: these three areas exist in the Python fork too (
mcp_server/oauth,rss_worker/ingester.py,memory/skill_transfer.py). Upstream hardening usually means an issue was found; the useful first step is a review of the upstream diff for these areas to see whether the same weakness exists here (for example RSS fetching to internal addresses, zip handling in skill import, token handling). Any real finding is a security fix and would go out as one, not as a feature.Rough size: a review task first (read upstream commits for those areas), then fixes sized by what is found.
Upstream version looked at: v7.0.5.
Close this issue if you do not want it. Comment
okto approve it for implementation.Ok.
Review done, shipped as security release v6.9.4 (PR #26, release PR #27).
Fixed (each with a test that fails on the old code):
file:feeds were readable. New guarded fetch; opt-outRSS_ALLOW_PRIVATE_HOSTS.ZipFile.read()inflated the full stream regardless of the declared size (458 MB for a 200 KB bundle). Reads are now capped.javascript:); now validated and bounded.Reviewed, not changed: PKCE and exact redirect matching (done by the MCP SDK), login rate limit (exists), bundle entry names (allowlisted), plain tokens in Valkey (hashing would sign out all clients; Valkey is password protected and oauth keys are not in backups), no rate limit on
/register(noted in the CHANGELOG).