
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@sqwid/rekognition-wrapper
Advanced tools
Moderating image content through AWS Rekognition SDK
Use either npm or yarn to install rekognition-wrapper.
npm i @sqwid/rekognition-wrapper
or
yarn add @sqwid/rekognition-wrapper
const RekognitionWrapper = require("@sqwid/rekognition-wrapper");
/*
https://docs.aws.amazon.com/general/latest/gr/aws-sec-cred-types.html#access-keys-and-secret-access-keys
https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.RegionsAndAvailabilityZones.html
*/
const config = {
accessKeyId: "your-aws-access-key-id",
secretAccessKey: "your-aws-secret-access-key",
region: "region-closest-to-your-server-location-for-minimum-latency",
};
const verifier = new RekognitionWrapper(config);
verifier.detectExplicitContent({
url: "https://img.huffingtonpost.com/asset/6197f71f20000047aa8d3089.jpeg?cache=dLXWffeF86&ops=scalefit_720_noupscale",
})
.then(result => {
console.log(result);
})
.catch(error => {
console.log(error);
});
For more examples, see examples
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
FAQs
AWS Rekognition SDK wrapper for Sqwid
The npm package @sqwid/rekognition-wrapper receives a total of 1 weekly downloads. As such, @sqwid/rekognition-wrapper popularity was classified as not popular.
We found that @sqwid/rekognition-wrapper demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.