Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
is.valid.mongo
Advanced tools
extends is.valid lib and add validation rules that are specific to mongo db objects.
Extend is.valid library to validate objects that are saved to Mongo DB Server
Install from npm
npm install is.valid.mongo --save
Refer to is.valid documentation to see how to use the lib and a list of supported validation methods
exists[collection_name.field]: validates that there is at least one document in a certain collection that has the value supplied in the field selected.
unique[collection_name.field]: validates that the documents in a certain collection have never seen the value supplied in the field selected.
uniqueExcept[collection_name.field.another_field.another_value]: validates that the documents in a certain collection have never seen the value supplied in the field selected excluding documents that match the condition (another_field = another_value).
FAQs
extends is.valid lib and add validation rules that are specific to mongo db objects.
The npm package is.valid.mongo receives a total of 16 weekly downloads. As such, is.valid.mongo popularity was classified as not popular.
We found that is.valid.mongo 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.