• Stefy Lanza (nextime / spora )'s avatar
    v0.99.51: security hardening — bcrypt passwords, rate limiting, auth fixes,... · 1b742f3e
    Stefy Lanza (nextime / spora ) authored
    v0.99.51: security hardening — bcrypt passwords, rate limiting, auth fixes, safe cache serialisation
    
    - Migrate password hashing from SHA-256 to bcrypt with backward-compatible auto-upgrade on login
    - Add login rate limiting (10 attempts / 5 min window, 10 min lockout) per IP+username
    - Force password change when default admin/admin credentials are detected (C3)
    - Fix /api/admin/* middleware to require valid admin session instead of unconditional bypass (C5)
    - Replace pickle serialisation in all cache backends (Redis, SQLite, MySQL, File) with JSON-first encoding; legacy pickle data still readable (H9)
    - Fix PayPal webhook: implement 6 previously empty handler stubs with real wallet credit/debit logic (H1)
    - Fix Stripe: remove no-op _handle_payment_succeeded stub, fix real implementation to use WalletManager (C7)
    - Fix crypto address derivation race condition via BEGIN EXCLUSIVE / SELECT FOR UPDATE (H6)
    - Fix PayPal webhook verification: return False (not True) when webhook_id not configured (C6)
    - Fix pre-existing password reset flow using non-existent DB methods
    - Fix CORS: allow_credentials=False to be compatible with wildcard origins
    - Fix session cookie flags: same_site=lax, https_only via AISBF_HTTPS env var
    - Fix background task GC: hold strong references to prevent premature task collection
    - Remove dead Jinja2 environment and commented-out analytics init code
    - Apply XSS escaping to user-controlled innerHTML in analytics and autoselects dashboard templates
    - Update docs: security warnings in README and DEBUG_GUIDE, missing endpoints in ENDPOINTS.md
    Co-Authored-By: 's avatarClaude Sonnet 4.6 <noreply@anthropic.com>
    1b742f3e
Name
Last commit
Last update
aisbf Loading commit data...
config Loading commit data...
docs Loading commit data...
static Loading commit data...
templates Loading commit data...
tests/payments Loading commit data...
.gitignore Loading commit data...
AI.PROMPT Loading commit data...
API_EXAMPLES.md Loading commit data...
BUILD_DEPLOY.md Loading commit data...
CHANGELOG.md Loading commit data...
DEBUG_GUIDE.md Loading commit data...
DOCUMENTATION.md Loading commit data...
ENDPOINTS.md Loading commit data...
KILO_OAUTH2.md Loading commit data...
LICENSE.txt Loading commit data...
MANIFEST.in Loading commit data...
PYPI.md Loading commit data...
QUICK_START_PAYMENT.md Loading commit data...
README.md Loading commit data...
SUBSCRIPTION_PRICING_FEATURE.md Loading commit data...
TODO.md Loading commit data...
TORRC_SETUP.md Loading commit data...
aisbf.sh Loading commit data...
build.sh Loading commit data...
chatgpt-api-implementation-guide.md Loading commit data...
clean.sh Loading commit data...
cli.py Loading commit data...
codex-oauth-implementation-guide.md Loading commit data...
main.py Loading commit data...
pyproject.toml Loading commit data...
requirements.txt Loading commit data...
screenshot.png Loading commit data...
setup.py Loading commit data...
start_proxy.sh Loading commit data...
verify_release.sh Loading commit data...