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

@duskmoon-dev/code-engine

Latest version: v2.5.0

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
npm package Publisher: gsmlg
0 Stars
0 Forks
11 Versions
2.4K Downloads
TypeScript Repo language

Scan summary

@duskmoon-dev/code-engine was last scanned on 29 Nov 2026 at version 2.5.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 11 versions; the latest 5 were published within 4 days (26–29 Nov 2026).
  • Findings: No rules fired in version 2.5.0.
  • Downloads: 2,432 downloads.

Versions

11 versions published
Versions and the rules that fired in each
VersionPublishedStatus
2.5.0 LATEST 29 Nov 2026 No rules fired
2.4.1 29 Nov 2026 No rules fired
2.4.0 29 Nov 2026 No rules fired
2.3.0 29 Nov 2026 Not shown
2.2.0 26 Nov 2026 Not shown

No rules fired in 2.5.0

Findings

Findings for v2.5.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 2.5.0; other versions have their own rules, not their own score.

README

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

@duskmoon-dev/code-engine

Web CI npm version

A framework-independent TypeScript editor with vendored CodeMirror 6 and Lezer and zero runtime dependencies. The optional Duskmoon theme reads host CSS variables. Use the Custom Element adapter for <el-dm-code-engine>. The Yew editor engine ships separately through crates.io.

Install

bun add @duskmoon-dev/code-engine

The package ships ESM and TypeScript declarations and can be installed on its own. Web release candidates use the npm rc tag after publication.

Quick Start

import { EditorState } from "@duskmoon-dev/code-engine/state";
import { EditorView } from "@duskmoon-dev/code-engine/view";
import { basicSetup } from "@duskmoon-dev/code-engine/setup";
import { javascript } from "@duskmoon-dev/code-engine/lang/javascript";

new EditorView({
  state: EditorState.create({
    doc: 'console.log("Hello!");',
    extensions: [basicSetup, javascript()],
  }),
  parent: document.getElementById("editor")!,
});

Exports

Path Description
Package root Editor APIs and shared utilities
/state EditorState, Transaction, Text, StateField, StateEffect
/view EditorView, ViewPlugin, Decoration, keymap, tooltips, panels, gutters
/language Language, HighlightStyle, fold, indent, bracket matching
/commands Default keymaps, history, undo/redo
/search Search & replace
/autocomplete Autocomplete, snippets, close brackets
/lint Linting framework
/collab Collaborative editing
/merge Merge view
/lsp LSP client integration
/language-data Language metadata
/parser/common Tree, SyntaxNode, Parser interface
/parser/lr LR parser implementation
/parser/highlight Syntax highlighting tags
/lang/* Language packs including JavaScript, Python, Markdown, Rust, Elixir, Erlang, HEEx, Dart, Zig, and Caddyfile
/lang/legacy/* Stream modes: Elixir, Ruby, Erlang, Dart, Swift, Kotlin, Lua, Shell, Dockerfile, TOML, Nginx, Nix, Haskell, and more
/theme/one-dark One Dark theme
/theme/duskmoon DuskMoonUI theme (CSS custom properties)
/theme/sunshine, /theme/moonlight Fixed light and dark Duskmoon themes
/keymaps/vim Vim keybindings
/keymaps/emacs Emacs keybindings
/setup basicSetup and minimalSetup extension arrays

See package.json for all declared entry points, including the legacy stream mode wildcard.

Development

From the Duskmoon Web root, use Bun 1.4.0.

bun install --frozen-lockfile
bun run --filter @duskmoon-dev/code-engine-playground dev
bun run build:apps @duskmoon-dev/code-engine-playground
bun run test:packages @duskmoon-dev/code-engine
bun run --filter @duskmoon-dev/code-engine typecheck
bun run --filter @duskmoon-dev/code-engine verify

The workspace build emits split ESM, legacy modes, declaration files, and shared chunks. The private playground uses source during development and built exports in production. Releases are staged and verified by Duskmoon Web.

UPSTREAM.md records the vendored revisions. Keep parser sources and generated files together when updating a grammar. The sync-upstream.ts utility provides import rewriting helpers and prints the manual sync procedure.

License

MIT and upstream notices.

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 @duskmoon-dev/code-engine

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

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

PolinRider Returns
Research

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

Frame 2085668439 (1)
Group 1261154229