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.
@shelf/aws-sns-message-attributes
Advanced tools
Transform JSON into AWS SNS message attributes format
Transform JSON into AWS SNS message attributes format. See 1, 2
$ yarn add @shelf/aws-sns-message-attributes
const {transformMessageAttributes} = require('@shelf/aws-sns-message-attributes');
transformMessageAttributes({
string: 'hello',
array: ['hello', 'world'],
number: 1,
bool: true,
});
/*
{
string: {DataType: 'String', StringValue: 'hello'},
array: {DataType: 'String.Array', StringValue: '["hello","world"]'},
number: {DataType: 'Number', StringValue: 1},
bool: {DataType: 'String', StringValue: 'true'},
}
*/
Note: This library does not support binary values
$ git checkout master
$ yarn version
$ yarn publish
$ git push origin master --tags
MIT © Shelf
FAQs
Transform JSON into AWS SNS message attributes format
The npm package @shelf/aws-sns-message-attributes receives a total of 4,824 weekly downloads. As such, @shelf/aws-sns-message-attributes popularity was classified as popular.
We found that @shelf/aws-sns-message-attributes demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 56 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.
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.