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.
This python package provides a daemon that can be used to setup an access point for headless wifi configuration.
The package requires hostapd
and dnsmasq
to be installed.
sudo apt-get install hostapd
sudo apt-get install dnsmasq
sudo pip install wifi_conf
sudo install_wifi_conf
The status of the daemon can be checked with
sudo systemctl status wifi_conf
import wifi_conf
from wifi_conf import wifi_conf_client
# configure device as access point
# Access point has ssid `test`
wifi_conf_client.start_access_point(ssid="test")
# Wait some time to see effect
time.sleep(20)
# Set wifi password
wifi_conf_client.set_wifi_ssid_and_password('Wifi_ssid', 'password')
# switch back to wifi client mode
wifi_conf_client.stop_access_point()
sudo python3 -m unittest test/wifi_conf_test.py
Currently, the wifi_conf
user is added to the sudo group to be able to start and stop services connected to setting up an access point. For other solution see https://serverfault.com/questions/841099/systemd-grant-an-unprivileged-user-permission-to-alter-one-specific-service.
FAQs
Package for setting up AP for configuration of wifi on raspberry pi
We found that wifi-conf demonstrated a healthy version release cadence and project activity because the last version was released less than 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
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.