
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
aws-secrets-manager
Advanced tools
Allows download and upload of secrets from AWS S3 and KMS
Upload secret to S3 via KMS encryption
const SecretsManager = require("aws-secrets-manager");
const secretsManager = new SecretsManager();
var options = {
secret: 'my-plaintext-secret',
s3Location: 's3://mybucket/mysecret',
kmsKeyId: 'my-kms-key-id/arn/alias'
};
secretsManager.set(options)
.then(function (ciphertextBuffer) {
// Upload and encryption was successful
// ciphertextBuffer as Buffer object
console.log(ciphertextBuffer.toString());
}).catch(function (err) {
// If things went wrong
// err is Error object
console.error(err);
});
Access encrypted secret stored on S3
const SecretsManager = require("aws-secrets-manager");
const secretsManager = new SecretsManager();
secretsManager.get("s3://mybucket/myfolder/mysecret")
.then(function (ciphertext) {
// Download and decryption was successful
// ciphertext as Buffer object
console.log(ciphertext.toString());
})
.catch(function (err) {
// If things went wrong
// err is Error object
console.error(err);
});
If you have a question/idea/suggestion, I'd like to encourage you to raise an issue with relevant label. I will try to get back to you as soon as I can.
If you are able, I highly encourage people to communicate their ideas over a pull request with code as it is the best and most efficient way to effectively knowledge transfer.
FAQs
Manage your AWS secrets on S3 using KMS
We found that aws-secrets-manager 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.