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.
This is a very simple bettercap API client.
It assumes that you have a global fetch
command, so you will need to use a very new version of node, import something like node-fetch (and make it global) or deno or bun.
npm i bettercap cross-fetch
import fetch from 'cross-fetch'
import Bettercap from 'bettercap'
globalThis.fetch = fetch
console.log(await bettercap.command('net.recon on'))
console.log(await bettercap.command('net.show'))
console.log(await bettercap.session())
FAQs
Bettercap API client for javascript
The npm package bettercap receives a total of 4 weekly downloads. As such, bettercap popularity was classified as not popular.
We found that bettercap 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.