Tp4
High
- Category
- MCP Tool Poisoning
- Confidence
- 96% confidence
- Finding
- The description overstates the functionality relative to the provided code. The script is a narrow search helper over an existing tree.json.gz snapshot, not a full smart search/triage system. Its actual behavior is limited to locating a snapshot file from CLI/env/config/default locations, loading JSON from gzip, extracting path strings from supported record formats, and matching those paths by regex or substring with optional extension and limit filters. There is no SQLite usage, no FTS5/BM25 ranking, no directory indexing, no confirmation gate, and no direct searching of local files, documents, or archive contents. This is a material description-behavior mismatch.
