Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
serverless-stage-manager
Advanced tools
Super simple serverless plugin for validating stage names before deployment
Super simple serverless plugin for validating stage names before deployment.
serverless plugin install --name serverless-stage-manager
Install the module using npm:
npm install serverless-stage-manager --save-dev
Add serverless-stage-manager
to the plugin list of your serverless.yml
file:
plugins:
- serverless-stage-manager
Add a stages
value in the custom
section of your serverless.yml
file and specify an array of valid stage names.
custom:
stages:
- dev
- staging
- prod
When running serverless deploy
or serverless deploy function
, it will check to make sure it is a valid stage name before continuing. For example:
# Given the above configuration of dev, staging & prod
# These will work
serverless deploy -s prod
serverless deploy -s staging
serverless deploy function -f funcName -s dev
serverless deploy # assuming default stage is in custom.stages config
# These will fail
serverless deploy -s foo
serverless deploy function -f funcName -s bar
FAQs
Super simple serverless plugin for validating stage names before deployment
The npm package serverless-stage-manager receives a total of 14,125 weekly downloads. As such, serverless-stage-manager popularity was classified as popular.
We found that serverless-stage-manager 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.