Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@limetry/sql

Latest version: v1.2.104-beta.3

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
npm package Publisher: jeremydavidson
1 Stars
1 Forks
29 Versions
2.1K Downloads
TypeScript Repo language

Scan summary

@limetry/sql was last scanned on 23 Nov 2026 at version 1.2.104-beta.3. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 29 versions; the latest 5 were published within 4 days (20–23 Nov 2026).
  • Findings: No rules fired in version 1.2.104-beta.3.
  • Downloads: 2,050 downloads.

Versions

29 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.2.104-beta.3 LATEST 23 Nov 2026 No rules fired
1.2.103 23 Nov 2026 No rules fired
1.2.102 23 Nov 2026 No rules fired
1.2.101 23 Nov 2026 Not shown
1.2.95 20 Nov 2026 Not shown

No rules fired in 1.2.104-beta.3

Findings

Findings for v1.2.104-beta.3. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 1.2.104-beta.3; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@limetry/sql

[!NOTE] Origin: A Cursor user asked Claude to clean up test data in their Supabase project. The generated DELETE matched far more rows than intended because the agent held DATABASE_URL directly. @limetry/sql owns the connection string instead: it classifies each statement, evaluates an ActionIntent, and only executes what the policy allows.

Postgres / Supabase write gate that owns DATABASE_URL and evaluates SQL intents with Limetry before execute. Agents never receive write credentials from this package.

There is no Supabase Marketplace app. Point DATABASE_URL (or SUPABASE_DB_URL) at any Postgres, including a Supabase project, then evaluate sql.read / sql.write / sql.ddl before the driver runs.

Live demo in this repo

.github/workflows/limetry-sql-gate.yml starts Postgres 16 plus a Limetry node, applies policies/postgres.json, then:

  1. Evaluates SELECT 1 AS ok — must allow and execute on the job's Postgres.
  2. Evaluates DROP TABLE customers — must deny (sql.ddl) before Postgres is touched.
  3. Evaluates DELETE FROM customers — must deny (sql.write) before Postgres is touched.

Customers copy that policy and run the same gate in-process or as MCP against their own Supabase connection string.

Install

npm install @limetry/sql @limetry/sdk @modelcontextprotocol/sdk pg

This installs published packages, so npm, Yarn, or pnpm are valid choices. For a cloned Limetry repository, use the root Yarn Berry workspace instructions instead of installing from the workspace.

MCP

{
  "mcpServers": {
    "limetry-sql": {
      "command": "npx",
      "args": ["-y", "@limetry/sql"],
      "env": {
        "DATABASE_URL": "postgresql://...",
        "LIMETRY_API_KEY": "...",
        "LIMETRY_POLICY_ID": "...",
        "LIMETRY_BASE_URL": "http://localhost:3810",
        "LIMETRY_SQL_DRY_RUN": "true"
      }
    }
  }
}

Tools:

  • limetry_sql_query — classify → evaluate → optional execute
  • limetry_sql_list_pending — statements that returned approval_required

Classification is a conservative keyword heuristic (read / write / ddl / unknown). Statements that do not classify cleanly map to sql.write, so the failure mode is over-gating rather than an unguarded write. Postgres-compatible connection strings only.

[!WARNING] LIMETRY_SQL_DRY_RUN defaults to dry-run (on unless explicitly "false"). Set it to "false" to let allowed reads actually execute.

Apply the repo policy on your evaluation server

limetry setup
limetry policy apply --file packages/sql/policies/postgres.json

policies/postgres.json is read-only by design: sql.write and sql.ddl are denied outright, with no approval path. To use limetry_sql_list_pending, add those types to require_approval_action_types in your own policy.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @limetry/sql

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Frame 2085668439 (1)
Group 1261154229