autonomous-loop-safety
Pass
Audited by Gen Agent Trust Hub on Jul 14, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill is entirely focused on implementing safety guardrails for autonomous agents. Notable security features include:
- Destructive Command Prevention:
scripts/deny-destructive-git.shacts as a pre-tool-use hook that explicitly blocks commands likegit reset --hardorgit push --forceto prevent the agent from accidentally deleting work. - Execution Integrity:
scripts/run.shimplements a snapshotting mechanism that copies the main poller script before execution, preventing shell parsing errors or race conditions if the script is edited while running. - Fail-Closed Logic: The scripts
scripts/pr-gate.shandscripts/watch.share designed to fail closed, ensuring that if external tools likegh(GitHub CLI) fail or return empty results, the agent does not proceed with risky actions like merging code. - Data Integrity:
scripts/backup.shautomatically createsgit bundleandtarsnapshots of the repository, providing a local recovery mechanism independent of remote services. - Indirect Injection Mitigation: Parsing logic in
scripts/watch.shandscripts/pr-gate.shuses strict markers (e.g., first occurrence of specific headers) to prevent data from inside reports or briefs from being interpreted as control instructions. - [COMMAND_EXECUTION]: The skill uses local shell scripts to manage the agent loop and health checks. These operations are restricted to the local environment and the project repository.
- [DATA_EXFILTRATION]:
scripts/notify.shusesosascriptto send iMessage notifications to a configured phone number. This is a legitimate notification channel for an autonomous system, and the provided number is a placeholder.
Audit Metadata