Skip to main content
Glama
ZERONOVA LAB MCP Server

ZERONOVA LAB MCP Server

check_injection_risk

Detect SQL injection, XSS, and command injection vulnerabilities in source code, returning severity, file location, evidence, and fix guidance.

Instructions

Detect injection vulnerabilities in source code. Checks for SQL injection (unparameterized queries, string concatenation), XSS (dangerouslySetInnerHTML, innerHTML, document.write), and command injection (exec with interpolation, eval, new Function). Returns findings with severity, file path with line number, evidence snippet, and fix code.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "project_path": "<project_path>"
    },
    "name": "check_injection_risk"
  }
}

Input Schema

NameRequiredDescriptionDefault
project_pathYesAbsolute path to the project directory to audit. Must be a directory you own or manage.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.6.0

TDQS

A3.8/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations are supplied, so the description carries the full burden. It does disclose the output shape (severity, file path with line number, evidence snippet, fix code), which is useful behavioral context, but it does not state that the scan is read-only and non-mutating, whether it respects .gitignore, limits on codebase size, or which languages are supported.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two tight sentences: the first declares the capability, the second lists the checks and the return payload. Purpose and detail are front-loaded with no filler or redundant restatement of the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Because there is no output schema, the description must explain return values and does so concretely (severity, file:line, evidence, fix code). The main residual gap is scope: supported languages, file selection, and read-only behavior are unstated for a tool that walks an entire project directory.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With a single parameter and 100% schema description coverage, the schema already documents project_path fully, including the absolute-path and directory-ownership constraint. The description adds no additional semantics about the parameter, so baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Detect injection vulnerabilities in source code') and immediately enumerates the three vulnerability classes it covers with concrete code patterns (unparameterized queries, dangerouslySetInnerHTML, exec/eval). This is clearly distinguishable from sibling check_* tools that cover headers, auth, RLS config, or client secrets.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is implied by the name and the enumeration of detector patterns, but there is no explicit statement of when to run this versus other audits (e.g., run_vibe_audit, run_web_launch_audit) or when it is not applicable. The agent must infer that it applies to source-code projects only, with no stated exclusions or prerequisites.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.