Hugging Face
Models
Datasets
Spaces
Buckets
Docs
Enterprise
Pricing
Website
Tasks
HuggingChat
Collections
Languages
Organizations
Community
Blog
Posts
Daily Papers
Hardware
Learn
Discord
Forum
GitHub
Solutions
Team & Enterprise
Hugging Face PRO
Enterprise Support
Inference Providers
Inference Endpoints
Storage Buckets
Log In
Sign Up
Shaurya2020
/
365lotus-platform
Like
0
Model card
Files
Files and versions
xet
Community
Copy to bucket
main
365lotus-platform
/
platform
/
server
64.8 kB
Ctrl+K
Ctrl+K
1 contributor
History:
32 commits
Shaurya2020
fix(medium): admin login lockout โ log login_attempts + lock after 5 fails/15min
356850e
verified
2 months ago
aesEnvelope.js
Safe
2.35 kB
fix(medium): AES envelope fail-closed if enabled but key missing/<16 chars
2 months ago
auth.js
Safe
2.62 kB
fix(high): JWT_SECRET fail-closed in production (dev fallback for non-production)
2 months ago
db.js
Safe
8.64 kB
fix: remove duplicate export of db
2 months ago
guards.js
Safe
3.26 kB
feat: server/guards.js market-ready guards (RG/geo/pwd/bet-limits/settlement-lock)
2 months ago
index.js
Safe
2.68 kB
fix(medium): strict CSP via helmet + money-route rate limit (60/min on bets/deposit/withdraw/kyc)
2 months ago
player.js
Safe
8.17 kB
fix: register sets parent_id=1 (superadmin) so self-registered players are in hierarchy
2 months ago
routes-content.js
Safe
6.21 kB
add: content routes (banners/news/kyc/limits/audit) split from routes-platform; self-exclude now requires role + canSeeUser
2 months ago
routes-core.js
Safe
3.24 kB
fix(medium): admin login lockout โ log login_attempts + lock after 5 fails/15min
2 months ago
routes-crud.js
Safe
6.75 kB
fix(medium): money/secret tables (bonuses, game-rounds, transactions, api-keys, webhooks) now read-only admin views
2 months ago
routes-platform.js
Safe
6.22 kB
fix(critical): payment approve re-checks balance inside tx for withdrawals + canSeeUser scope; split content routes to routes-content.js
2 months ago
routes-settle.js
Safe
4.66 kB
fix(critical): settle math โ lose deducts balance (back=stake, lay=liability); win credits potential_payout for both sides; add canSeeUser scope to settle/void/get
2 months ago
routes-users.js
Safe
7.15 kB
fix(high): user mgmt โ POST /users ignores client parentId (validates canSeeUser); PUT/reset-password/reset-txn add requireRole+requireTxnPassword+rank check; all scoped via canSeeUser
2 months ago
routes.js
Safe
403 Bytes
update: register routes-users module (split from core)
2 months ago
seed.js
Safe
2.44 kB
fix: trailing comma in banners insert
2 months ago