spring-ai-mcp-server-patterns

skills-sh:giuseppe-trisciuoglio_developer-kit__spring-ai-mcp-server-patterns

View source
B
85/100

First Seen

Feb 18, 2026

Last Scanned

Feb 20, 2026

Findings

2

Score

85/100

HIGH 1
LOW 1

Findings (2)

HIGH
Hidden tool registration
L819

Detects dynamic tool registration patterns that could inject malicious tools

addTool(
FIX

Remove or restrict the tool's ability to run arbitrary code. Implement sandboxing, input validation, and output filtering. Require user confirmation for any code execution.

FP?

Likely FP if the tool is a code execution sandbox (e.g., REPL, notebook) that is explicitly designed for this purpose with documented security boundaries.

LOW
Unscoped Bash tool in allowed tools
L7

Detects skills that include unscoped Bash in their allowed tools list (not Bash(cmd:*) scoped)

allowed-tools: Read, Write, Edit, Bash,
FIX

Scope the Bash tool to specific commands using allowedTools patterns (e.g., Bash(git *) instead of bare Bash). Remove blanket Bash access from allowed_tools lists.

FP?

Likely FP if the Bash entry in allowed_tools is part of a constrained configuration that limits commands elsewhere (e.g., via system prompt restrictions).