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

@clarity-js/language-server

Latest version: v1.3.0

Overview

Last scanned
30 Nov 2026
Published
30 Nov 2026
npm package Publisher: ozsarman
3 Versions

Scan summary

@clarity-js/language-server was last scanned on 30 Nov 2026 at version 1.3.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 3 versions, all published on 30 Nov 2026.
  • Findings: No rules fired in version 1.3.0.

Versions

3 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.3.0 LATEST 30 Nov 2026 No rules fired
1.1.0 30 Nov 2026 No rules fired
0.0.0-stage 30 Nov 2026 Not shown

No rules fired in 1.3.0

Findings

Findings for v1.3.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 1.3.0; other versions have their own rules, not their own score.

README

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

@clarity-js/language-server

Clarity.js .clarity files in any editor that speaks the Language Server Protocol. (VS Code has its own extension, Clarity.js, which needs no server.)

npm i -g @clarity-js/language-server
clarity-language-server --stdio

What it gives the editor:

  • errors and warnings as you type: what the compiler refuses, and what it lets through but is almost surely a mistake (a name nobody declared, an assignment to a computed, an event modifier that does not exist, a <list> without items, a timer nobody clears, …). Each one carries the rule's name as its code; the rules are set in the project's .clarity-lint.json
  • completion by where the caret is: declarations, names in scope, tags, attributes, events and their modifiers
  • hover: what a name is, and whether an AI agent may read or call it
  • go to definition (into another file for an imported component), the outline
  • formatting (whitespace only; never changes what the file compiles to) and quick fixes

It asks @ozsarman/clarityjs/language for everything it knows: the copy in the open project's node_modules when the project has Clarity.js 1.1 or later, the copy it was installed with otherwise. So the editor speaks the language of the compiler that will build the file. The protocol (JSON-RPC over stdin and stdout) is written out in the server itself: it has no dependency but Clarity.js.

Neovim (0.10 or later)

vim.filetype.add({ extension = { clarity = 'clarity' } })

vim.api.nvim_create_autocmd('FileType', {
  pattern = 'clarity',
  callback = function(args)
    vim.lsp.start({
      name = 'clarity',
      cmd = { 'clarity-language-server', '--stdio' },
      root_dir = vim.fs.root(args.buf, { 'package.json', '.git' }),
    })
  end,
})

Helix

~/.config/helix/languages.toml:

[language-server.clarity]
command = "clarity-language-server"
args = ["--stdio"]

[[language]]
name = "clarity"
scope = "source.clarity"
file-types = ["clarity"]
roots = ["package.json"]
comment-token = "//"
language-servers = ["clarity"]

Any other client

Start clarity-language-server --stdio for files ending in .clarity, with the project's folder as the root. The server asks for whole documents on change and offers: diagnostics, completion (trigger characters < : . [), hover, definition, document symbols, formatting, code actions.

MIT. Source: https://gitlab.com/ozsarman/clarity.js/-/tree/master/packages/clarity-language-server

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 @clarity-js/language-server

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

PolinRider Returns
Research

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

Microsoft's Official agent framework Hijacked
AI & VibeSec

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

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

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

Frame 2085668439 (1)
Group 1261154229