
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@socialtables/validate.js
Advanced tools
Declarative validations for JavaScript. Fork of https://github.com/ansman/validate.js with security fixes
Validate.js provides a declarative way of validating javascript objects.
For documentation please see validatejs.org/.
For issues and feature requests visit the issue tracker.
As I do not work as a web developer professionally any longer I do not have the bandwidth to maintain this. This project will continue to live as is but no new features will be added and no bugs will be fixed. There are likely better and more modern alternatives around.
git clone git@github.com:ansman/validate.js.git
cd validate.js
npm install
grunt build
This will build validate.min.js, validate.min.map and the docs folder.
You can run continuous testing that runs the tests on file changes by running
grunt watch
or simply grunt
.
If you want to just run the tests once you can do that by running grunt test
.
Before opening a pull request please make sure your changes follow the contribution guidelines.
If your site, library or application uses validate.js and would like to be shown here please feel free to email info@validatejs.org with the name and optionally a URL to the project and it will be added here.
FAQs
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 how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.