SandScope: A Behavioral Audit Layer for MCP Tools in LLM Agent Supply Chains
summary
SandScope runs MCP tools under a WebAssembly (WASI) sandbox or over stdio, plants labeled canaries in environment, files and tool inputs, and extracts LLM-visible sinks to report auditable source-to-sink witnesses. The system combines lightweight runtime matching (handles substrings, base64, hex, ROT13) with semantic capability profiling from tool metadata. On benchmarks it reaches 0.941 F1, completes shallow scans for 38.5% of resolved repos and semantic visibility for 71%, finds 78.6% of tools claim sensitive capabilities, and observes witnesses in 36.4% after guided re-execution.
AI-written summary · about
chapters (12)
- 0:00Introduction to SandScope
- 1:05MCP threat model changes
- 3:33SandScope execution methods
- 5:41Types of evidence tracked
- 7:50Witness detector design
- 8:31Evaluation research questions
- 10:18Control benchmark results
- 11:22Real-world MCP repository tests
- 12:47Targeted exploration findings
- 13:50Semantic profiling insights
- 14:31Key takeaways summary
- 15:20Q&A session
