karpathy-wiki

Pass

Audited by Gen Agent Trust Hub on Aug 25, 2026

Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
  • [COMMAND_EXECUTION]: The helper script scripts/wiki_tool.py invokes the git binary via subprocess.check_output to retrieve repository metadata, commit history, and tracked file lists. These operations are scoped to the local repository environment.
  • [COMMAND_EXECUTION]: The script implements an install-hook feature that generates a shell script and writes it to the .git/hooks/pre-commit file. This script is used to trigger advisory reminders during the commit process.
  • [PERSISTENCE]: The Git pre-commit hook acts as a persistence mechanism that ensures the skill's logic is executed during the standard development workflow. The SKILL.md instructions explicitly mandate that the agent must request user approval before installing this hook.
  • [SAFE]: The skill includes a proactive security control in scripts/wiki_tool.py via the ensure_raw_body_safe function. This function uses regex patterns to scan incoming raw data for sensitive credentials (such as AWS keys, GitHub tokens, and private keys), preventing them from being stored in the wiki.
Audit Metadata
Risk Level
SAFE
Analyzed
Aug 25, 2026, 06:08 PM