Repository navigation
OpenLearnX v3.0.1 — Security-hardening release
This release removes insecure authentication fallbacks and fixes several account-takeover and sandbox-escape issues tracked in the project's GitHub Security Advisories. It is a breaking change: identity-header and unsigned wallet-login authentication paths are removed, so it ships as a major version.
Upgrade note: clients that authenticated via
X-Wallet-Address/X-User-IDheaders, or via unsigned wallet logins, must switch to a verified JWT or a signed wallet nonce. Requests relying on the old paths will now be rejected.
🔒 Security fixes
| Severity | Advisory | Fix |
|---|---|---|
| Critical | GHSA-6jh7-q9mf-9p28 | Wallet login signature verification bypass → full account takeover. verify_wallet_signature was a stub that accepted any signature; replaced with real ecrecover-based verification. |
| High | GHSA-p7p9-jc8p-p38m | Client-controlled identity header auth bypass (X-Wallet-Address / X-User-ID). Added auth gate to mark_lesson_complete and removed header-derived identity. |
| High | GHSA-fhwv-x9rc-w3qw | verify_wallet_authentication() fell back to an unauthenticated identity header after JWT verification failed. Fallback removed. |
| High | GHSA-rw3v-xxwg-3p4g | Python sandbox validator bypass via __builtins__.__dict__['__import__'] indirection reaching subprocess execution (residual of CVE-2026-41900). Indirection blocked. |
Plus a P1 hardening sweep: removed credential logging, replaced weak hashing, moved to constant-time token comparison, and eliminated fallback identity paths.
🐛 Fixed
- Chat history: keep failed history ranges available for retry and reconcile optimistic sends on retry.
🧱 Build
- Bumped
github/codeql-action4.39.0 → 4.39.3 (Dependabot).
📦 Package
Published to GitHub Packages (public): @th30d4y/openlearnx@3.0.1.
Install (GitHub Packages needs the scope pointed at its registry):
echo "@th30d4y:registry=https://npm.pkg.github.com" >> .npmrc
npm install @th30d4y/openlearnx@3.0.1Full changelog: https://github.com/th30d4y/OpenLearnX/blob/main/CHANGELOG.md · Compare: v2.0.4...v3.0.1