Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@sqwid/rekognition
Advanced tools
Moderating image content through AWS Rekognition SDK
Use either npm or yarn to install rekognition-wrapper.
npm i @sqwid/rekognition
or
yarn add @sqwid/rekognition
const RekognitionWrapper = require("@sqwid/rekognition");
/*
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 receives a total of 0 weekly downloads. As such, @sqwid/rekognition popularity was classified as not popular.
We found that @sqwid/rekognition 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.