registry  /  @lobehub/editor  /  4.20.0

@lobehub/editor@4.20.0

⚠ Under review

A powerful and extensible rich text editor built on Meta's Lexical framework, providing a modern editing experience with React integration.

Static Scan Results

scanned 5d ago · by rust-scanner

Static analysis flagged 11 finding(s) at 86.0% confidence. This version is warn-only unless an AI or security-team review confirms malicious behavior.

Static reason
High-risk behavior combination matched malicious policy.

Decision evidence

public snapshot
Behavioral surface
Source
ChildProcessCryptoEnvironmentVarsFilesystem
Supply chain
HighEntropyStringsUrlStrings
ManifestNo manifest risk signals triggered.
scanned 296 file(s), 1.16 MB of source, external domains: registry.npmmirror.com, www.w3.org

Source & flagged code

4 flagged · loading source
package.jsonView file
devDependencies registry_only=@commitlint/cli,@emotion/is-prop-valid,@lobehub/lint,@lobehub/ui,@shikijs/types,@types/debug,@types/katex,@types/mdast
Critical
Manifest Confusion

Tarball package.json differs from the npm registry version manifest for scripts or dependency sets.

package.jsonView on unpkg
scripts.postinstall = node ./scripts/postinstall-lexical-patch.cjs
High
Install Time Lifecycle Scripts

Package defines install-time lifecycle scripts.

package.jsonView on unpkg
es/plugins/code/plugin/index.jsView file
47contains invisible/control Unicode U+FEFF (zero width no-break space) ctx.appendLine(`\`${node.getTextContent().replaceAll("<U+FEFF>", "")}\``);
Critical
Trojan Source Unicode

Source contains bidi control or invisible Unicode characters associated with Trojan Source attacks.

es/plugins/code/plugin/index.jsView on unpkg · L47
es/headless.jsView file
Trigger-reachable chain: manifest.exports -> es/headless.js Reachable file contains a blocking source-risk pattern.
Critical
Trigger Reachable Dangerous Capability

A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.

es/headless.jsView on unpkg

Findings

3 Critical1 High2 Medium5 Low
CriticalTrojan Source Unicodees/plugins/code/plugin/index.js
CriticalTrigger Reachable Dangerous Capabilityes/headless.js
CriticalManifest Confusionpackage.json
HighInstall Time Lifecycle Scriptspackage.json
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
LowNon Install Lifecycle Scripts
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings