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

@nongt/visql

Latest version: v0.13.0

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: nongt
17 Versions
1.6K Downloads

Scan summary

@nongt/visql was last scanned on 29 Nov 2026 at version 0.13.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 17 versions; the latest 4 were published within 7 days (23–29 Nov 2026).
  • Findings: No rules fired in version 0.13.0.
  • Downloads: 1,586 downloads.

Versions

17 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.13.0 LATEST 29 Nov 2026 No rules fired
0.12.2 28 Nov 2026 No rules fired
0.12.1 23 Nov 2026 No rules fired
0.12.0 23 Nov 2026 Not shown
0.11.0 19 Nov 2026 Not shown

No rules fired in 0.13.0

Findings

Findings for v0.13.0. 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 0.13.0; other versions have their own rules, not their own score.

README

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

visql

visql is a React component for building SQL queries without writing SQL. People lay a query out on a canvas (the tables, how they join, the conditions, the groups, the columns they want) and your app gets back a JSON description of it. You can store that, open it again later, check it, and turn it into SQL for MySQL, PostgreSQL or SQL Server.

I built it for report screens, where the people asking the questions know the data but not SQL. Because the query travels as data rather than as SQL, nothing a browser sends is ever run as SQL: your backend checks the query and writes the SQL itself.

visql is published as is, under the MIT license. I'm not taking issues or pull requests at the moment.

What's in it

The canvas follows the order a database works in: FROM, then WHERE, then grouping, then SELECT, then sorting and paging.

  • Tables and joins, with the join condition suggested from your foreign keys. Pick a table that isn't directly related and the tables in between come with it.
  • Conditions in nested AND / OR / NOT groups, reordered by dragging. That includes IN, BETWEEN, IS NULL, and EXISTS for "customers with at least one order over 1,000".
  • GROUP BY and HAVING. Add a SUM next to a column and the column becomes a group key by itself.
  • Any expression as a value or a column: functions, IF, CASE, arithmetic. When one gets big, it opens on a canvas of its own.
  • Sub queries, UNION ALL and WITH, each edited on its own canvas. These are off until you turn them on.
  • A Run button that hands the query to your backend and shows the rows it returns, and a Check performance button that shows what the database's query plan says: a table read whole, an index it would need, a big sort. The plan readers for PostgreSQL, SQL Server and MySQL are in the server package.
  • Undo and redo, read-only mode, per-user table and column visibility, translations, themes, right-to-left and vertical layouts, and a swappable UI kit (MUI is the default).

Install

pnpm add @nongt/visql react react-dom @xyflow/react iconoir-react
# the MUI kit, which is what most apps use
pnpm add @mui/material @emotion/react @emotion/styled @emotion/cache

On a server you only need the query logic, which comes as its own package with no dependencies:

pnpm add @nongt/visql-core

The editor works with React 18.2 or later, and 19. Both packages are always released together with the same version. Keep the editor and the server on the same version so the server can read every query the editor writes.

Quick start

import { useState } from 'react';
import { QueryBuilder } from '@nongt/visql/mui';
import { astToSql, hasBaseTable, type QueryValue } from '@nongt/visql';
import '@nongt/visql/style.css';
import { schema } from './schema';

export function ReportEditor() {
  const [query, setQuery] = useState<QueryValue | null>(null);
  const sql = query && hasBaseTable(query) ? astToSql(query, 'postgres') : '';

  return (
    <>
      <div style={{ height: 600 }}>
        <QueryBuilder schema={schema} value={query} onChange={setQuery} />
      </div>
      <pre>{sql}</pre>
    </>
  );
}

The editor fills its container, so give the container a height. astToSql here writes the values into the SQL, which is fine for showing it. To run a query, send it to your server, check it with validateQuery and write it with astToParameterizedSql.

Documentation

Everything else is on the website, which runs the editor live in its examples:

To run the playground from a clone of the repository, pnpm install and then pnpm dev.

License

MIT

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 @nongt/visql

References

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

Powered by Read the latest findings

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

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Frame 2085668439 (1)
Group 1261154229