Skip to content

Commit 90ccb96

Browse files
herakles-devclaude
andcommitted
fix: flag *.map files as dangerous instead of skipping them
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 2173d52 commit 90ccb96

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

agents/opensource-forker.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ key-[A-Za-z0-9]{32}
8989
- `.secrets/`, `secrets/`
9090
- `.claude/settings.json`
9191
- `sessions/`
92+
- `*.map` (source maps expose original source structure and file paths)
9293

9394
**Files to strip content from (not remove):**
9495
- `docker-compose.yml` — replace hardcoded values with `${VAR_NAME}`

agents/opensource-sanitizer.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ You are an independent auditor that verifies a forked project is fully sanitized
2121

2222
### Step 1: Secrets Scan (CRITICAL — any match = FAIL)
2323

24-
Scan every text file (excluding `node_modules`, `.git`, `__pycache__`, `*.min.js`, `*.map`, binaries):
24+
Scan every text file (excluding `node_modules`, `.git`, `__pycache__`, `*.min.js`, binaries):
2525

2626
```
2727
# API keys
@@ -104,6 +104,7 @@ credentials.json, service-account*.json
104104
.secrets/, secrets/
105105
.claude/settings.json
106106
sessions/
107+
*.map (source maps expose original source structure and file paths)
107108
node_modules/, __pycache__/, .venv/, venv/
108109
```
109110

0 commit comments

Comments
 (0)