archify-pr
Warn
Audited by Gen Agent Trust Hub on Nov 22, 2026
Risk Level: MEDIUMPERSISTENCEDYNAMIC_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [PERSISTENCE]: The skill instructs the agent to modify global configuration files such as
~/.claude/CLAUDE.md,~/.codex/AGENTS.md, and~/.config/devin/AGENTS.md. These files are used to persist 'interaction modes' (e.g.,proactive,ask). Since these files control the agent's behavior and instructions across different sessions, this represents a persistence mechanism that alters the agent's core operating environment to maintain state. - [DYNAMIC_EXECUTION]: The wrapper script
bin/archify-pr.mjsdynamically resolves the path to a core execution binary (archify.mjs) by searching through a predefined list of paths in the user's home directory (e.g.,.agents/skills,.claude/skills). It also allows overriding this path via theARCHIFY_BINenvironment variable. The script then executes the resolved file usingnodeviaspawnSync. - [COMMAND_EXECUTION]: The skill performs shell command execution to interact with Git (
git merge-base,git diff) and to attach artifacts to code hosting platforms using command-line tools likegh(GitHub CLI) andglab(GitLab CLI). These operations involve reading repository state and performing network uploads based on user-supplied or repository-derived parameters. - [EXTERNAL_DOWNLOADS]: The skill contains a hardcoded installation command (
npx -y skills add tt-a1i/archify) for a required companion skill. While this involves a remote download, the resource originates from the same author (tt-a1i) as the current skill. - [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and process untrusted repository data, including Git diffs and pull request content, as the authority for generating diagrams.
- Ingestion points: Git diff output and repository source code files accessed during preflight and build steps.
- Boundary markers: No explicit delimiters or 'ignore' instructions are described for the data ingestion phase.
- Capability inventory: The skill possesses capabilities for file system modification, shell command execution, and authenticated network uploads.
- Sanitization: The instructions do not specify sanitization or escaping for the code snippets and diffs processed during diagram generation.
Audit Metadata