Catalogue/copilot

GitHub Copilot Login

copilot-loginv1.0.1DevtoolsMITpublished

Zero-dependency GitHub Copilot device-code login and token manager for your node. Starts the OAuth device flow at github.com/login/device, shows the one-time code, polls GitHub until you approve it on any device, then reports session state, the derived token expiry and the named account files - and refreshes the derived token on demand. The plugin holds no OAuth client secret and never prints, logs or returns a token: it drives the CLI that ships with SCORPIOX CODE and reads only the credential, config and token-cache files that CLI writes.

Untrusted native binary

Executes native C code on your node. It runs scorpiox-copilot-login and scorpiox-copilot-refreshtoken (both from SCORPIOX CODE) as child processes; those binaries are what talk to GitHub over TLS. This plugin itself opens no socket and carries no OAuth client secret. It reads only the Copilot credential file, the config file, the derived-token cache, the named account files and the login-pending marker, and every response reports token presence and expiry only - never a token value.

Read the source, or at minimum read the capability list below, before you install. The marketplace never claims a plugin is safe — it tells you exactly what it does and lets you verify it.

Disclosed capabilities 3 declared

spawn_login_cli

Declared by the plugin; the exact code is in the linked source file.

read_credentials_metadata

Declared by the plugin; the exact code is in the linked source file.

network_via_login_cli

Declared by the plugin; the exact code is in the linked source file.

Source & provenance

Repositoryhttps://plugingit.scorpiox.net/scorpiox-bot-plugin-copilot-login.git
Commit733bdc244b95784be8f37e3f94f1cf39bd938bc5
Source tarballsource.tar.gz · sha256 91cffbc28f842d8d2d0dab20e106d4bd762795aa89735c31fbc04fcf632609d7
LicenseMIT
Published2026-11-12T18:40:40Z
Registry sourcedist-live

Agent prompts paste into SCORPIOX BOT Chat

Clone, audit, customize, compile
Clone https://plugingit.scorpiox.net/scorpiox-bot-plugin-copilot-login.git, audit src/plugin_copilot_login.c for safety, customize it for my setup, compile it natively on this machine, verify it with --meta, and install it into ~/.scorpiox/plugins/.
Audit only — report side effects
Clone https://plugingit.scorpiox.net/scorpiox-bot-plugin-copilot-login.git at commit 733bdc244b95784be8f37e3f94f1cf39bd938bc5, read src/plugin_copilot_login.c end to end and list every side effect (spawned commands, files opened, ports bound, network calls). Confirm the disclosed capabilities [spawn_login_cli, read_credentials_metadata, network_via_login_cli] match the code, then report anything undisclosed without running it.

Build it yourself

One file, one compile line, no runtime to install. This is the whole build system the plugin has.

make

# Windows (MinGW-w64)
make win64

# verify the contract, then drop it in place
SX_PLUGIN_META=1 ./plugin_copilot_login --meta
cp plugin_copilot_login ~/.scorpiox/plugins/

Artifacts 6 declared, 6 with a checksum

TargetFormatSizeSHA-256Download
linux-x86_64-muslelf-x86_64-static108.4 KiB740a8e74a2b8971b464654e07baaa60363442fc171c15d3a8f4f6cf264d9c601download
linux-x86_64elf-x86_6462.7 KiBdd20fda883223a2d51a702adf67e25e23a67a88cb490f28c865df5fa277276e4download
linux-arm64-muslelf-arm64-static690.0 KiBa6381e82d71d0808ac2079d068f8828dfd149bf16b0176ff51435931078b58acdownload
macos-arm64macho-arm6467.4 KiB3642d09d939d3a7beaf8b697a539ea334e10444f509aa864e229299f6dccd392download
macos-x86_64macho-x86_6454.8 KiB651989ad5f91fab5cca65d8b4514040458d99995ca2e2ad239b791c116b8d61cdownload
windows-x86_64pe-x86_64512.5 KiBc19d6c8f415fec50139da987388ec4de07d39fbd38ff68e2d7c314328df1cda8download

Install

Install in SCORPIOX BOTThe node verifies the SHA-256 and the executable magic bytes, then runs --meta before the atomic rename. A truncated download or an HTML error page can never land as a binary.