# cecio/USBvalve

Expose USB activity on the fly

Repository: https://github.com/cecio/USBvalve
Canonical: https://ross.abutalabs.com/products/usbvalve
Language: C
License: MIT
License Family: permissive
Topics: badusb, malware, usb, usb-hid, forensics
Last push: 2026-08-19T20:18:57+00:00

## Health v2 (maintenance only)
Score: 93/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 86, longevity 92
- inputs: {"age_days": 1290, "days_push": 14, "days_rel": 14, "gap_med": 87.0, "n_releases_24m": 7}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1345, forks 42 (observed 2026-08-28T04:04:27.320363+00:00)

## What it is
USBvalve is a firmware application for cheap RP2040-based hardware (Raspberry Pi Pico) that emulates a fake USB mass-storage filesystem and exposes any read/write activity on a display, revealing hidden malware behavior. It also acts as a USB host to detect and debug BADUSB HID devices.

## Use cases
- check if a USB device installed malware on my drive
- detect badusb hid attacks from unknown devices
- monitor usb mass storage file activity in real time
- debug usb hid payloads from devices like rubber ducky
- forensic analysis of suspicious usb ports
- test if a kiosk computer is stealing files from usb drives

## When to choose
- you need a cheap portable hardware tool to inspect USB activity on unknown machines
- you want to detect BADUSB/HID injection devices on the fly
- you do USB forensics or security awareness demos

## When to avoid
- you need software-only USB monitoring on your own computer
- you require deep packet-level USB protocol analysis
- you need a network-based or enterprise-scale USB DLP solution

## Facets
- artifact type: application
- maturity: active
- function: security, monitoring, embedded
- domain: security, hardware
- platform: embedded, cross-platform
- tags: badusb, usb-forensics, raspberry-pi-pico, usb-hid, hardware-security-tool, forensics

## Member repositories
- cecio/USBvalve (main) score 93

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:27.320363+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:42:44.544891+00:00, confidence not recorded.
  - readme: https://github.com/cecio/USBvalve (fetched 2026-08-28T04:04:27.320363+00:00, sha 147202763b32)
- Data as of 2026-08-30T08:39:29.467469+00:00.
