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

@sanity/vision

Latest version: v6.26.0-next.96

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
npm package Publisher: sanity-io, sanity-svc.npm
6,408 Stars
563 Forks
80 Versions
4.1M Downloads
TypeScript Repo language

Scan summary

@sanity/vision was last scanned on 30 Nov 2026 at version 6.26.0-next.96. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 80 versions; the latest 5 were published within 3 days (28–30 Nov 2026).
  • Findings: No rules fired in version 6.26.0-next.96.
  • Downloads: 4,096,345 downloads.

Versions

80 versions published
Versions and the rules that fired in each
VersionPublishedStatus
6.26.0-next.96 LATEST 30 Nov 2026 No rules fired
6.26.0-next.85 30 Nov 2026 No rules fired
7.0.0-next-major.20261130140537 30 Nov 2026 No rules fired
6.26.0-next.66 28 Nov 2026 Not shown
7.0.0-next-major.20261128070445 28 Nov 2026 Not shown

No rules fired in 6.26.0-next.96

Findings

Findings for v6.26.0-next.96. 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 6.26.0-next.96; other versions have their own rules, not their own score.

README

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

sanity-vision

Vision is a plugin for Sanity Studio for testing GROQ queries. It features:

  • GROQ syntax highlighting so that the query is easier to read
  • Parsed response that's more convenient to navigate and explore
  • Switching between datasets
  • Listening for real-time updates

Installation

npm install --save-exact @sanity/vision

Configuring
import {visionTool} from '@sanity/vision'
// `sanity.config.ts` / `sanity.config.js`:
import {defineConfig} from 'sanity'

export default defineConfig({
  // ...
  plugins: [
    visionTool({
      // Note: These are both optional
      defaultApiVersion: 'v2021-10-21',
      defaultDataset: 'some-dataset',
    }),
  ],
})
Only enabling it for development

If you only want the Vision tool available in development (e.g., not in deployed studios), you can import and use the isDev constant from the sanity package:

import {visionTool} from '@sanity/vision'
// `sanity.config.ts` / `sanity.config.js`:
import {defineConfig, isDev} from 'sanity'

const devOnlyPlugins = [visionTool()]

export default defineConfig({
  // ...
  plugins: [
    // ... your other plugins here ...
    ...(isDev ? devOnlyPlugins : []),
  ],
})
Only enabling it for administrators

If you only want the Vision tool available to administrators, you can use the Tool API to filter out the tool based on role:

import {visionTool} from '@sanity/vision'
// `sanity.config.ts` / `sanity.config.js`:
import {defineConfig} from 'sanity'

export default defineConfig({
  // ... name, title, projectId, dataset, etc.
  plugins: [
    // ... your other plugins here ...
    visionTool(),
  ],
  tools: (prev, {currentUser}) => {
    const isAdmin = currentUser?.roles.some((role) => role.name === 'administrator')

    // If the user has the administrator role, return all tools.
    // If the user does not have the administrator role, filter out the vision tool.
    return isAdmin ? prev : prev.filter((tool) => tool.name !== 'vision')
  },
})

License

MIT-licensed. See LICENSE.

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 @sanity/vision

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

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

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

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Frame 2085668439 (1)
Group 1261154229