SCORPIOX BOT MARKET

Plugins are native code. Here is exactly what that means

Trust model, agent workflow and the single-binary C99 plugin SDK for the open-source SCORPIOX BOT plugin market — plus llms.txt for agents.

live dist33 published pluginslast reviewed 2026-11-119 guidesC99 SDK
FilterAllSecurity & trustAgent workflowInstallPlugin SDKPublishingCross-compileFor agents

Guides

Why Plugins Are Untrusted
Start here

A plugin is a native executable running with your permissions. What the market does about that, what it refuses to pretend, and the threat model in one table.

security5 min
Read the guide ›
Agent Clone, Audit and Customize
Agent workflow

The exact prompt that has an agent clone the pinned commit, produce six audit lists from the source, customise it for your node and compile it locally, before anything executable exists.

agent-workflow5 min
Read the guide ›
One-Click Install and Isolation
Install

The seven checks the node installer runs in order — origin allowlist, id validation, SHA-256 in pure C, platform magic header, --meta smoke test, atomic rename, sidecar manifest.

install5 min
Read the guide ›
The C99 Three-Mode Plugin SDK
SDK

One file, three modes, no dependencies: --meta for discovery, ?action= for JSON, plain GET for a responsive HTML page. The whole contract in one page of C.

sdk5 min
Read the guide ›
The Vendored Connector SDK
SDK

The one HTTPS/TLS/WebSocket stack, MCP loop and node bridge that a connector is written on top of: vendored BearSSL and yyjson, verified TLS by default, --mcp and --daemon, and the two hundred lines you still have to own.

sdk8 min
Read the guide ›
Embedding, Short Metadata and UI Rules
SDK

The page renders inside someone else's frame at 390 pixels. Four layout rules, the 60 KB ceiling, escaping, and what --meta must and must not do.

sdk6 min
Read the guide ›
Cross-Compiling for musl, MinGW and macOS
Build

The exact invocation for all six published targets, why -static is not optional on two of them, what does not port, and how to prove an artifact is really static.

cross-compile5 min
Read the guide ›
dist Manifests and SHA-256
Publishing

The dist.scorpiox.net/bot-plugins tree, index.json, per-version manifest.json, SHA256SUMS, and how to verify a digest by hand on Linux, macOS and Windows.

publishing5 min
Read the guide ›
For AI Agents Scraping This Market
For agents

Every route an agent needs, the install sequence as seven requests, the audit procedure as six lists, and seven rules about what not to invent.

llm6 min
Read the guide ›

SDK starter files

plugin_starter.c
c starter file

Complete single-binary plugin: three modes, node auth guard, dark/light UI, no Content-Length.

14848 bytescopy-paste
Open the source ›
Makefile
make starter file

native / musl / win64 / macos / test targets for the starter.

1721 bytescopy-paste
Open the source ›
build.ps1
powershell starter file

Windows build with MinGW-w64 static PE output and a --meta smoke test.

1717 bytescopy-paste
Open the source ›
connector_starter.c
c starter file

Connector starter on the vendored Connector SDK: HTTPS/TLS client, --mcp tool server, --daemon bridge, default-deny sender gate.

13809 bytescopy-paste
Open the source ›

9 of 9 guides · 4 of 4 SDK files

How it fits together

Untrusted binary, two consumption tracks

Every plugin resolves to a plugingit repository and a pinned commit. Either you read the source, or you verify the artifact digest. Both are first class.

TRACK A — source firstplugingit sourcescorpiox-bot-plugin-clone + auditagent reads the Ccc -O2 / makemusl, mingw, clangcp into plugins/~/.scorpiox/pluginsclonebuildcopyTRACK B — verified artifactdist artifactsix cross-compiled targetsSHA-256 verifypure C, inside the nodeplugin_managemagic + --meta smokedownloadcompareinstallinstallthe node — one binary, the user's permissionsfilesystemyour home, your checkoutsenvironmentyour tokens, your agent socketnetworkyour egress, no sandbox
plugingit sourcepinned commitcloneclone + auditagent reads the Cbuildmake / ccmusl, mingw, clangordist artifactSHA-256 checkedinstallplugins/ dirruns as you
Drawn server-side: both diagrams render with JavaScript off and inside ?embed=1.

The whole plugin in one binary

Metadata, JSON actions and the HTML bench are three invocations of the same file. No manifest, no registration.

plugin_xone static binary1. --meta{"name":..,"desc":..}2. ?action= / ?format=json{"ok":true,..}3. GET (default)text/html pagewhat the server does with itfilename becomes the routedirectory scanned per requestno restart, no registrationno Content-Length from the pluginauth guard on every JSON calloutput escaped before the pageuninstall is rm
plugin_xone static binary1. --meta{name, desc}2. ?action={ok:true, ...}3. GETtext/html pageroute = filenamescanned per requestno restart, no manifestuninstall is rm

Quickstart

Read the source before you run it. Everything below is copyable.

git clone https://plugingit.scorpiox.net/scorpiox-bot-plugin-hello.git
cd scorpiox-bot-plugin-hello
git checkout <git_commit from the catalogue card>
make musl
./plugin_hello --meta
QUERY_STRING='action=info' ./plugin_hello
cp plugin_hello ~/.scorpiox/plugins/

The route follows the filename. There is no registration call and no server restart.

Or let the node install a verified artifact for you:

curl -s "http://127.0.0.1:8150/plugin_manage?action=platform"
# then POST action=install&mode=prebuilt with artifact_url and expected_sha256
# read from https://botmarket.scorpiox.net/catalog/api?format=json&id=<slug>

FAQ

Is a plugin sandboxed?

No. It is a native executable that runs as the node user with the node user's permissions. The market makes the source available at a pinned commit and the artifact digest published; it does not contain the process. The boundary is the node — use a disposable container for anything you have not read.

Do I need a compiler to install a plugin?

No. Pre-built binaries for six targets are published under dist.scorpiox.net/bot-plugins/<slug>/<version>/, and the installer verifies the SHA-256 and the platform magic header before it writes anything. A compiler is only needed for the source track.

What happens if the checksum does not match?

The install fails with 422 checksum_mismatch, the temporary file is deleted, and nothing is written into the plugin directory. A published version directory is immutable by convention, so a mismatch means a truncated download, a stale manifest, or something in the path modified the file.

Can I run a modified plugin?

Yes, and that is the point of a single-file C99 binary. Edit the source, build it, copy it into the plugin directory. The route follows the filename. Keep a note of the upstream commit you started from so a later update is a diff rather than a rewrite.

Does the market vouch for a plugin's intent?

No. A pinned commit proves the bytes you have are the bytes that were published. It proves nothing about what those bytes do. That is why every catalogue card carries a capability list and a trust notice: so you know which twenty lines to read first.

Is the documentation available to an AI agent in one request?

Yes. GET /llms.txt for the index, /llms-full.txt for the whole corpus as markdown, and /llms?format=json for a structured index. Every route also answers ?format=json.

For AI agents

This whole corpus is available as one machine-readable request.