hermes-agent/cron
kshitij 037825c1f2 fix: check NUL bytes before size limit in _read_referenced_script
On Linux, /usr/bin/python3 is >1MB, so the size check fired before
the NUL check could run — the binary was returned as unsafe=True
(blocked) instead of (None, False) (skip). Reorder: read the bounded
chunk first, check for NUL bytes (binary → skip), then check size
(oversized text → fail closed).
2026-08-03 10:11:39 +05:30
..
scripts
…
__init__.py
…
blueprint_catalog.py
…
executions.py
…
jobs.py
…
lifecycle_guard.py fix: check NUL bytes before size limit in _read_referenced_script 2026-08-03 10:11:39 +05:30
scheduler.py
…
scheduler_provider.py
…
suggestion_catalog.py
…
suggestions.py
…