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.
local-package-link
Advanced tools
glcl
A simple utility to remove files and directories in a project directory based on a list of globs defined in a file.
At the root of your project, create a file named glob-list.clean
and add the globs you want to use.
For example:
./node_modules
./packages/*/node_modules
./packages/*/dist*
./packages/*/_output
Then, using bunx
run the following command:
bunx glcl
This will remove all files and directories that match the globs in the glob-list.clean
file.
You don't have to only use the default glob-list.clean
file.
You can also use a custom glob file list by passing the file names as arguments:
bunx glcl -f glob-list.custom -f some-other-glob-list
This allows you to have multiple glob lists for different purposes.
FAQs
Link external local packages into a project or monorepo
The npm package local-package-link receives a total of 111 weekly downloads. As such, local-package-link popularity was classified as not popular.
We found that local-package-link demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.