jparkerweb/mcp-sqlite
🐇 Model Context Protocol (MCP) server that provides comprehensive SQLite database interaction capabilities
e9d6e5f99757mcp-sqlite1.0.9 in package.jsonPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
Top risks in plain words
- CRITICAL12 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.
- Update its vulnerable packages
Use
@modelcontextprotocol/sdk1.32.0 or later,ajv6.14.0 or later,body-parser2.4.0 or later,brace-expansion1.1.21 or later and 8 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 8 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.
None of the tools reaches any of these in the code the scanner could trace.
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.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
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 (8: 8 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
create_recordtool Insert a new record into a table with specified data
Insert a new record into a table with specified data
db_infotool Get information about the SQLite database including path, existence, size, and table count
Get information about the SQLite database including path, existence, size, and table count
delete_recordstool Delete records from a table based on specified conditions
Delete records from a table based on specified conditions
get_table_schematool Get the schema information for a specific table including column details
Get the schema information for a specific table including column details
list_tablestool List all user tables in the SQLite database (excludes system tables)
List all user tables in the SQLite database (excludes system tables)
querytool Execute a raw SQL query against the database with optional parameter values
Execute a raw SQL query against the database with optional parameter values
read_recordstool Read records from a table with optional conditions, limit, and offset
Read records from a table with optional conditions, limit, and offset
update_recordstool Update records in a table based on specified conditions
Update records in a table based on specified conditions
Text the model reads (8)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
db_info tool
Get information about the SQLite database including path, existence, size, and table count
query tool
Execute a raw SQL query against the database with optional parameter values
list_tables tool
List all user tables in the SQLite database (excludes system tables)
get_table_schema tool
Get the schema information for a specific table including column details
create_record tool
Insert a new record into a table with specified data
read_records tool
Read records from a table with optional conditions, limit, and offset
update_records tool
Update records in a table based on specified conditions
delete_records tool
Delete records from a table based on specified conditions
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 8 tool handlers traced
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 8 tool handlers traced
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 8 tool handlers traced
- Requests any addressNo tool sends a request to an address the caller supplies — 8 tool handlers traced
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 8 tool handlers traced
- Tools that start processesNot seen in the traced code of 8 capabilities; 8 more call code the scanner could not follow, where it may happen
- Tools that touch filesNot seen in the traced code of 8 capabilities; 8 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 8 capabilities; 8 more call code the scanner could not follow, where it may happen
Where the code is: 8 handlers in 1 file at commit e9d6e5f99757
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests1 manifest: package.json
- Lockfiles checked against OSV1 file resolved and checked against the OSV database
- Known vulnerabilities in production dependencies CRITICAL12 production packages with known advisories
- Known vulnerabilities in other dependencies1 package with advisories used only for development, tests or examples; an install of the server leaves them out
- MCP SDK version@modelcontextprotocol/sdk ^1.12.1
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 8 capabilities; 8 more call code the scanner could not follow, where it may happen
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (12 in production)
tarnpm 6.2.1 CRITICAL 12 advisories 7.5.37.5.47.5.7+8 more
- CRITICALGHSA-23hp-3jrh-7fpw CVE-2026-59873node-tar: Decompression/parse DoS via unlimited input
- HIGHGHSA-r6q2-hw4h-h46w CVE-2026-23950Race Condition in node-tar Path Reservations via Unicode Ligature Collisions on macOS APFS
- HIGHGHSA-9ppj-qmqm-q256 CVE-2026-31802node-tar Symlink Path Traversal via Drive-Relative Linkpath
- HIGHGHSA-34x7-hfp2-rc4v CVE-2026-24842node-tar Vulnerable to Arbitrary File Creation/Overwrite via Hardlink Path Traversal
- HIGHGHSA-qffp-2rhf-9h96 CVE-2026-29786tar has Hardlink Path Traversal via Drive-Relative Linkpath
- HIGHGHSA-8x88-c5mf-7j5w CVE-2026-59874node-tar: Negative tar entry size causes infinite loop in archive replace
- HIGHGHSA-8qq5-rm4j-mr97 CVE-2026-23745node-tar is Vulnerable to Arbitrary File Overwrite and Symlink Poisoning via Insufficient Path Sanitization
- HIGHGHSA-83g3-92jg-28cx CVE-2026-26960Arbitrary File Read/Write via Hardlink Target Escape Through Symlink Chain in node-tar Extraction
- HIGHGHSA-r292-9mhp-454m CVE-2026-73566node-tar: Uncontrolled recursion in mapHas/filesFilter allows uncatchable stack-overflow DoS via crafted long-path tar with member selection
- MEDIUMGHSA-vmf3-w455-68vh CVE-2026-53655node-tar applies PAX size override to intermediary GNU long-name/long-link headers, causing tar parser interpretation differential (file smuggling)
- MEDIUMGHSA-w8wr-v893-vjvp CVE-2026-59871node-tar: Process crash via PAX numeric path type confusion
- MEDIUMGHSA-gvwx-54wh-qm9j CVE-2026-59875node-tar: Uncaught Exception DoS via NUL byte in PAX path/linkpath records
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.12.1 HIGH 8 advisories 1.24.01.25.21.26.0+3 more
- HIGHGHSA-8r9q-7v3j-jr4g CVE-2026-0621Anthropic's MCP TypeScript SDK has a ReDoS vulnerability
- 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-f897-62hf-6gxqMCP TypeScript SDK: HTTP server transports and handlers did not limit request body size or JSON-RPC batch length
- HIGHGHSA-345p-7cg4-v4c7 CVE-2026-25536@modelcontextprotocol/sdk has cross-client data leak via shared server/transport instance reuse
- HIGHGHSA-6qxp-vccf-f47h CVE-2026-104850MCP TypeScript SDK: OAuth client could send credentials to an authorization server chosen by the MCP server
- 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
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
ip-addressnpm 9.0.5 HIGH 6 advisories 10.1.110.3.110.5.1+2 more
- HIGHGHSA-mwp4-54f8-5fhr CVE-2026-69192ip-address: Address4 decodes leading-zero octets as decimal while resolvers decode them as octal, allowing SSRF and trust-boundary bypass
- MEDIUMGHSA-rxp7-6hxx-x8q5 CVE-2026-111997ip-address: Address6 matches a zone identifier in quadratic time ahead of its length limit, allowing a single long string to stall the process
- MEDIUMGHSA-rpw4-54j3-4h4q CVE-2026-101913ip-address: Address6.isLinkLocal() recognizes fe80::/64 rather than fe80::/10, allowing SSRF and trust-boundary bypass to on-link hosts
- MEDIUMGHSA-h3mg-xc3c-68pw CVE-2026-101911ip-address: Address6 builds a parse diagnostic proportional to the input with no length bound, allowing a single long string to stall or crash the process
- MEDIUMGHSA-j6r3-76f7-8jcv CVE-2026-101912ip-address: isInSubnet() and isHostInSubnet() compare addresses of different families as if they shared an address space, allowing an allowlist check to admit an address outside its range
- MEDIUMGHSA-v2v4-37r5-5v8g CVE-2026-42338ip-address has XSS in Address6 HTML-emitting methods
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
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
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
tar-fsnpm 2.1.3 HIGH 1 advisory 1.16.62.1.43.1.1
- HIGHGHSA-vj76-c3g6-qr5v CVE-2025-59343tar-fs has a symlink validation bypass if destination directory is predictable with a specific tarball
zodnpm 3.25.48 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
ajvnpm 6.12.6 MEDIUM 1 advisory 6.14.08.18.0
- MEDIUMGHSA-2g4f-4pwh-qvx6 CVE-2025-69873ajv has ReDoS when using `$data` option
1 vulnerable package outside the server itself (used only for development, tests or examples, not shipped)
@tootallnate/oncenpm 1.1.2 LOW 1 advisory 2.0.13.0.1
- LOWGHSA-vpq2-c234-7xj6 CVE-2026-3449@tootallnate/once vulnerable to Incorrect Control Flow Scoping
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 runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | @modelcontextprotocol/sdk ^1.12.1 |
| Servers in the code | 1 (mcp-sqlite-server) |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-04-05 |
| Signed releases | not checked yet |
Install it
For the server's own npm package mcp-sqlite. Pin a version ([email protected]) so an update cannot change the tools without you noticing.
Claude Desktop claude_desktop_config.json
{
"mcpServers": {
"mcp-sqlite": {
"command": "npx",
"args": [
"-y",
"mcp-sqlite"
]
}
}
}Cursor ~/.cursor/mcp.json
{
"mcpServers": {
"mcp-sqlite": {
"command": "npx",
"args": [
"-y",
"mcp-sqlite"
]
}
}
}VS Code .vscode/mcp.json
{
"servers": {
"mcp-sqlite": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"mcp-sqlite"
]
}
}
}Claude Code terminal
claude mcp add mcp-sqlite -- npx -y mcp-sqliteWhere it is published
| npm package | mcp-sqlite |
|---|---|
| Other npm packages | 1 package by other publishers point to this repositoryNot published by the repository's owner; check who publishes a package before you install it. |
| Downloads | 4 241 a month on npm (including the other packages) |
| Listed in | 6 catalogs (awesome_punkpeye, awesome_tensorblock, github_search, glama, mcp_toplist, npm) |
| License | MIT |
| Created | 2025-04-05 |
| Topics | aitooling cursor database development equill-service mcp nodejs sqlite windsurf |
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.