Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
0xacab.org/leap/jnk
A small utility for quick deployment of a basic container setup to run and confiure OpenVPN services. Intended for development and testing of menshen, bridges and OpenVPN gateways.
You can pass an ini-style config file with the --config
flag. Below you find an example configuration you can copy and paste to use jnk in a local setup.
In the [images]
section you can override which images are used for each
service (by default it will use the latest in 0xacab registry for each
project).
menshen
block is mandatory, since it's the main port that we will expose.openvpn
block is optional. If it is enabled, it will run an OpenVPN container (TODO: auto-configure menshen to read vars from the control port).bridge-x
blocks are optional. It will run as many obfsvpn
containers as needed for each type configured. Bridges sections need to follow the scheme [bridge-<number>]
.You need to bind different ports for each container ( specified in addr
) if you run them on the same machine ;).
You can let handle menshen the Let's Encrypt certificate, in case you want to deploy the services on a remote machine and access the menshen API via https. To do so, change the [menshen]
block of the example config below:
[menshen]
...
auto-tls = true
server-name = <domain name of the remote machine>
...
The option ca-file
defines a file path to the CA cert that is used for the communication to from-eip-url
and client-cert-url
. The impliceit assumtion here is that both endpoints are part of a Lilypad v3 deployment.
[images]
menshen =
obfsvpn =
openvpn =
[menshen]
enabled = true
auto-tls = false
from-eip-url = https://api.black.riseup.net:4430/3/config/eip-service.json
ca-file = ~/ca.crt
client-cert-url = https://api.black.riseup.net:4430/3/cert
allow-gateway-list = true
allow-bridge-list = true
port = 80
[openvpn]
enabled = false
addr = localhost:1194
[bridge-1]
enabled = true
type = obfs4
gateway = 163.172.211.109:1194
location = amsterdam
addr = localhost:4430
[bridge-2]
enabled = false
type = obfs4-kcp
gateway = 163.172.211.109:1194
location = amsterdam
addr = localhost:4431
First pull the images of the services we want to run:
./jnk --config your_config_file.ini pull
Then run the images in containers using:
./jnk --config your_config_file.ini run
If the containers are running you should be able to access the swagger api at http://localhost/api/swagger/index.html
FAQs
Unknown package
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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.