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.
with replwrap
you can wrap your repl in a websocket and send input from anywhere
npm i -g replwrap
to send input from vim (using vim-plug) add this to your ~/.vimrc
Plug 'raoofha/replwrap'
--host localhost --port 60999
60999
61000
61001
replwrap program [--port 60999 --host localhost --print --raw] -- [args...]
clojure
replwrap rlwrap -- lein repl
python
replwrap python3 --port 61000 --print -- -i
node
replwrap node --port 61001 --raw -- -i
for convenience you can put these line in your ~/.zshrc
or whatever
alias wclojure="replwrap rlwrap -- lein repl"
alias wpython3="replwrap python3 --port 61000 --print -- -i"
alias wnode="replwrap node --port 61001 --raw -- -i"
if you want vi binding in your repl put these in your ~/.inputrc
set editing-mode vi
set keymap vi-insert
# these are for vi-insert mode
Control-l: clear-screen
FAQs
wrap a program to accept input from websocket
The npm package replwrap receives a total of 1 weekly downloads. As such, replwrap popularity was classified as not popular.
We found that replwrap 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.