
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@xiangfa/mdeditor
Advanced tools
A Markdown editor with built-in syntax highlighting based on CodeMirror.
A Markdown editor with built-in syntax highlighting based on CodeMirror.
pnpm add @xiangfa/mdeditor
# or
yarn add @xiangfa/mdeditor
# or
npm install @xiangfa/mdeditor
import { MagicdownEditor } from "@xiangfa/mdeditor";
const editor = new MagicdownEditor({
root,
defaultValue: defaultDoc,
});
editor.create().then(({ view }) => {
conole.log(editor.value);
setTimeout(() => {
editor.update("New documentation content");
}, 3000);
});
Initialization parameters:
interface EditorConfig {
root?: Element | DocumentFragment;
defaultValue?: string | Text;
languages?: LanguageDescription[];
themes?: Extension[];
extensions?: Extension[];
keymaps?: KeyBinding[];
i18n?: I18n;
}
FAQs
A Markdown editor with built-in syntax highlighting based on CodeMirror.
The npm package @xiangfa/mdeditor receives a total of 358 weekly downloads. As such, @xiangfa/mdeditor popularity was classified as not popular.
We found that @xiangfa/mdeditor demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.