Spaces:
Sleeping
Sleeping
Commit History
-
Upgrade all three tasks with enhanced security challenges
TASK 1: Multi-File Secret Management (5 files, 2+ issues) - Multiple API keys, DB passwords across files - Realistic secrets scattered throughout codebase - Red herring patterns for proper exclusions TASK 2: SQL + NoSQL Injection (5 files, 3 issues) - Flask app with vulnerable SQL queries - MongoDB with NoSQL injection vulnerabilities - Dual-injection type challenge TASK 3: Cryptographic Weaknesses (5 files, 6 issues) - NEW - MD5 hashing, weak RNG, hardcoded salts - Realistic auth.py and database.py interaction - Migration scenario with test patterns Enhanced Simulator: - Crypto weakness detection (MD5, weak RNG, hardcoded salt) - Improved injection detection (SQL, NoSQL) - Smart secret detection with proper exclusions All tasks verified: scores (0,1), detection working, grading correct92eaf40 -
Fix task scores to be strictly between 0 and 1 (exclusive on both ends)
2a53916 -
Fix structured output format: replace JSON with [START]/[STEP]/[END] blocks
933870d
-
Fix run_inference NameError in inference.py
0454a8d -
Clean codebase: remove redundant files, optimize to OpenAI, final production ready
1822e93 -
Add inference.py with structured logging and Flask server for HF Space deployment
e2e2212