kbd-signal
Turn a VIA-compatible RGB keyboard's backlight into a status lamp for AI coding agents on Windows, macOS, and Linux (defaults target the Keychron K8 Pro). When Claude Code, Codex, or Grok waits for your approval, your keyboard starts breathing orange — no need to watch the screen.
Works on stock firmware (no flashing) by speaking the VIA raw HID protocol directly.
Signals
| State | Trigger | Effect |
|---|---|---|
waiting |
Claude Code / Codex show a permission dialog (PermissionRequest hook); Grok shows one (Notification / permission_prompt) |
Orange breathing |
done |
Main turn finished (Stop hook; Cursor: stop with status: completed) |
Solid green for 5 s, then auto-restore |
error |
Manual kbd-signal set error |
Fast red breathing |
Before signaling, the current lighting (effect / speed / brightness / color) is snapshotted and restored afterwards. Nothing is ever written to EEPROM (RAM-only changes), so a power cycle always returns the keyboard to your saved settings.
Requirements & limitations
- Windows, macOS, or Linux, Python 3.11+ (
hidapiis the only dependency; its macOS wheel is self-contained via IOKit, so no Homebrewhidapiis needed). On Linux, a udev rule must grant access to/dev/hidraw*(see Install) - Keychron K8 Pro connected via USB cable with the rear switch set to "Cable". Raw HID is not available over Bluetooth — measured: in BT mode with the cable attached, the USB HID collections enumerate but the
0xFF60raw interface does not - When the keyboard is absent (BT mode, unplugged), the hook-facing commands (
hook,set,restore) silently no-op with exit 0 — hooks are never blocked. Diagnostic commands (setup,export,detect,test,raw-effect) report the missing device and exit 1 - Do not run the VIA app / Keychron Launcher at the same time (concurrent raw HID writes race)
- Codex requires a version with lifecycle hooks; run
codex features listand confirm thathooksis enabled - Grok requires Grok Build with lifecycle hooks (verified on 1.0.3); check with
/hooksinside a grok session - Cursor support is completion-notify only (green on a finished turn) — Cursor's hooks API has no approval-wait event, so
waitingcannot be signaled there yet (verified on 3.16.17) - Concurrent Claude Code / Codex / Grok / Cursor sessions and subagents are tracked independently; orange remains active while any approval is pending
Platform support
| OS | Status | Hardware verification |
|---|---|---|
| Windows | ✅ Supported | Keychron K8 Pro (default), real hardware |
| macOS | ✅ Supported | Keychron Q1 HE 8K, real hardware¹ |
| Linux | ✅ Supported | Keychron Q1 HE 8K, real hardware² |
¹ The macOS raw-HID path (0xFF60 enumerate / open / protocol-probe, plus a Claude Code hook waiting → done → restore) is verified on a Q1 HE 8K. The default K8 Pro has not been round-tripped on macOS — the protocol layer is shared with the (verified) Windows path so it should work, but it is unconfirmed; a report either way is welcome.
² Verified on a Q1 HE 8K on Arch Linux with the stock PyPI hidapi wheel: 0xFF60 enumerate / open / protocol-probe, kbd-signal test, and a Claude Code hook waiting → done → restore. Linux otherwise runs the same POSIX code path as macOS and is exercised in CI. Unlike Windows and macOS, it needs a udev rule for /dev/hidraw* access (see Install).
Install
Recommended: pipx — installs into an isolated environment and puts kbd-signal on PATH, which is exactly what the hook commands need:
pipx install kbd-signal
Windows — if you don't have pipx yet (one-time setup):
py -m pip install --user pipx
py -m pipx ensurepath # then open a new terminal
Plain pip also works (py -m pip install .); in that case invoke the hooks with the same interpreter you installed into: py -m kbd_signal hook claude.
macOS — install pipx with Homebrew if you don't have it (brew install pipx && pipx ensurepath), then pipx install kbd-signal. The hidapi wheel is self-contained (IOKit backend), so no brew install hidapi is required. Config, state, and log live in ~/Library/Application Support/kbd-signal/.
Linux — pipx install kbd-signal. kbd-signal talks through the wheel's hidraw module (the kernel hidraw backend), so no libusb setup is needed. /dev/hidraw* is root-only by default, so give your login session access to the keyboard's raw-HID interface with a udev rule, e.g. /etc/udev/rules.d/71-kbd-signal.rules (Q1 HE 8K shown):
# VIA raw HID interface only; the typing interface stays root-only.
# systemd < 258 does not run usb_id for hidraw, so import it here.
SUBSYSTEM=="hidraw", SUBSYSTEMS=="usb", ENV{ID_BUS}=="", IMPORT{builtin}="usb_id"
SUBSYSTEM=="hidraw", ENV{ID_VENDOR_ID}=="3434", ENV{ID_MODEL_ID}=="1012", ENV{ID_USB_INTERFACE_NUM}=="01", TAG+="uaccess"
Take the three values for your board from udevadm info -a -n /dev/hidrawN on the node whose interface is the raw-HID one (ATTRS{idVendor}, ATTRS{idProduct} and ATTRS{bInterfaceNumber}; this works on any systemd version), copied exactly as printed: udev compares them as strings, so a PID written 0B12 (the casing used in this project's config) never matches udev's 0b12; then apply with sudo udevadm control --reload-rules && sudo udevadm trigger --action=change --subsystem-match=hidraw. Match on these ENV keys rather than ATTRS{idVendor} plus ATTRS{bInterfaceNumber}: udev requires every ATTRS key in a rule to match the same parent device, and those two live on different ones, so such a rule silently never matches. Keep the usb_id import line too: systemd added the rule that sets these keys on hidraw devices (60-persistent-hidraw.rules) only in v258, so without it the rule silently does nothing on older systems such as Ubuntu 24.04 LTS (systemd 255). Keep the file name sorting before 73-seat-late.rules, where uaccess is applied. Config, state, and log live in $XDG_STATE_HOME/kbd-signal/ (default ~/.local/state/kbd-signal/).
Usage
kbd-signal setup # interactive first-run config for a new keyboard
kbd-signal export # print a docs/devices + examples preset skeleton
kbd-signal detect # find the keyboard, show protocol & current lighting
kbd-signal set <waiting|done|error>
kbd-signal restore [--after N] [--gen G]
kbd-signal test # play all patterns, then restore
kbd-signal raw-effect <n> # set a raw effect index (debug)
kbd-signal hook claude # entry point for Claude Code hooks (JSON on stdin)
kbd-signal hook codex [<json>] # Codex hooks (stdin) / legacy notify (argv)
kbd-signal hook grok # Grok Build hooks (JSON on stdin)
kbd-signal hook cursor # Cursor hooks (JSON on stdin; completion only)
Restore mode (config.json in the state dir)
The state dir is %LOCALAPPDATA%\kbd-signal on Windows, ~/Library/Application Support/kbd-signal on macOS, and $XDG_STATE_HOME/kbd-signal (default ~/.local/state/kbd-signal) on Linux.
{"restore": "off"}
"baseline"(default): restore the pre-signal effect and brightness"off": restore to brightness 0 (for people who normally keep the backlight dark). The stored effect/color/speed are still written back, so waking the backlight with Fn shows your own settings
What each signal looks like (states in config.json)
Colour, speed and brightness per state. Omit the block and you get the shipped orange / green / red; override only the fields you want to change.
{
"states": {
"waiting": {"effect": "solid", "hue": 0},
"done": {"effect": "solid", "hue": 85}
}
}
effect names an entry in device.effects rather than a raw index, so the
same block keeps working on a board whose enabled-animation list differs — the
device block says what an index means there, this says which meaning each
signal uses. To use an animation the defaults never named, add it to
effects ("effects": {"solid": 1, "breathing": 2, "rainbow": 12}) and name
it here.
Hues are the QMK wheel: red 0, orange 21, green 85. hue, sat, speed and
brightness are all 0-255. A value outside that range, an unknown effect name,
or a misspelled state is rejected with a message naming it — the block is only
ever hand-edited, so a typo that quietly kept the old colour would look like
the setting doing nothing.
The Fn backlight on/off flag is not readable over VIA, which is why "off" exists.
Troubleshooting
If restores keep bringing back a signal color (or an Fn wake-up shows one), power-cycle the keyboard. Nothing is ever written to EEPROM, so it always comes back with your real settings.
If a setup that used to come back lit starts staying dark between signals in "baseline" mode (in "off" mode that is the configured behavior), the likely cause is the snapshot guard discarding a baseline that looked like a leftover signal (writing it back would restore the signal forever). kbd-signal falls back to the last capture that did not look like a signal; until one exists — right after an upgrade or a fresh install — power-cycle the keyboard or switch to a different lighting pattern so your own settings are actually visible, and the next signal captures them. An Fn wake-up alone is not enough here: it can raise the brightness on the leftover signal itself.
On Linux, if kbd-signal detect prints the board and then fails with open failed, kbd-signal can see the raw-HID node but cannot open it. The usual cause is a udev rule from Install that is missing or does not match that node. In this case kbd-signal test prints only keyboard unavailable, and the full error goes to kbd-signal.log in the state dir. If sudo kbd-signal detect succeeds, the cause is permissions.
Claude Code integration
Register the same command for PermissionRequest, PostToolUse, Stop, and SessionEnd in your user-scope settings.json (events are dispatched internally by hook_event_name):
{"type": "command", "command": "kbd-signal hook claude", "timeout": 5}
Ready-to-merge: the hooks object in examples/claude-hooks.json covers all four events — merge it into your settings.json hooks (do not overwrite existing entries).
(pipx install — the kbd-signal shim is on PATH. With a plain pip install, use py -m kbd_signal hook claude instead, matching the interpreter you installed into.)
Do not put a filesystem path in the program position. Hook commands may run through either cmd or a POSIX shell: backslashed paths get eaten as escapes by the POSIX shell, and forward-slashed program paths fail under cmd with "Access is denied" — both silently, so the hook simply never signals (measured on Windows 11). PATH-resolved names (kbd-signal, py -m kbd_signal) work under both. The entry point is cheap when idle (the hidapi DLL is imported lazily), so the same command is fine for hot hooks like PostToolUse.
That cmd-vs-POSIX hazard is Windows-only. On macOS/Linux an absolute path in the program position is safe, so if kbd-signal is not on the PATH your hooks run under, use its absolute path — pipx installs the shim at ~/.local/bin/kbd-signal.
Codex integration (since v0.3.0)
Use Codex lifecycle hooks. They are separate from the notify entry in ~/.codex/config.toml, so leave the existing notify command unchanged.
- Run
codex features listand confirm thathooksis enabled - Merge the events from examples/codex-hooks.json into the user-level
~/.codex/hooks.json; do not overwrite an existing file - Start the Codex CLI and choose
Review hooksfrom the startupHooks need reviewprompt, or open/hooks. Verify the source, event, and command before trusting them. Trust is tied to the hook definition hash, so review it again after any change - In a new session, trigger an approval and verify orange while waiting and restoration after approval
Every event uses the same command:
{
"type": "command",
"command": "kbd-signal hook codex",
"timeout": 5
}
The configuration uses:
PermissionRequestto add a pending approvalPostToolUseto release only the agent that completed its toolStopto release the main session and signal completion only when no other session is waitingSubagentStopto clean up a child without flashing green for the whole taskSessionStart/UserPromptSubmitto clean up stale entries for the same session after an interrupted run
Codex does not expose SessionEnd. If Codex is force-closed while an approval is pending and that session is never resumed, orange can remain active; run kbd-signal restore to recover.
The old agent-turn-complete notify payload remains supported for compatibility, but it cannot report approval waits and competes with the desktop app's notifier, so it is not recommended for new installations.
Concurrent sessions
Owners are keyed by product, session_id, and agent_id. A main-session completion therefore cannot clear another Claude/Codex/Grok/Cursor session or one of its subagents. Updates to state.json remain serialized by the existing interprocess lock.
To roll back, remove only the entries whose command invokes kbd_signal hook codex from ~/.codex/hooks.json, then restart Codex. The desktop app's notify configuration remains untouched.
Grok integration (since v1.2.0)
Grok Build (the xAI grok CLI) ships Claude Code-compatible lifecycle hooks, and kbd-signal reads them as a third source. Verified against grok 1.0.3.
- Save examples/grok-hooks.json as
~/.grok/hooks/kbd-signal.json— global hooks are always trusted, no per-project trust step - Start grok and run
/hooks; the Hooks tab should list the kbd-signal entries. Pressrthere to reload after edits, no restart needed - Trigger an approval and check: orange while waiting, restoration after approving
Every event uses the same command:
{"type": "command", "command": "kbd-signal hook grok", "timeout": 5}
How Grok differs from Claude Code
- No
PermissionRequestevent exists. An approval wait arrives asNotificationwith typepermission_prompt— that entry is the only one with a matcher. Plan-approval waits use the samepermission_prompttype (measured on 1.0.3), so a plan sitting on its review screen breathes orange just like a tool approval - Matchers are regular expressions. Claude's
"*"is an invalid regex here; an omitted matcher is what matches everything - The payload is camelCase (
hookEventName,sessionId) with lowercase-snake event values ("stop").kbd-signal hook groktranslates to the internal vocabulary, and Grok sessions get their owngrok:owners Stopfires twice: on turn completion (reason: "end_turn") and again, observe-only, when the session closes (measured:reason: "shutdown"). Green shows only forend_turn; the close fire just releases stale approvals- Grok's
Stophook is a blocking gate with a 600 s default timeout. The example pinstimeout: 5, and the hook never writes to stdout, so the lamp cannot delay a turn from ending - Esc / Ctrl+C interrupts fire no
Stopat all — a pending approval is cleared by the next prompt in that session, or by the one-hour TTL PostToolUseFailureandPermissionDeniedare registered because Grok fires noPostToolUsefor a failed or denied tool; without them, orange would outlive a denialStopFailure(a turn ended by an API error) releases the session's pending approvals without showing any color- A Grok subagent runs as its own session (measured on 1.0.3), so child approvals are cleaned by the same session-scoped release. Note grok ships subagents off by default (
GROK_SUBAGENTS) - Headless runs (
grok -p) fire hooks too, so scripted grok calls end with the same green flash as interactive ones. Drop theStopentry from your copy if that is noise for you
Claude settings scanning
Grok also reads ~/.claude/settings.json hooks by default, so an existing kbd-signal hook claude entry fires inside Grok sessions as well. That is a no-op by design: the Claude entry point looks for snake_case keys, finds no session_id in Grok's camelCase payload, writes one log line, and exits 0 (measured). No claude: owner is created for a Grok session and nothing double-signals. Setting [compat.claude] hooks = false in ~/.grok/config.toml silences those log lines, but it disables all your Claude hooks inside Grok — weigh that before flipping it.
To roll back, delete ~/.grok/hooks/kbd-signal.json and press r in /hooks (or restart grok).
Cursor integration (since v1.3.0) — completion notify only
Cursor's hooks API (beta, verified on Cursor 3.16.17) has no event for "the agent is waiting for your approval" — there are open feature requests (166947, 159912), but today the closest hooks (beforeShellExecution and friends) fire for auto-approved runs too, which would mean orange during every tool run. So Cursor support is deliberately narrower than the other three sources: green on a completed turn, nothing else. No orange. If Cursor ships an approval event, waiting gets added.
Setup: merge the single stop entry from examples/cursor-hooks.json into your ~/.cursor/hooks.json ("version": 1 at top level; do not overwrite existing hooks). Cursor picks it up on the next session.
{"command": "kbd-signal hook cursor", "timeout": 5}
Only stop is registered on purpose: Cursor hooks are synchronous and blocking, and with no waiting state to clean up, registering lifecycle events would just insert a Python launch into every prompt submission for nothing.
What to expect, measured on 3.16.17:
- A turn that ends normally (
status: "completed") flashes green for 5 s, then restores. An interrupted or failed turn shows nothing - kbd-signal writes nothing to stdout — load-bearing here, because Cursor reads a
stophook's stdout as JSON and afollowup_messagein it would resume the agent. The flip side: if another stop hook of yours returnsfollowup_message, the agent resumes after the green flash — same class of caveat as Claude's stop gate - Cursor can also run hooks from your
~/.claude/settings.json(third-party compatibility, gated by a Cursor setting). With that scan on, akbd-signal hook claudeentry fires inside Cursor sessions with Cursor's own payload; that is a logged no-op (the lowercase"stop"value matches no Claude branch — measured). Nothing double-signals once the cursor entry is installed - The reverse scan exists too: Grok reads
~/.cursor/hooks.json, sokbd-signal hook cursorfires inside Grok sessions with Grok payloads — also a no-op (different envelope, pinned by tests) cursor-agent(the Cursor CLI) reads the same hooks file but fires a subset of events; kbd-signal's cursor path is verified on the IDE only
To roll back, remove the stop entry whose command invokes kbd-signal hook cursor from ~/.cursor/hooks.json.
Protocol notes (verified on hardware)
- Shipped K8 Pro stock firmware speaks VIA protocol 9 (v2) — not the v3 custom-channel layout found on the
wireless_playgroundbranch. The protocol is probed at open time (command0x01) and both layouts are supported:- v2:
[report_id 0x00, cmd, value_id, data...], value ids0x80brightness /0x81effect /0x82speed /0x83color (hue, sat) - v3 (protocol ≥ 11):
[report_id 0x00, cmd, channel=3, value_id, data...], value ids 1–4
- v2:
- Commands: set
0x07, get0x08, save0x09(save is never used) - Effect indices are identical across firmware generations (
info.jsonanimation list matches): None=0, Solid Color=1, Breathing=2, … Solid Splash=22 - Device detection: VID
0x3434+ usage page0xFF60/ usage0x61(PIDs differ per layout variant)
Other keyboards (since v0.2.0)
The protocol layer is not K8 Pro specific: VIA v2 value ids are fixed by the VIA spec and Solid Color is always effect 1 in QMK. Point kbd-signal at another VIA-compatible RGB keyboard via config.json:
{
"restore": "off",
"device": {
"vendor_id": "0x3434",
"product_id": null,
"product_match": "K8",
"v3_channel": 3,
"reset_on_effect": false,
"effects": {"solid": 1, "breathing": 2}
}
}
Workflow for a new board: run kbd-signal setup. It picks the device,
confirms that the configured VIA v3 custom channel actually drives it, measures
whether the firmware needs reset_on_effect, and asks you to look at the
keyboard and say which effect index is steady and which pulses — the firmware's enabled-animation list is not
readable over raw HID, so those two indices can only come from your eyes. It
then writes the device block (keeping your previous config.json as
config.json.bak). Finish with kbd-signal test.
setup refuses to run while a signal is showing, since it captures the current
lighting to restore afterwards.
Once your board works, kbd-signal export prints the two files a device page
is made of — examples/config.<board>.json and a docs/devices/<board>.md
skeleton — with the detected values filled in and every human-only field marked
TODO. Fill those in and open a pull request so the next owner of your keyboard
does not have to repeat the work. It only reads from the device, so unlike
setup it is safe to run at any time.
By hand instead:
kbd-signal detect --all— list every raw-HID (0xFF60) device and copy its VID/PID intoconfig.jsonkbd-signal raw-effect <n>— step through effect indices until you find solid/breathing, then seteffects- On a VIA v3 board, set
v3_channelto the keyboard'sid_qmk_rgb_matrixchannel from its VIA definition (v2 boards ignore it) kbd-signal test
Some firmware resets the color (to red) and brightness (to full) ~50–150 ms
after an effect change. Most boards don't, so this workaround is a per-device
opt-in: set "reset_on_effect": true only if done flashes or sticks red on
your board, and kbd-signal then holds the LEDs dark while it settles the color
across the reset window. (The Keychron Q1 HE 8K is one board known to need it.)
Boards without RGB (single-color backlight) are out of scope — states are color-coded.
Verified devices
Presets confirmed on real hardware. Each page lists the board's VID/PID, protocol, effect indices, and quirks; copy the linked config's device block into your config.json.
- Keychron Q1 HE 8K — notes ·
config.q1-he-8k.json
FAQ
Why does nothing happen after I install the hooks?
hook, set, and restore exit 0 when the keyboard is missing, so a hook never blocks the agent. Check the rear switch is set to Cable, quit the VIA app / Keychron Launcher, and on Windows do not put a filesystem path in the hook's program position. See Requirements & limitations and the path note under Claude Code integration.
Does it work over Bluetooth?
No. Raw HID (0xFF60) does not appear in BT mode, even with the cable plugged in (measured on the K8 Pro). Use USB with the rear switch on Cable.
Will this overwrite the lighting I saved on the board?
No. Nothing is written to EEPROM. A power cycle always brings back the settings stored on the keyboard.
The orange waiting light will not go away.
Another session or subagent still has an approval pending, or Codex was force-closed during a wait (Codex has no SessionEnd). Run kbd-signal restore. Stale waits also expire on their own after an hour or so. See Codex integration.
Restore keeps bringing back a signal color, or the board stays dark in baseline mode.
See Troubleshooting.
Can I change the colors or use a static effect?
Yes. Override the fields you want under states in config.json. effect names a key of device.effects, not a raw index. See What each signal looks like.
Will it work on my keyboard?
On a VIA-compatible RGB board, run kbd-signal setup then kbd-signal test. kbd-signal export prints a preset skeleton for a pull request. Single-color backlights are out of scope. Verified device pages are listed under Verified devices.
Why is there no orange in Cursor? What about a K8 Pro on macOS?
Cursor's hooks API has no approval-wait event, so only a finished turn goes green (verified on 3.16.17). The default K8 Pro has not been round-tripped on macOS. See Cursor integration and Platform support.
License
MIT
Metadata
Release files for kbd-signal 1.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kbd_signal-1.4.0.tar.gz | 100.2 kB | With provenance | Details for kbd_signal-1.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kbd_signal-1.4.0-py3-none-any.whl | Python 3 | none | any | Details for kbd_signal-1.4.0-py3-none-any.whl |
Total release size: 153.2 kB
Release files / kbd_signal-1.4.0.tar.gz
| Download URL | kbd_signal-1.4.0.tar.gz |
|---|---|
| Size | 100.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8625668e1be1d90600ca7b558ed4825949b637e96281eb5b100bd2e589e746d6
|
|
BLAKE2b-256 checksum How to use checksums |
6f5ecf03271fa7bb70e2fe0c549b6d3e61ac7c0585b1d9a1772f80ee55265ade
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logRelease files / kbd_signal-1.4.0-py3-none-any.whl
| Download URL | kbd_signal-1.4.0-py3-none-any.whl |
|---|---|
| Size | 53.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
02399318a7e6f405bcfb814cc56e3bfffbf47774ac66a2e8285f1ac654d1fb64
|
|
BLAKE2b-256 checksum How to use checksums |
11b57d50d5a0487430788800813808c82f0396f48e3da6d5aca3433db257f332
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logSecurity for kbd-signal 1.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for kbd_signal-1.4.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.