
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
aws-message-bus-package
Advanced tools
[](https://www.npmjs.com/package/aws-message-bus-package)
1. Install
npm install aws-message-bus-package
2. Config File
You need to create a config.json file in your root/src project and input some AWS informations, like bellow:
{
"endpoint": "http://localhost:4566",
"region": "eu-west-2",
"snsArnPrefix": "arn:aws:sns:eu-west-2:000000000000",
"sqsArnPrefix": "arn:aws:sqs:eu-west-2:000000000000",
"queuUrlPrefix": "http://sqs.eu-west-2.localhost.localstack.cloud:4566/000000000000"
}
3. Sample Usage
const { Infrastructure } = require('aws-message-bus-package');
async () => await Infrastructure.createQueue('your-queue-name');
async () => await Infrastructure.createTopic('your-topic-name');
async () => await Infrastructure.bindTopic('your-topic-name', 'your-queue-name');
Infrastructure.createQueue('queue-name')
Create a new SQS queue
Infrastructure.bindTopic('topic-name', 'queue-name')
Service.publishMessage('topic-name', {CONTENT})
Send a message to SNS topic to do broadcast
Service.sendMessage('queue-name', {CONTENT}, {PARAMS})
Send a message to SQS queue direct
Service.scheduleMessage('topic-name', {CONTENT}, [SCHEDULED_DATE])
Send a message to EventBridge informing the SNS topic with the destination. This message will be consumed when it arrives on the scheduled date.
Service.handleConsumerMessage('queue-name', {RESILIENCE_PARAMS})
Handle a consumer to consume queue messages
FAQs
[](https://www.npmjs.com/package/aws-message-bus-package)
The npm package aws-message-bus-package receives a total of 0 weekly downloads. As such, aws-message-bus-package popularity was classified as not popular.
We found that aws-message-bus-package 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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.