dev-loop-audit
Pass
Audited by Gen Agent Trust Hub on Oct 30, 2026
Risk Level: SAFEDATA_EXFILTRATIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [DATA_EXFILTRATION]: The skill accesses sensitive conversation history stored in Claude Code transcripts located at
~/.claude/projects/. This data exposure is a core feature intended to audit agent time and performance. To mitigate risk, the skill implements aredactfunction inscripts/common.jsthat uses regular expressions to mask common API keys and tokens (e.g., GitHub PATs, AWS keys, Slack tokens) before they are stored in the audit report or trend CSV. - [COMMAND_EXECUTION]: The audit scripts execute local commands using
execFileSyncto interact withgitand the GitHub CLI (gh). These commands are used to fetch repository metadata, commit history, and workflow run details. The execution is limited to these specific binaries and uses arguments derived from the repository's configuration. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from external sources, creating a potential attack surface.
- Ingestion points: GitHub Actions run logs (
gh run view --log-failed), Git commit messages (git log), and conversation transcript files (~/.claude/projects/*.jsonl). - Boundary markers: The skill provides instructions to sub-agents in
templates/loop-brief.mdthat explicitly constrain behavior: "Read-only: do not edit, commit, push, re-run or cancel anything. Do not start builds, servers or simulators." - Capability inventory: The skill uses the
Bashtool for repository analysis and the agent's file-writing capabilities to generate code fixes. - Sanitization: A
redactfunction is used to sanitize secrets found in ingested data, although it does not specifically filter for prompt injection patterns. - [DYNAMIC_EXECUTION]: Based on audit results, the skill can generate code fixes for CI pipelines and git hooks. These fixes are proposed to the user and, upon approval, are written to a new branch and used to open a pull request. This involves dynamic code generation based on the analysis of repository configuration and logs.
Audit Metadata