
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).
@hypothesis/frontend-shared
Advanced tools
Shared components, styles and utilities for Hypothesis projects
@hypothesis/frontend-shared
UI components for Hypothesis front-end applications.
Your project must have preact
and tailwindcss
as dependencies.
$ yarn add preact tailwindcss
$ yarn add @hypothesis/frontend-shared
Update your project's tailwind configuration:
import tailwindConfig from '@hypothesis/frontend-shared/lib/tailwind.preset.js';
export default {
// Use this package's preset
presets: [tailwindConfig],
content: [
// Be sure to add this project's component source to your
// tailwind content globs
'./node_modules/@hypothesis/frontend-shared/lib/**/*.{js,ts,tsx}',
],
// ...
Full documentation is available in this project's web-based pattern library.
$ make dev
import { Link } from '@hypothesis/frontend-shared';
FAQs
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.