karpathy-diff
Pass
Audited by Gen Agent Trust Hub on Oct 31, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses local
gitcommands, includinggit diffandgit status, to inspect the repository state and analyze changes. These operations are core to the skill's purpose and are executed within a standard development context. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from the local repository, which creates an attack surface where malicious instructions could be embedded in code changes or documentation.
- Ingestion points: The skill ingests content from
git diffoutputs and reads local project files such asCLAUDE.mdandAGENTS.mdduring the calibration step. - Boundary markers: The instructions do not specify the use of clear delimiters or instructions for the agent to ignore embedded commands within the diffs or documentation files it reads.
- Capability inventory: The agent has the ability to execute shell commands (
git) and modify the local filesystem when applying proposed fixes, such as reverting changes or restoring deleted code. - Sanitization: There are no explicit steps described to sanitize, escape, or validate the content retrieved from the repository before it is evaluated by the agent.
Audit Metadata