Alexander Whitestone
ee1c7ab279
CI / test (pull_request) Failing after 1m11s
CI / validate (pull_request) Failing after 1m5s
Review Approval Gate / verify-review (pull_request) Successful in 11s
fix: #1430 - Prevent shell injection in commit messages
- Add safe_commit.py tool for safe commit message handling
- Add commit-msg hook to warn about dangerous patterns
- Add documentation for safe commit practices
- Prevent shell injection from backticks and other special chars
Addresses issue #1430: [IMPROVEMENT] memory_mine.py ran during git commit
Problem: Commit messages containing backticks can trigger shell execution.
Solution: Use git commit -F <file> or escape special characters.
Tools added:
- bin/safe_commit.py: Safe commit tool with escaping and file-based commits
- .githooks/commit-msg: Hook to warn about dangerous patterns
- docs/safe-commit-practices.md: Documentation for safe commit practices
Example safe usage:
python3 bin/safe_commit.py -m "Message with backticks: \`code\`"
git commit -F <file> # Safest method
git commit -m "Message with escaped backticks: \`code\`"
This prevents unintended code execution during git operations.
2026-04-15 00:50:54 -04:00
..
2026-04-07 14:47:12 +00:00
2026-04-05 08:31:33 +00:00
2026-04-11 00:20:14 +00:00
2026-04-07 14:23:07 +00:00
2026-04-13 18:31:05 -04:00
2026-04-06 02:57:57 +00:00
2026-04-12 19:24:38 -04:00
2026-03-31 04:53:29 +00:00
2026-04-12 11:55:51 -04:00
2026-04-07 08:38:28 +00:00
2026-04-07 06:47:03 +00:00
2026-04-05 20:59:33 +00:00
2026-04-05 17:33:00 +00:00
2026-04-10 05:45:27 -04:00
2026-04-05 08:58:25 +00:00
2026-04-05 01:51:01 +00:00
2026-04-05 03:45:08 +00:00
2026-04-05 05:19:04 +00:00
2026-04-12 12:09:18 +00:00
2026-04-13 21:51:12 -04:00
2026-04-13 21:51:12 -04:00
2026-04-06 18:16:58 +00:00
2026-03-29 21:58:16 -04:00
2026-04-06 02:57:57 +00:00
2026-04-14 01:57:11 +00:00
2026-04-07 14:26:25 +00:00
2026-04-06 18:15:20 +00:00
2026-04-07 06:27:56 +00:00
2026-04-07 14:38:49 +00:00
2026-04-15 00:50:54 -04:00
2026-04-14 22:11:12 +00:00
2026-04-11 23:10:03 +00:00
2026-04-11 23:10:02 +00:00
2026-04-06 02:57:57 +00:00
2026-04-08 06:29:26 -04:00