# pentestfunctions/BlueDucky

🚨 CVE-2023-45866 - BlueDucky Implementation (Using DuckyScript) 🔓 Unauthenticated Peering Leading to Code Execution (Using HID Keyboard)

Repository: https://github.com/pentestfunctions/BlueDucky
Canonical: https://ross.abutalabs.com/products/blueducky
Language: Python
License Family: other
Last push: 2026-02-11T00:03:00+00:00

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

## Adoption (not part of the score)
Stars 1888, forks 318 (observed 2026-08-28T04:05:49.290617+00:00)

## What it is
BlueDucky is a Python tool that exploits CVE-2023-45866, an unauthenticated Bluetooth peering vulnerability, to execute keystroke injection attacks via HID keyboard emulation. It accepts DuckyScript payloads and targets previously paired but no longer visible Bluetooth devices.

## Use cases
- exploit CVE-2023-45866 on vulnerable Bluetooth devices
- inject keystrokes into phones via Bluetooth HID
- run DuckyScript payloads over Bluetooth
- scan and save nearby Bluetooth devices for later targeting
- test Bluetooth security of Android devices

## When to choose
- you need to demonstrate the BlueDucky CVE-2023-45866 vulnerability in a pentest
- you want to send DuckyScript keystroke payloads over Bluetooth
- you have a Linux machine with a compatible Bluetooth adapter

## When to avoid
- you need a general-purpose Bluetooth security scanner
- you require a maintained tool with a license and broad hardware support
- your target devices are patched against CVE-2023-45866

## Facets
- artifact type: cli-tool
- maturity: active
- function: penetration-testing, security, cli
- domain: security, penetration-testing
- platform: python, cli
- tags: bluetooth, cve-2023-45866, duckyscript, hid-injection, exploit, pentest, linux

## Member repositories
- pentestfunctions/BlueDucky (main) score 56

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:49.290617+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-30T03:13:30.655895+00:00, confidence not recorded.
  - readme: https://github.com/pentestfunctions/BlueDucky (fetched 2026-08-28T04:05:49.290617+00:00, sha 0dbd1c6345eb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
