NEW Workflows: agents follow the steps, you sign off. Read more →
Ulpi

second-key

PLUGIN

Team approvals for shared Ulpi bots.

by kamalbuilds · v0.2.0

What it does

Team approvals for shared Ulpi bots. Dangerous commands need N votes from your roster by Telegram DM, sized to the risk.

The requester never counts, and an agent that edits its own approval settings is stopped on its next tool call. No answer, an error or too few approvers always means deny.

Redirects are refused; What approvers see: the command after Ulpi's own redaction, Ulpi's reason for asking, and the requester's display name, platform and platform user id. While a ballot is open the DMs are edited in place about every 15 seconds with the current votes and time left.

How to set it up

  1. Disclosure — Disclosure: Network: only, with the bot token from.

    api.telegram.org
    SECONDKEY_TELEGRAM_BOT_TOKEN
  2. The same ballot text, plus a note that their own vote does not count, is also posted to the Telegram chat the request came from (which may be a group) or to the requester's DM; Re-arming after a change that weakens the settings opens its own critical ballot to the previously armed roster; Background thread: one long-poll thread reads the bot's updates while a request is waiting for votes, and for five minutes after.

    /secondkey enroll
  3. It stops on its own once neither holds, and when the plugin unloads; Files: writes its ledger, the armed settings () and a pane state file (: open and last eight closed ballots with the redacted command, requester name and approver names) under.

    armed.json
    state.json
    plugin-data/second-key/
  4. Reads Ulpi's (read-only) before tool calls and in its Desktop Approvals pane, whose dashboard route is read-only; Credentials: reads the bot token through.

    config.yaml
    agent.secret_scope.get_secret
  5. It never reads, or any other credential store; No telemetry, no self-updater, no shell commands, no dependencies beyond the standard library.

    .env
    auth.json

Review notes

What an owner reads and accepts before the install is approved.

  • Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve

More in Tools

All listings →