
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).
@code4rena/components-library
Advanced tools
Start by installing the components library in your project:
npm install @code4rena/components-library
Next, to ensure that all the components have the appropriate styling, import the library's styles into your application. This can be done in one of two ways:
@import "@code4rena/components-library/styles"
import "@code4rena/components-library/styles";
All the components in this package can be accessed through named imports. For a full list of available components, take a look at our Storybook
import { Alert } from "@code4rena/components-library";
<Alert {...args} />
All components in this library have TypeScript support. Types for all complex component props are also named exports available through the /types
subdirectory (see example below):
import { ButtonSize, ButtonType, ButtonVariant } from "@code4rena/components-library/types";
<Button
label="Sample Button"
type={ButtonType.BUTTON}
variant={ButtonVariant.SECONDARY}
size={ButtonSize.NARROW}
/>
FAQs
Code4rena's official components library
The npm package @code4rena/components-library receives a total of 53 weekly downloads. As such, @code4rena/components-library popularity was classified as not popular.
We found that @code4rena/components-library demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 open source maintainers 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.