MCP ScannerCustom audit
All servers

square/square-mcp-server

A Model Context Protocol (MCP) server for square

Packagesquare-mcp-server
Version0.1.2 in package.json
PublisherBlock (Square) Official
MCP Registrynot listed
Scanned2026-11-25
Scannerv1.3.0
Methodologyv1.2
Stars 109Forks 27Last push 2026-10-14
TypeScript 97.8%JavaScript 2.2%by source files the scanner reads
Code safetypartly tracedExposurepartly tracedPrompts10.0Supply chain2.7Secrets10.0Transparency10.0
Analysis confidence94%
How much of the server the scanner could read: tools analyzed, files parsed, limits hit.
Code Safetypartly traced—

Paths from tool input into commands, SQL, files and URLs

Capability Exposurepartly traced—

How much power the tools give an agent over the machine

Prompt Integritynothing published yet10.0/10

Hidden instructions and poisoning in text for the model

Supply Chain2.7/10Poor

Known vulnerabilities in the packages the server uses

Secrets & Credentialsnothing published yet10.0/10

How the server reads credentials and where they can go

Behavior Transparencynothing published yet10.0/10

Whether the tools do only what their descriptions say

How far the analysis went

The scanner traces each tool from its input to the operations its code performs, and here it could not follow every path. Code Safety and Capability Exposure are shown as partly traced instead of a score: no finding there is not a clean result.

  • 1 file exceeded the 524288 byte size limit and were parsed only up to it
  • 1 source file could be read only in part

Top risks in plain words

  • CRITICAL8 production dependencies have known vulnerabilities (worst: critical).

How to use it safely

Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.

  • Give it a narrowly scoped token

    Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.

  • Update its vulnerable packages

    Use @modelcontextprotocol/sdk 1.32.0 or later, body-parser 2.4.0 or later, form-data 4.0.6 or later, path-to-regexp 8.4.0 or later and 4 more.

  • Keep confirmations on

    Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.

What its tools can do on your machine

The server offers 3 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.

Read environment variablesoften where API keys are kept
make_api_request
1 of 3

No tool was seen to: start other programs on the machine; read or write files; connect to the internet or other hosts; read passwords, tokens or keys; touch sensitive locations.

Where its requests and secrets go

Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.

Hosts written in the code

The literal addresses the tools' requests name.

  • None: no request names a fixed host.
Addresses from settings

Constants or settings that start an address; the value comes from configuration.

  • None seen.
Secrets it reads

Credential-like environment variables. Give the server a key with the least access it needs.

  • None: no credential-like variable is read by the tools.

Text it brings in from outside

No tool was seen returning text from outside the server to the model.

Tool annotations

No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.

Tools, prompts and resources (3: 3 tools)

Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.

get_service_infotool Get information about a Square API service. Call me before trying to get type info
Get information about a Square API service. Call me before trying to get type info
get_type_infotool Get type information for a Square API method. You must call this before calling the make_api_request tool.
Get type information for a Square API method. You must call this before calling the make_api_request tool.
make_api_requesttool Env vars
No description.

Text the model reads (3)

Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.

make_api_request tool
get_type_info tool
Get type information for a Square API method. You must call this before calling the make_api_request tool.
get_service_info tool
Get information about a Square API service. Call me before trying to get type info

What we checked

The same checks run on every server. Each line below has one of these marks:

FoundA published issue such as a risky tool or a CVE
PassedWe ran the check on this server and found nothing
After reviewChecked; we publish it once a person verifies it
Partly tracedRan, but the scanner could not follow every path to its end
FactWhat the code does, not a judgement either way
Not checkedThe scanner had nothing to read for it, or it needs the live server
Code Safetypartly traced
  • 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injection
    Checked on every scan. Results in this category are published only after a person has verified them.
Capability Exposurepartly traced
  • Runs programs the caller chooses
    No tool runs a command or program the caller supplies — 3 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Executes caller-supplied code
    No tool evaluates code the caller supplies — 3 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Reads or writes any file path
    No tool works on a file path the caller supplies without a root check — 3 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Requests any address
    No tool sends a request to an address the caller supplies — 3 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Runs caller-supplied SQL
    No tool executes a query the caller supplies — 3 tool handlers traced. Not every path could be followed, so this is not a clean pass.
  • Tools that start processes
    Not seen in the traced code of 3 capabilities; 3 more call code the scanner could not follow, where it may happen
  • Tools that touch files
    Not seen in the traced code of 3 capabilities; 3 more call code the scanner could not follow, where it may happen
  • Tools that call the network
    Not seen in the traced code of 3 capabilities; 3 more call code the scanner could not follow, where it may happen
Where the code is: 3 handlers in 1 file at commit b276734fe2f1
Prompt Integrity10.0
  • 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrity
    Checked on every scan. Results in this category are published only after a person has verified them.
Supply Chain2.7
  • Dependency manifests
    1 manifest: package.json
  • Lockfiles checked against OSV
    1 file resolved and checked against the OSV database
  • Known vulnerabilities in production dependencies CRITICAL
    8 production packages with known advisories
  • Known vulnerabilities in other dependencies
    2 packages with advisories used only for development, tests or examples; an install of the server leaves them out
  • MCP SDK version
    @modelcontextprotocol/sdk ^1.5.0
Secrets & Credentials10.0
  • 3 checks: credential harvesting, undeclared credential access, credentials sent over the network
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tools that read credentials
    Not seen in the traced code of 3 capabilities; 3 more call code the scanner could not follow, where it may happen
  • Environment variables
    1 capability reads environment variables (often API keys)
  • Authentication declared
    Not checked: needs the live server's tools/list (a remote server declares how clients authenticate)
Behavior Transparency10.0
  • 3 checks: undeclared network access, undeclared file access, undeclared process execution
    Checked on every scan. Results in this category are published only after a person has verified them.
  • Tool descriptions present
    Every tool has a description the model and the user can read (1 only in code no tool reaches)
  • Statically known names
    Every tool's name could be read from the code
  • Input schemas
    Not checked: needs the live server's tools/list (every tool declares an input schema)
  • Destructive tools annotated
    Not checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)

Dependencies with known vulnerabilities (8 in production)

PackageInstalledWorstAdvisoriesFixed in
form-datanpm 4.0.2 CRITICAL 2 advisories 2.5.42.5.63.0.4+3 more
  • CRITICALGHSA-fjxv-7rqg-78g4 CVE-2025-7783form-data uses unsafe random function in form-data for choosing boundary
  • HIGHGHSA-hmw2-7cc7-3qxx CVE-2026-12143form-data: CRLF injection in form-data via unescaped multipart field names and filenames
proxy-addrnpm 2.0.7 CRITICAL 1 advisory 2.0.8
  • CRITICALGHSA-jqcg-44mw-7w3h CVE-2026-90711proxy-addr vulnerable to IP spoofing via IPv4-mapped IPv6 trust subnet
@modelcontextprotocol/sdknpm 1.9.0 HIGH 5 advisories 1.24.01.25.21.32.0
  • HIGHGHSA-46jr-4wx8-v453 CVE-2026-111768MCP TypeScript SDK: One HTTP request within the default size limit could exhaust server memory during validation
  • HIGHGHSA-w48q-cv73-mx4w CVE-2025-66414Model Context Protocol (MCP) TypeScript SDK does not enable DNS rebinding protection by default
  • HIGHGHSA-8r9q-7v3j-jr4g CVE-2026-0621Anthropic's MCP TypeScript SDK has a ReDoS vulnerability
  • MEDIUMGHSA-6prh-2h8m-c8cw CVE-2026-111769MCP TypeScript client SDK: HTTP client transports and OAuth requests followed cross-origin redirects and re-sent custom headers and request bodies
  • MEDIUMGHSA-rvq5-wwqv-78pq CVE-2026-111771MCP TypeScript SDK: Server bearer authentication accepted tokens issued for another service
body-parsernpm 2.2.0 HIGH 3 advisories 1.20.61.20.92.2.1+2 more
  • HIGHGHSA-27r3-jxmh-p828 CVE-2026-111181body-parser vulnerable to Denial of Service via trailing bytes after a compressed request body
  • MEDIUMGHSA-wqch-xfxh-vrr4 CVE-2025-13466body-parser is vulnerable to denial of service when url encoding is used
  • LOWGHSA-v422-hmwv-36x6 CVE-2026-12590body-parser vulnerable to denial of service when invalid limit value silently disables size enforcement
path-to-regexpnpm 8.2.0 HIGH 2 advisories 8.4.0
  • HIGHGHSA-j3q9-mxjg-w52f CVE-2026-4926path-to-regexp vulnerable to Denial of Service via sequential optional groups
  • MEDIUMGHSA-27v5-c462-wpq7 CVE-2026-4923path-to-regexp vulnerable to Regular Expression Denial of Service via multiple wildcards
zodnpm 3.24.2 HIGH 1 advisory 4.6.6
  • HIGHGHSA-mrhx-c7xc-m3w5 CVE-2023-54404Zod can exhaust memory while validating oversized constrained collections
qsnpm 6.14.0 MEDIUM 5 advisories 6.14.16.14.26.15.2+2 more
  • MEDIUMGHSA-4mjr-xmp4-gh2g CVE-2026-82417qs: Denial of Service via Attacker Controlled isBuffer
  • MEDIUMGHSA-q8mj-m7cp-5q26 CVE-2026-8723qs has a remotely triggerable DoS: qs.stringify crashes with TypeError on null/undefined entries in comma-format arrays when encodeValuesOnly is set
  • MEDIUMGHSA-6rw7-vpxm-498p CVE-2025-15284qs's arrayLimit bypass in its bracket notation allows DoS via memory exhaustion
  • MEDIUMGHSA-6pq8-jhm2-2vcw CVE-2026-110816qs : qs.stringify with arrayFormat 'comma' throws an uncaught TypeError on array elements carrying a non-callable own toString (DoS)
  • LOWGHSA-w7fw-mjwx-w883 CVE-2026-2391qs's arrayLimit bypass in comma parsing allows denial of service
yamlnpm 2.7.1 MEDIUM 1 advisory 1.10.32.8.3
  • MEDIUMGHSA-48c2-rrv3-qjmp CVE-2026-33532yaml is vulnerable to Stack Overflow via deeply nested YAML collections
2 vulnerable packages outside the server itself (used only for development, tests or examples, not shipped)
PackageInstalledWorstAdvisoriesFixed in
brace-expansionnpm 1.1.11 HIGH 8 advisories 1.1.121.1.131.1.16+28 more
  • HIGHGHSA-6j4f-fj2g-mc7p CVE-2026-102276brace-expansion: DoS via uncontrolled recursion in parseCommaParts causing stack exhaustion
  • HIGHGHSA-qhr7-859c-m2p7 CVE-2026-102278brace-expansion: DoS via uncontrolled recursion on nested brace groups causing stack exhaustion
  • HIGHGHSA-3jxr-9vmj-r5cp CVE-2026-13149brace-expansion: DoS via exponential-time expansion of consecutive non-expanding {} groups
  • HIGHGHSA-mh99-v99m-4gvg CVE-2026-14257brace-expansion: DoS via unbounded expansion length causing an out-of-memory process crash
  • HIGHGHSA-rgw5-rvv9-x895 CVE-2026-69152brace-expansion: DoS via unbounded intermediate arrays, bypassing the CVE-2026-14257 mitigation
  • MEDIUMGHSA-f886-m6hf-6m8v CVE-2026-33750brace-expansion: Zero-step sequence causes process hang and memory exhaustion
  • MEDIUMGHSA-q2hr-2g5m-vwhr CVE-2026-102277brace-expansion: Quadratic-time expansion of the `{a},b}` rewrite causes CPU denial of service
  • LOWGHSA-v6h2-p8h4-qcjw CVE-2025-5889brace-expansion Regular Expression Denial of Service vulnerability
minimatchnpm 3.1.2 HIGH 3 advisories 3.1.33.1.44.2.4+13 more
  • HIGHGHSA-7r86-cg39-jmmj CVE-2026-27903minimatch has ReDoS: matchOne() combinatorial backtracking via multiple non-adjacent GLOBSTAR segments
  • HIGHGHSA-23c5-xmqv-rm74 CVE-2026-27904minimatch ReDoS: nested *() extglobs generate catastrophically backtracking regular expressions
  • HIGHGHSA-3ppc-4f35-3m26 CVE-2026-26996minimatch has a ReDoS via repeated wildcards with non-matching literal in pattern

Past security advisories

Vulnerabilities published for this server itself, from the GitHub Advisory Database.

No security advisories have been published for this server in the GitHub Advisory Database.

How it runs

Where it runsOn your machine, started by your MCP client from this repository or its package
Transportstdio
Sign-innot checked needs the live server
MCP SDK@modelcontextprotocol/sdk ^1.5.0
Servers in the code1 (square-mcp)

The project's own security

Security policynone no SECURITY.md in the repository: report issues privately through GitHub if it is enabled
Past advisoriesnone in the GitHub Advisory Database
Last push2026-10-14
Signed releasesnot checked yet

Where it is published

Listed in7 catalogs (awesome_habitoai, awesome_tensorblock, awesome_wong2, github_search, glama, mcp_toplist, mcpservers_org)
LicenseApache-2.0
Created2025-04-23

Attack map

How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.

Request a scan or an audit

Tell us about your server. We reply within 5 working days.

What do you need? *

We use these details only to answer you.