Back to skill

Security audit

MCP Vercel

Security checks for vulnerabilities and agentic risk

Overview

This skill gives straightforward instructions for creating and deploying a Vercel-hosted MCP server, with no hidden execution or data-stealing behavior found.

Install or use this skill when you actually want a Vercel and Next.js MCP deployment. Review any generated MCP tools carefully before deployment, especially tools that create, update, or delete data, and avoid exposing sensitive APIs without authentication.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (2)

Vague Triggers

Medium
Confidence
96% confidence
Finding
The skill metadata and frontmatter include very broad trigger phrases such as 'set up an MCP server' and even 'I want to make my API available to Claude,' which can cause this skill to activate for loosely related requests. Over-broad activation increases the chance the agent applies deployment-oriented instructions in contexts where they are not appropriate, potentially causing unintended code generation, exposure of endpoints, or unnecessary cloud deployment guidance.

External Transmission

Medium
Category
Data Exfiltration
Content
vercel deploy --prod

# Verify
curl -X POST https://your-app.vercel.app/api/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","method":"initialize","params":{"protocolVersion":"2025-03-26","capabilities":{},"clientInfo":{"name":"test","version":"1.0"}},"id":1}'
Confidence
60% confidence
Finding
Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Static analysis

No suspicious patterns detected.