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.
comby-helper
Advanced tools
Wrapper around CLI tool [Comby](https://github.com/comby-tools/comby). Comby is a tool for searching and changing code structure
Wrapper around CLI tool Comby. Comby is a tool for searching and changing code structure
Install Comby manually https://comby.dev/docs/get-started
npx comby-helper
init test
.comby_rules/test.toml file will be created
[pattern]
match='''swap(:[1], :[2])'''
rewrite='''swap(:[2], :[1])'''
rule='where true'
Create src folder and add test file to it (somefile.js)
swap(x, y)
Return to interactive console. First argument is a target folder. Second argument is a rule name.
dry-run ./src test # or d ./src test
apply ./src test # or a ./src test
Every file will be changed automatically.
To filter files by extensions add -x option
a ./src test -x .js,.ts,.jsx,.tsx
To exlude folders add -e option
a ./src test -e vendor,node_modules,test
Plz refer to official comby docs https://comby.dev/docs/overview
FAQs
Wrapper around CLI tool [Comby](https://github.com/comby-tools/comby). Comby is a tool for searching and changing code structure
We found that comby-helper 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.