6 Commits

Author SHA1 Message Date
diiviikk5
6f2366dc2d fix: replace os.system() with subprocess.run() for security and robustness
- Replace os.system() calls with subprocess.run() using list args to avoid shell injection (CWE-78, Bandit B605/B607)

- Replace assert-based error handling with proper exceptions (ValueError, RuntimeError, FileNotFoundError) that survive python -O (Bandit B101)

- Use sys.executable instead of hardcoded 'python' to ensure correct interpreter (Bandit B607)

Files changed: cmake_build.py, scripts/run_tests.py, compileall.py, amalgamate.py
2026-02-08 01:44:02 +05:30
blueloveTH
f3bf7c6321 Update compileall.py 2026-01-06 15:15:50 +08:00
blueloveTH
3c379402c8 Update compileall.py 2026-01-05 19:58:00 +08:00
blueloveTH
3bac59701b Update compileall.py 2026-01-05 19:56:45 +08:00
blueloveTH
134144e6fa Update compileall.py 2026-01-05 19:51:46 +08:00
BLUELOVETH
5f7bf4924b
Support running compiled bytecodes (#421) 2026-01-05 19:40:21 +08:00