Skip to content

Commit 0eb6f57

Browse files
committed
update ignore files
1 parent 6491909 commit 0eb6f57

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

instructions.md

+9-7
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,12 @@
5353
- [x] Define regex patterns for `.env`, AWS, JWT, SSH keys
5454
- [x] Integrate an entropy checker (e.g., Shannon entropy > threshold)
5555
2. **File traversal**
56-
- [x] Walk directory tree, skip default excludes (`node_modules`, `dist`)
56+
- [x] Walk directory tree, skip default excludes (`node_modules`, `dist`, lockfiles, tsconfig.json, README.md)
5757
- [x] Honor `.vibesafeignore` entries
5858
3. **Scoring & output**
5959
- [x] Assign Low/Med/High severity based on pattern + entropy
6060
- [x] Emit JSON record per finding including `file`, `line`, `pattern`, and `severity`
61+
- [x] Added 'Info' severity for secrets in `.env` files (reduces noise)
6162

6263
### Phase 3: Dependency & CVE Scanner
6364
1. **Detect package manager**
@@ -102,14 +103,15 @@
102103

103104
### Phase 5: CLI UX & Packaging
104105
1. **Terminal polish**
105-
- [ ] Colorize severities (e.g., red for High)
106-
- [ ] Add progress spinner during scans
106+
- [x] Colorize severities (e.g., red for High)
107+
- [x] Add progress spinner during scans
107108
2. **Flags & outputs**
108-
- [ ] `--output <file.md|.json>`
109-
- [ ] `--high-only` filter
109+
- [x] `--output <file.json>`
110+
- [x] `--report <file.md>`
111+
- [x] `--high-only` filter
110112
3. **Distribution**
111-
- [ ] Set up npm `bin` or Python `entry_point`
112-
- [ ] Test on macOS, Win, Linux
113+
- [x] Set up npm `bin` entry_point
114+
- [x] Test on macOS
113115

114116
## 6. Timeline & Ownership
115117

src/utils/fileTraversal.ts

+5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ const DEFAULT_IGNORE_PATTERNS = [
1515
'.DS_Store',
1616
'Thumbs.db',
1717
// Add other common ignores if needed
18+
'package-lock.json',
19+
'yarn.lock',
20+
'pnpm-lock.yaml',
21+
'tsconfig.json',
22+
'README.md',
1823
];
1924

2025
const VIBESAFE_IGNORE_FILE = '.vibesafeignore';

0 commit comments

Comments
 (0)