Scan a folder for tarpits
scan_repoScan a directory for obfuscator fingerprints and tarpit files, flagging risky files to skip before spending tokens on an unfamiliar repository.
Instructions
Scan a directory for known obfuscator fingerprints and tarpit files.
Use this before committing a budget to understanding an unfamiliar repository.
Skips node_modules, .git, dist, build, pycache and .venv, and checks JS/TS and
Python files. Returns scanned, flagged, tool_fingerprints, flagged_files
and all_results. Skip every file in flagged_files instead of reading it.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"root": "<root>"
},
"name": "scan_repo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | Path to the directory to scan. | |
| threshold | No | Score at or above which a file counts as a tarpit (0-100). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||