
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).
serverless-convention
Advanced tools
Serverless script for setting up file structure conventions
Define your convention in the serverless yml and dynamically include resources.
custom:
convention:
functions:
folders:
- api
- bots
pattern:
- '*.yml'
resources:
folders:
- cloudformation
pattern:
- '*.yml'
- '*.js'
- '*.json'
included: ${file(./node_modules/serverless-convention/index.js)}
functions:
- ${self:custom.included.functions}
resources:
- ${self:custom.included.resources}
All yml files in the api and bots folders will be included as functions in the cloudformation. All yml, js, and json files found in the cloudformation folder will also be included.
Optionally, convention objects can be specified with an "asFileArray" flag which will result in an array of relative file references to the files found.
FAQs
Serverless script for setting up file structure conventions
The npm package serverless-convention receives a total of 464 weekly downloads. As such, serverless-convention popularity was classified as not popular.
We found that serverless-convention demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.