You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add pre-commit hook and in-memory scanning support
Introduced a .pre-commit-config.yaml for pre-commit integration and added 'pre-commit' as a dev dependency. Enhanced SecretScanner and TechDebtScanner with scan_content methods for in-memory scanning, and updated MCP's check_file to support scanning file content directly without requiring disk writes. Updated documentation to reflect these changes and mark related roadmap items as complete.
Copy file name to clipboardExpand all lines: README.md
+16Lines changed: 16 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -95,6 +95,22 @@ Turn your favorite AI Editor (Cursor, Claude Desktop) into a security expert. Op
95
95
96
96
The AI will invoke OpenAuditKit locally and report back findings instantly!
97
97
98
+
## 🪝 Git Hooks (Pre-commit)
99
+
100
+
Prevent security issues from being committed by using our pre-configured git hooks.
101
+
102
+
1. **Install pre-commit**:
103
+
```bash
104
+
pip install pre-commit
105
+
```
106
+
107
+
2. **Install the hooks**:
108
+
```bash
109
+
pre-commit install
110
+
```
111
+
112
+
Now, `openaudit` will automatically scan your code before every commit!
113
+
98
114
## 🛡️ VibeGuard (Tech Debt Scanner)
99
115
100
116
We know "vibecodin" happens. OpenAuditKit now includes **VibeGuard**, a scanner designed to catch non-engineering practices before they hit production:
0 commit comments