
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.
@pubsweet/component-aws-ses
Advanced tools
In order to use this component, the following configuration needs to be added to a PubSweet application inside a section named pubsweet-component-aws-ses
:
secretAccessKey
: the AWS_SES_SECRET_KEY
value from the app's .env
fileaccessKeyId
: the AWS_SES_ACCESS_KEY
value from the app's .env
fileregion
: the AWS_SES_REGION
value from the app's .env
filesender
: the EMAIL_SENDER
value from the app's .env
fileFor example:
"pubsweet-component-aws-ses": {
"secretAccessKey": "process.env.AWS_SES_SECRET_KEY",
"accessKeyId": "process.env.AWS_SES_ACCESS_KEY",
"region": "process.env.AWS_SES_REGION",
"sender": "process.env.EMAIL_SENDER",
},
In order to use component-aws-ses
you first need to have a .env
file containing AWS data in the root folder of the starting point of your application.
The .env
file contain the following data:
AWS_SES_SECRET_KEY = <secretKey>
AWS_SES_ACCESS_KEY = <accessKey>
EMAIL_SENDER = verified_ses_sender@domain.com
AWS_SES_REGION = region-name
Then, as soon as possible in your app you should add the dotenv
package:
require('dotenv').config()
component-aws-ses
APIA list of endpoints that help you upload, download and delete S3 files.
POST /api/email
All parameters are required
{
"email": "to_email@domain.com",
"subject": "Example subject",
"textBody": "this is an email",
"htmlBody": "<p><b>This</b> is an <i>email</i>"
}
HTTP/1.1 204
FAQs
aws ses configured for pubsweet
The npm package @pubsweet/component-aws-ses receives a total of 1 weekly downloads. As such, @pubsweet/component-aws-ses popularity was classified as not popular.
We found that @pubsweet/component-aws-ses demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.
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.