
Research
SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.
py-mld
Advanced tools
This repository stores the implementation of MLDv1 router-side state machines. This can be used to detect multicast interest of directly connected hosts.
The goal of this repository/module is to facilitate maintainability of this MLD implementation since its code is used by other Python projects/modules:
pip3 install py-mld
# import module
from mld import InterfaceMLD
intf = InterfaceMLD(interface_name="eth0")
intf.enable() # start receiving MLD packets
# get information from a given multicast group
multicast_group_obj = intf.interface_state.get_group_state(group_ip="ff05::10:11:12")
interest = multicast_group_obj.has_members() # boolean that informs if there is
# multicast interest in this group
group_state = multicast_group_obj.state.print_state() # get string identifying
# the state in which this
# group is at
# get notified of interest changes on this group
class MulticastGroupNotifier:
def notify_membership(self, has_members):
print(has_members)
notifier = MulticastGroupNotifier()
multicast_group_obj.add_multicast_routing_entry(notifier)
# when there is a change of multicast interest (for example group ff05::10:11:12
# gets interested receivers), the object associated to this object is notified
# through "notify_membership" method with has_members=True
# if you no longer want to monitor the interest of ff05::10:11:12, remove the
# notifier from the group
multicast_group_obj.remove_multicast_routing_entry(notifier)
intf.remove() # stop receiving MLD packets
FAQs
MLDv1 router-side protocol implementation for Python
We found that py-mld 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
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.