
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
serverless-apigateway-plugin
Advanced tools
this is the serverless plugin to customize the aws api gateway
Serverless framework plugin to configure the AWS api gateway
Currently it is used in GFG(Global Fashion Group) internal projects.
Install the plugin from npm
$ npm install --save serverless-apigateway-plugin
Add the plugin to your serverless.yml
# serverless.yml
plugins:
- serverless-apigateway-plugin
Add the config to your custom tag of serverless.yml,
For headers: pls follow the spec at AWS JS SDK putGatewayResponse For body mapping templates: pls follow the spec at AWS JS SDK updateGatewayResponse
# serverless.yml
custom:
apigateway:
responses:
- response:
type: ACCESS_DENIED
headers: {"gatewayresponse.header.Access-Control-Allow-Origin":"'*'"}
bodyMappingTemplate: { "contentType": "application/json" , "content": '{"status": 403,"code": "INVALID_TOKEN","detail":$context.error.messageString}'}
statusCode: 403
binaryTypes:
- 'image/jpg'
- 'text/html'
We welcome pull requests! Please fork the repo and submit your PR.
v0.0.6 (2017/10/17 02:06 +00:00)
FAQs
this is the serverless plugin to customize the aws api gateway
The npm package serverless-apigateway-plugin receives a total of 535 weekly downloads. As such, serverless-apigateway-plugin popularity was classified as not popular.
We found that serverless-apigateway-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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.