
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).
@devtools-ds/diagnostic
Advanced tools
The `Diagnostic` component displays errors and warnings from code, similar to errors produced by tools like webpack. It can also be used to display errors produced by a [Language Server](https://code.visualstudio.com/api/language-extensions/language-serve
The Diagnostic
component displays errors and warnings from code, similar to errors produced by tools like webpack. It can also be used to display errors produced by a Language Server.
npm i @devtools-ds/diagnostic
# or with yarn
yarn add @devtools-ds/diagnostic
The Diagnostic
is a block of preformatted text that can be difficult for screen readers to read. Based on this, we followed the MDN suggestion to treat the component as a figure
.
There is an auto-generated caption describing the error in a screen-reader friendly way.
import { Diagnostic } from "@devtools-ds/diagnostic";
<Diagnostic message={message} lines={lines} severity={severity} />
import { DiagnosticSeverity } from "vscode-languageserver-types";
<Diagnostic
message={message}
lines={lines}
severity={transformLanguageServer(DiagnosticSeverity.Error)}
/>;
Thanks goes to these wonderful people (emoji key):
Shelby Cohen 💻 🎨 | Tyler Krupicka 💻 📖 🎨 🚇 💡 ⚠️ | Adam Dierkens 🎨 🤔 |
This project follows the all-contributors specification. Contributions of any kind welcome!
FAQs
The `Diagnostic` component displays errors and warnings from code, similar to errors produced by tools like webpack. It can also be used to display errors produced by a [Language Server](https://code.visualstudio.com/api/language-extensions/language-serve
The npm package @devtools-ds/diagnostic receives a total of 5 weekly downloads. As such, @devtools-ds/diagnostic popularity was classified as not popular.
We found that @devtools-ds/diagnostic 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.