
Security News
Feross on Risky Business Weekly Podcast: npm’s Ongoing Supply Chain Attacks
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
ncaptcha-api
Advanced tools
Module to integrate captcha for API only apps in nodejs
const NCaptcha = require('ncaptcha');
//remove {text:'123456'} to get random key and text image.
var ncaptcha = new NCaptcha({text:'123456'});
// send this key and image data to client, client will send key and user inputted test from the image
var data = ncaptcha.generate()
//should return true.
ncaptcha.check(data.key,'123456')
data will have key and image encoded in base64.
By default key expires in 10 minutes. You can set 'expireInMinute' in params
// for 20 minutes
new NCaptcha({text:'123456',expireInMinute:20});
FAQs
Module to integrate captcha for API only apps in nodejs
We found that ncaptcha-api 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
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.