Scan your whole stack
From OX Research Newsroom
Are you using @duskmoon-dev/code-engine?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v2.5.0
@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.
| Version | Published | Status |
|---|---|---|
| 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 |
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.
The publisher’s own README, as collected from the registry.
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.
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.
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")!,
});
| 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.
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.
MIT and upstream notices.
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.
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).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.