Commit Graph

31 Commits

Author SHA1 Message Date
Stalin 10d9baab76 Add Multi-Language Code Execution Support (20+ Languages)
Added support for 20 programming languages:

INTERPRETED LANGUAGES (9):
• Python 3.11
• JavaScript (Node 20)
• Bash/Shell 5
• Ruby 3.2
• PHP 8.2
• R (Statistical Computing)
• Julia (Scientific Computing)
• Perl 5.36
• Lua 5.4

COMPILED LANGUAGES (11):
• C (GCC 13)
• C++ (GCC 17)
• Java 17
• Go 1.22
• Rust 1.77
• Kotlin 2.0
• Swift 5.9
• TypeScript 5
• C# (.NET 7)
• Scala 2.13
• Groovy 4.0

IMPROVEMENTS:
✓ Expanded language_configs with 20+ languages
✓ Added comprehensive security patterns for each language
✓ Language aliases (py→Python, js→JavaScript, etc)
✓ Memory limits optimized per language (64MB-512MB)
✓ CPU throttling configured (0.25-0.8 cores)
✓ Timeout protection (8s-20s per language)
✓ Created SUPPORTED_LANGUAGES.md documentation

SECURITY FEATURES:
✓ Docker container isolation for each execution
✓ Memory and CPU limits per language
✓ Pattern-based code blocking for dangerous operations
✓ Network access disabled
✓ File I/O restricted to /workspace
✓ 20,000 character code size limit

API SUPPORT:
✓ Accept language full name or alias
✓ Input data streaming support
✓ Detailed execution metrics (time, memory, exit code)
✓ Comprehensive error reporting
2026-05-12 20:44:26 +05:30
Stalin 7621a21daf Deploy: Update backend deployment config and frontend environment 2026-05-12 19:28:49 +05:30
Stalin 05f081b205 Fix JWT signature verification vulnerability (GHSA-223g-f5mq-gw33)
- Enable proper JWT signature verification in backend/routes/dashboard.py
- Enable proper JWT signature verification in backend/main.py
- Enable proper JWT signature verification in backend/activity_logger.py
- Replace verify_signature=False with cryptographic verification using JWT_SECRET_KEY
- Prevents JWT forgery attacks and account takeover
2026-05-07 16:57:42 +05:30
Stalin 14765d7d18 fix(security): harden execution sandbox and add dedicated admin execution logs 2026-04-19 23:03:08 +05:30
Stalin 353a2dfc3b fix(dashboard): hide endpoint paths in recent activity UI 2026-04-19 18:03:24 +05:30
Stalin 9115fc5ffd feat: unify real activity tracking, admin monitoring, and error UX 2026-04-19 17:51:32 +05:30
copilot-swe-agent[bot] f636387717 Improve code quality - add custom exception, documentation, and refactor auth.py
Co-authored-by: Stalin-143 <161853795+Stalin-143@users.noreply.github.com>
2026-01-31 18:46:30 +00:00
copilot-swe-agent[bot] a1f9cd4114 Fix security concerns - restrictive file permissions and remove secret logging
Co-authored-by: Stalin-143 <161853795+Stalin-143@users.noreply.github.com>
2026-01-31 18:44:17 +00:00
copilot-swe-agent[bot] a343b17ab3 Address code review feedback - persistent dev secrets and fix empty auth header
Co-authored-by: Stalin-143 <161853795+Stalin-143@users.noreply.github.com>
2026-01-31 18:42:45 +00:00
copilot-swe-agent[bot] f04fc76eb9 Fix critical security vulnerabilities - remove hardcoded secrets
Co-authored-by: Stalin-143 <161853795+Stalin-143@users.noreply.github.com>
2026-01-31 18:40:21 +00:00
5t4l1n c751a49d8f docker 2025-07-30 07:43:06 +05:30
5t4l1n a3520a3d67 dashboard & cource certificate Block chain 2025-07-29 20:43:52 +05:30
5t4l1n 6376105b1d update 2025-07-29 18:31:21 +05:30
5t4l1n f22caf1cb4 course completed up to module lesson 2025-07-29 13:52:35 +05:30
5t4l1n f72bcc69aa update error 2025-07-29 00:13:52 +05:30
5t4l1n 8816091e63 update error 2025-07-28 23:19:59 +05:30
5t4l1n 7f6531b097 update error 2025-07-28 00:51:24 +05:30
5t4l1n efd6708e5a qizz + panel 2025-07-28 00:15:37 +05:30
5t4l1n 13844da371 Fix .gitignore: stop tracking ignored files 2025-07-27 10:42:54 +05:30
5t4l1n 3a87ef0576 Fix .gitignore: stop tracking ignored files 2025-07-27 10:39:02 +05:30
5t4l1n 0a63d19b59 update & add 2025-07-27 03:54:54 +05:30
5t4l1n cc16c970d6 update 2025-07-27 02:38:48 +05:30
5t4l1n e358b6c760 update 2025-07-27 02:22:23 +05:30
5t4l1n 43fadc0792 update 2025-07-27 01:33:21 +05:30
5t4l1n 4a447e73a2 panel & coding 2025-07-27 00:34:18 +05:30
5t4l1n 8c56eb9e36 some kinda 2025-07-26 22:27:23 +05:30
5t4l1n c734ae1b36 Course admin panel added 2025-07-26 11:32:08 +05:30
5t4l1n 4d8061616d harini 2025-07-25 23:58:20 +05:30
5t4l1n f00cb56fad front end test & backup 2025-07-25 13:57:14 +05:30
5t4l1n 35efa955ad front end test 2025-07-25 13:33:18 +05:30
5t4l1n 7e6f0d0b1e backend 2025-07-25 11:10:44 +05:30