# snovvcrash/usbrip

Tracking history of USB events on GNU/Linux

Repository: https://github.com/snovvcrash/usbrip
Canonical: https://ross.abutalabs.com/products/usbrip
Homepage: https://habr.com/ru/post/352254/
Language: Python
License: GPL-3.0
License Family: copyleft
Topics: security, forensics, usb-events, usb-history, usb-devices
Archived: true
Last push: 2022-10-03T15:56:42+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3087, "days_push": 1430, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1182, forks 112 (observed 2026-08-28T04:03:54.404336+00:00)

## What it is
usbrip is a Python command-line forensics tool that tracks USB device connection history on GNU/Linux by parsing journalctl and syslog data. It builds USB event tables, exports JSON dumps, generates trusted-device lists, and detects violation events from unauthorized devices.

## Use cases
- track usb device connection history on linux
- find unauthorized usb devices plugged into a machine
- investigate usb usage during a forensic incident response
- build a whitelist of trusted usb devices and detect violations
- export usb event history as  for later analysis
- look up usb device details by vendor id and product id
- audit which usb devices were connected to a server

## When to choose
- you need to reconstruct USB event history from Linux logs during a forensic investigation
- you want to detect unauthorized USB devices against a trusted-device whitelist
- you need a lightweight Python CLI that works with journalctl or syslog files

## When to avoid
- you need USB event tracking on Windows or macOS
- you want real-time USB device monitoring or blocking rather than log analysis
- you need a GUI-based forensics suite

## Facets
- artifact type: cli-tool
- maturity: maintenance
- function: security, logging, cli
- domain: security, operating-systems, developer-tools
- platform: python, cli
- tags: usb-history, digital-forensics, usb-devices, incident-response, log-analysis, forensics, command-line, linux

## Member repositories
- snovvcrash/usbrip (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:54.404336+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-30T06:24:58.965481+00:00, confidence not recorded.
  - readme: https://github.com/snovvcrash/usbrip (fetched 2026-08-28T04:03:54.404336+00:00, sha 86a8840c088a)
  - homepage: https://habr.com/ru/post/352254/ (fetched 2026-08-29T12:32:20.496694+00:00, sha 1b2f05f1b64d)
  - site_page: https://habr.com/ru/docs/help (fetched 2026-08-29T12:32:20.506225+00:00, sha e279a67227a0)
  - site_page: https://habr.com/ru/docs/authors/codex (fetched 2026-08-29T12:32:20.507877+00:00, sha 79efbbf2c0aa)
  - site_page: https://habr.com/ru/docs/companies/corpblogs (fetched 2026-08-29T12:32:20.509508+00:00, sha 627a204bd612)
  - site_page: https://habr.com/ru/docs/docs/transparency (fetched 2026-08-29T12:32:20.511094+00:00, sha 5428b4366a0a)
  - registry_pypi: https://pypi.org/pypi/usbrip/json (fetched 2026-08-29T12:32:20.512894+00:00, sha 6ae6a8ddd494)
- Data as of 2026-08-30T08:39:29.467469+00:00.
