Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
@purple/serverless-git-branch-stage-plugin
Advanced tools
Serverless Framework Plugin for transforming git branch name to a Serverless stage name
This plugin provides two Serverless variables:
git:stage
- branch name converted to camel casegit:basePath
- branch name converted to kebab-case which is usefull for serverless-domain-manager
plugin$ npm install --save-dev @purple/serverless-git-branch-stage-plugin
Add the plugin to your serverless.yml
file
plugins:
- '@purple/serverless-git-branch-stage-plugin'
This plugin requires git
to be installed.
Tested on Linux and macOS.
provider:
name: aws
stage: ${git:stage}
custom:
customDomain:
domainName: serverless.foo.com
basePath: ${git:basePath}
You can override the branch name with envrionment variable SLS_MOCK_BRANCH
.
$ SLS_MOCK_BRANCH=master serverless deploy
FAQs
Serverless Framework Plugin for transforming git branch name to a Serverless stage name
The npm package @purple/serverless-git-branch-stage-plugin receives a total of 425 weekly downloads. As such, @purple/serverless-git-branch-stage-plugin popularity was classified as not popular.
We found that @purple/serverless-git-branch-stage-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 18 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
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.