promptsonar

security MCP Server

Static security scanner for AI prompts, MCP configs, and agent workflows. Zero LLM calls. Local-first. OWASP LLM Top 10 aligned.

VerifiedInstall Ready
securitysecurity
3 views4 stars0 forksv1.4.3NOASSERTION

Why This Matters

Discovered via github-topic:mcp and last synced 2mo ago.

VerifiedInstall Ready
Source
github-topic:mcp
Stars
4
Last synced
2mo ago
Install
Instructions detected

Install

1. Install the package

npm install promptsonar
17
Tools
0
Resources
0
Prompts
Standard I/O
Transport

Available Tools (17)

Risk

Example

MCP-105

External network access capability

MCP-107

Chained MCP execution (`routeTo` / `upstream` / `delegate` hops)

MCP-012

Wildcard permissions (`permissions: "*"`, `permissions: [""]`, `allowAll`)

execution_paths

JSON array of privileged execution path sinks

MCP-108

Privilege escalation path (untrusted input → MCP tool → shell/fs/network)

MCP-109

Approval bypass (auto-execute + approval disabled, or wildcard + shell)

Rule

Detects

Output

Description

MCP-011

Automatic tool execution (`autoExecute`, `autoApprove`, `approvalRequired: false`)

files_scanned

Number of changed prompt-like files scanned

MCP-013

Host credential propagation into tools (env `${VAR}` passthrough)

mcp_risk_score

Highest MCP risk score found in changed MCP configs

MCP-103

Filesystem access capability

workflow_diff

JSON summary of introduced or removed execution paths

MCP-104

Shell / process execution capability

sarif-path

Path to generated SARIF file