Snyk scans your MCP servers by running them. Here is what that means.
Snyk's agent-scan tool scans MCP servers by executing them to retrieve tool descriptions, which raises security concerns. While this method is effective for trusted servers, it poses risks when scanning untrusted configurations. In contrast, Bawbel offers a static analysis approach that does not execute servers, providing a safer alternative for environments where running untrusted code is not acceptable.
- ▪Snyk's agent-scan tool executes MCP servers to gather tool descriptions, which can lead to security vulnerabilities.
- ▪The tool has added a consent flow to inform users before executing commands, but automation can bypass this prompt.
- ▪Bawbel offers a static analysis method that reads configuration files without executing any code, making it safer for untrusted environments.
Opening excerpt (first ~120 words) tap to expand
try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 1547173) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } Saray Chak Posted on May 20 Snyk scans your MCP servers by running them. Here is what that means. #security #ai #mcp #devsecops Snyk's agent-scan tool works by starting every MCP server it finds in your config and querying its tool descriptions. That is not a bug. It is the architecture. To retrieve tool descriptions from a stdio MCP server, you have to execute it. The tool does exactly what it says on the box. The problem is the use case.
…
Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).