Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
slider-puzzle-captcha
Advanced tools
drag puzzle for captcha validation
clone it, and run
npm start
then open 127.0.0.1:3000
import sliderPuzzle from 'slider-puzzle-captcha'
let div = document.querySelector('.slider-puzzle')
let removeSliderHandler = sliderPuzzle(div)
// when no need, remove listeners from div
// sliderPuzzle.destroy()
npm test
npm run test:client
npm run build:commonjs
use pm2 to start src/server/index.js do not forget change src/config.js allowIps to include your request server ip
npm i pm2 -g // if no pm2 in global
npm run production
edit src/config.js and run
npm run dist
when server is running, api can be accessed api can be customized by edit config.js
get /captcha return Object {bg: String, puzzle-bg: String, puzzle: String, token: String, ok: Bool}
post /validate post body {token: String, x: Number} return Object {ok: Bool}
FAQs
drag puzzle to validate captcha
The npm package slider-puzzle-captcha receives a total of 1 weekly downloads. As such, slider-puzzle-captcha popularity was classified as not popular.
We found that slider-puzzle-captcha 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 researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.