
Security News
npm Adopts OIDC for Trusted Publishing in CI/CD Workflows
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
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
npm now supports Trusted Publishing with OIDC, enabling secure package publishing directly from CI/CD workflows without relying on long-lived tokens.
Research
/Security News
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.