
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).
@useoptic/standard-rulesets
Advanced tools
Optic includes the following rulesets:
Run these locally using optic
cli or in optic cloud which integrates with github and gitlab.
Turn on breaking changes by adding the breaking-changes into your optic.dev.yml
file
ruleset:
- breaking-changes
You can also exclude certain operations in breaking changes by exempting operations with a certain extension. E.g.
ruleset:
- breaking-changes:
exclude_operations_with_extension: x-draft # if an operation has the extension x-draft, optic will not check for breaking changes
paths:
/api/users:
get:
x-draft: true # this endpoint will not be checked for breaking changes
...
The rules that are enforced are:
Turn on naming enforcement to ensure your OpenAPI spec is has consistent naming conventions
The configuration options are:
ruleset:
- naming:
required_on: always # also available are 'added' or addedOrChanged
requestHeaders: camelCase #also available are Capital-Param-Case, param-case PascalCase and snake_case
queryParameters: camelCase
responseHeaders: camelCase
cookieParameters: camelCase
properties: camelCase
pathComponents: camelCase
Require an example to be present in your schemas, and ensure that they match the schema object
The configuration options are:
ruleset:
- examples:
required_on: always # also available are 'added' or addedOrChanged
require_request_examples: true # default is false
require_response_examples: true # default is false
require_parameter_examples: true # default is false
FAQs
Unknown package
The npm package @useoptic/standard-rulesets receives a total of 16,781 weekly downloads. As such, @useoptic/standard-rulesets popularity was classified as popular.
We found that @useoptic/standard-rulesets demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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.