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.
couchdb-corrupted-document
Advanced tools
Search and destroy corrupted documents.
Corrupted documents break the indexing process, this tool helps you find and handle the document(s) which are causing a problem.
Request all documents from the CouchDB server, report failed retrievals.
Step 1
Run cdbcd --detect -s <http(s)://server> -u <user> -p <password> -d <db> > failed.json
Step 2
Take first 5000 keys
Step 3a
Check whether all selected keys can be retrieved in batch
Step 3b
If the batch fails, test keys individually
Step 4
Remember failed keys.
Step 5
Take next 5000 keys, goto Step 2
if found.
Step 6
Output failed keys in JSON format to stdout.
Step 7
Run cdbcd --delete < failed.json
Copy documents from one database to the other, skipping and reporting failed documents.
Step 1
Run cdbcd --transfer -s <http(s)://server> -u <user> -p <password> -d <db> --ts <http(s)://server> --tu <user> --tp <password> --td <db>
FAQs
Search and destroy corrupted documents.
We found that couchdb-corrupted-document 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.