mirror of
https://github.com/blw1138/cross-py-builder.git
synced 2026-09-07 21:41:09 -05:00
Harden build agent against path traversal and add job cleanup
- Validate job IDs on /download and /delete; reject invalid identifiers - Prevent zip-slip during /upload extraction via safe_extract - Basename uploaded filenames in /update to block path traversal - Route git-checkout jobs into pybuild-data so they can be downloaded/deleted - Clean up job dirs on extract, checkout, and build failures - Ignore Python bytecode and egg-info artifacts
This commit is contained in:
+4
-1
@@ -1 +1,4 @@
|
||||
known_hosts
|
||||
known_hosts
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*.egg-info/
|
||||
Reference in New Issue
Block a user