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.
find-duplicate-strings
Advanced tools
Easy to use CLI that finds duplicate strings in a directory and stores them in a external file for easy reference
Easy to use CLI that finds duplicate strings in a directory and stores them in a external file for easy reference
First clone the repository:
npm i -g find-duplicate-strings
Then run the cli:
find-duplicate-strings
You will be asked to enter a path to a existing directory to be scanned for duplicate string values:
? Please provide a directory to scan for duplicate values.
./data
It will output a table containing it's findings:
┌─────────┬────────┐
│ (index) │ counts │
├─────────┼────────┤
│ foo │ 6 │
│ bar │ 6 │
│ unique │ 2 │
└─────────┴────────┘
You will be asked to enter the file extensions that you want to scan:
? Please provide the file extensions you want to scan or leave empty to scan all files
)O js
)O ts
)O json
You will be asked to enter a path to a file that the results can be written to (json):
? Please provide a filepath to store the values.
./output
MIT
FAQs
Easy to use CLI that finds duplicate strings in a directory and stores them in a external file for easy reference
The npm package find-duplicate-strings receives a total of 5 weekly downloads. As such, find-duplicate-strings popularity was classified as not popular.
We found that find-duplicate-strings 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.