Commit 50c6a8d
committed
feat: implement AI-powered Soroban security audit engine
- Add Claude AI integration for contract vulnerability analysis
- Implement 5 static security pattern detectors (reentrancy, access-control, integer-overflow, privacy-leak, missing-ttl)
- Support 3 output formats: text (colored), JSON, HTML
- Add comprehensive test suite (58 tests across 4 files)
- Include input validation, error handling, and safe API integration
- Closes GitHub Issue #5031 parent 4fb1908 commit 50c6a8d
10 files changed
Lines changed: 2527 additions & 0 deletions
File tree
- src
- commands
- utils/security
- tests
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
1 | 2 | | |
2 | 3 | | |
3 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
143 | 143 | | |
144 | 144 | | |
145 | 145 | | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
146 | 149 | | |
147 | 150 | | |
148 | 151 | | |
| |||
247 | 250 | | |
248 | 251 | | |
249 | 252 | | |
| 253 | + | |
250 | 254 | | |
251 | 255 | | |
252 | 256 | | |
| |||
294 | 298 | | |
295 | 299 | | |
296 | 300 | | |
| 301 | + | |
297 | 302 | | |
298 | 303 | | |
299 | 304 | | |
| |||
0 commit comments