gitreset
Pass
Audited by Gen Agent Trust Hub on Feb 17, 2026
Risk Level: LOWCOMMAND_EXECUTION
Full Analysis
- COMMAND_EXECUTION (LOW): The skill executes the shell command
git reset --soft HEAD~1on the local system. - Evidence: The skill body contains the instruction "执行 git reset --soft HEAD~1 命令".
- Risk Assessment: The command is hardcoded and does not include unsanitized user input, which prevents command injection. A soft reset is generally reversible and does not delete file contents, posing minimal risk to the environment.
Audit Metadata