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-cognito-public-keys
Advanced tools
Gets public keys for a given AWS Cognito user pool id
aws-cognito-public-keys
Module for retrieving public keys for AWS Cognito user pools
Install via npm.
npm install aws-cognito-public-keys --save
const { getKeysSync } = require( 'aws-cognito-public-keys' );
const userPoolId = 'us-east-1_ZLPZ8Z7yS'; // your user pool id
const awsRegion = 'us-east1'; // valid AWS Region
const key = getKeysSync( userPoolId, awsRegion );
// keys =
// {
// "<key id 1>": { ...key1 ... }
// "<key id 2>": { ...key2 ... }
// ..
// }
async getKeys( userPoolId, region )
Gets the Cognito public keys asynchronously. Returns a promise that resolves to an object that contains the keys.
getKeysSync( userPoolId, region )
Gets the Cognito public keys synchronously and blocks until resolved. Returns an object that contains the keys.
We'd love to get feedback on how to make this tool better. Feel free to contact
us at feedback@vandium.io
FAQs
Gets public keys for a given AWS Cognito user pool id
We found that aws-cognito-public-keys 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.