
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.
durin
Advanced tools
This repository contains Python code that interfaces with the robot Durin, built by the Neurocomputing Systems group at the KTH Royal Instititute of Technology. Please note that this is only the reference implementation for our interface. See below.
We require a working Python installation with access to pip. After that, installation is straight-forward:
pip install durin
The interface is meant to be used via Python. More examples can be found in the durin/examples folder.
from durin import *
# The ip address to Durin is 172.16.223.9X, where X is the number of the robot (1, 2, or 5).
durin_ip = "172.16.223.91"
# This connects to durin and displays a user interface (UI)
with DurinUI(durin_ip) as durin:
while True:
# Get observation
(obs, dvs, cmd) = durin.read()
# Do clever things...
# Move durin 100 units left with 0 forward/backward motion and 0 rotation
command = Move(100, 0, 0)
# Send a command to Durin
durin(command)
# ... this loop continues forever!
# You can exit it on your computer by pressing CTRL+C
The durin.read() method will give you access to
Observation from the robot sensors object containing
.tof Time of Flight sensors.charge Battery charge.read() command.Poll commands
The most important command is Move(x, y, rotation). the x, y, rotation values should be in the interval between [-500, 500].
You can interface to the microcontroller (sensor + wheel actuation) and DVS microcamera with TCP and UDP. A complete specification is available via Google Drive: https://docs.google.com/spreadsheets/d/11jD30J00-03ygZ6zJaVTnjJRQKfczT-wMIdBdpYMxD4/edit?usp=sharing
Each robot has two IP addresses - one for the microcontroller and one for the DVS controller.
The robots are numbered 1, 2, or 5. Insert those numbers where X is written below:
172.16.223.9X: Microcontroller for sensory data and motor commands172.16.223.10x: Raspberry Pi for streaming DVS dataReach out to Juan or Jens if you need anything.
FAQs
Python control interface for the Durin robot
We found that durin 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.