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.pyinvokes thegitbinary viasubprocess.check_outputto 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-hookfeature that generates a shell script and writes it to the.git/hooks/pre-commitfile. This script is used to trigger advisory reminders during the commit process. - [PERSISTENCE]: The Git
pre-commithook acts as a persistence mechanism that ensures the skill's logic is executed during the standard development workflow. TheSKILL.mdinstructions 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.pyvia theensure_raw_body_safefunction. 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