open-pr
Pass
Audited by Gen Agent Trust Hub on Nov 3, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPRIVILEGE_ESCALATIONPERSISTENCEDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
Bun.spawnSyncto execute system commands includinggitfor branch management andgh(GitHub CLI) for interacting with the GitHub API and managing pull requests. - [EXTERNAL_DOWNLOADS]: The skill includes instructions and a manual installation script in
SKILL.mdthat usesgh apito download components from a user-specified repository. Thekit.tsscript also performs a version check by fetching metadata from the vendor's official GitHub repository (AojdevStudio). - [PRIVILEGE_ESCALATION]: The
kit.tsinstallation script modifies the.claude/settings.jsonfile to register aPreToolUsehook. This hook intercepts all bash commands executed by the agent to enforce security policies and PR standards, effectively acting as an environment-level security gate. - [PERSISTENCE]: The installation process establishes a persistent security hook within the repository's configuration. This configuration ensures that the PR security gate remains active for any agent session operating within the repository.
- [DYNAMIC_EXECUTION]: The skill is implemented in TypeScript and runs via the Bun runtime. It employs sophisticated logic to perform static analysis of shell commands at runtime, identifying and regulating pull request operations to prevent unsafe or unvetted changes.
Audit Metadata