
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
get content from markdown article
npm install --save md-content
import getContent from 'md-content';
const content_with_header_and_img = `
# header
_20 June 2016_
#tag1 #tag #tag3;

content1
content2
## header2`;
getContent(content_with_header_and_img).html
// <p><img src="http://yo.io/" alt="alt"></p>
// <p>content1</p>
// <p>content2</p>
// <h2>header2</h2>
getContent(content_with_header_and_img).text
// <img src="http://yo.io/" alt="alt">
// content1
// content2
// header2
Required
Type: String
Markdown string.
MIT © Aleksandr Filatov
FAQs
NPM package for getting content from markdown article
The npm package md-content receives a total of 25 weekly downloads. As such, md-content popularity was classified as not popular.
We found that md-content demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.