
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
serverless-bash-plugin
Advanced tools
A Serverless Framework plugin that allows writing Lambdas in Bash.
A Serverless Framework plugin that allows writing Lambdas in Bash.
What can it do? Run any CLI tools including AWS CLI (see s3-access in the example directory) that could be packaged into layer.
npm install --save-dev serverless-bash-plugin
or
yarn add --dev serverless-bash-plugin
plugins:
- serverless-bash-plugin
Add a function to the functions section of your serverless.yml file
functions:
echo:
handler: src/echo.sh
runtime: provided.al2
The plugin will detect lambda handlers ending in .sh extension.
Example echo handler:
handler () {
response=$1
}
The generated Bash script will call handler function and pass the request body as a first parameter, also available as variable request.
Set the response string to the response variable.
Check a full service in the example directory.
FAQs
A Serverless Framework plugin that allows writing Lambdas in Bash.
We found that serverless-bash-plugin 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.