Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
aws-sqs-push
Advanced tools
Push messages to an AWS SQS (FIFO) queue
Small wrapper around the getQueueUrl
and sendMessage
from the AWS SQS SDK. This will automatically retrieve the queue url when sending a message. This is useful when you only have the queue name.
$ npm install --save aws-sqs-push
const sqsPush = require('aws-sqs-push');
const request = {
MessageBody: JSON.stringify({message: 'foo'});
DelaySeconds: 10
}
sqsPush('QueueName', request, '123456789101').then(sendMessageResponse => {
// ...
});
const fifoRequest = {
messageDeduplicationId: '12312333331323'
messageGroupId: '8875gyukjdsioop90123',
MessageBody: JSON.stringify({message: 'FIFO'});
}
sqsPush('QueueName.fifo', fifoRequest).then(sendMessageResponse => {
// ...
});
Result is the response of the AWS SQS sendMessage API
Required: true
Type: string
Name of the queue you want to push a message to. This can be a cross account queue but permissions must be granted to able to push on that queue.
Required: true
Type: object
Request properties are defined in the documentation of the sendMessage
method of the AWS SDK
Required: false
Type: string
AWS account id of the owner of the queue. This optional parameter allows to push on cross account queue.
MIT © Simon Jang
FAQs
Push messages to an AWS (FIFO) SQS queue
The npm package aws-sqs-push receives a total of 121 weekly downloads. As such, aws-sqs-push popularity was classified as not popular.
We found that aws-sqs-push 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.