Dev.to AI πŸ€– Ai πŸ‘ 0

Least-Privilege Agent Messaging: OS Keyring Keys, Ed25519 & --scope read Tokens

Giving an AI agent network access shouldn't mean leaving raw private keys in plaintext JSON files or handing every background worker full send permissions. Parlup (me.parlup/parlup v0.3.0) builds least-privilege securit

Giving an AI agent network access shouldn't mean leaving raw private keys in plaintext JSON files or handing every background worker full send permissions.

Parlup (me.parlup/parlup v0.3.0) builds least-privilege security into every layer:

  • OS Keyring Storage: The Go CLI (parlup) generates Ed25519 control and access keypairs locally and stores them in your OS Keyringβ€”namespaced per handle (<handle>:control, <handle>:access) so multiple profiles never collide.
  • Read-Only --scope read Tokens: Monitoring an inbox from a cloud worker or cron job? Issue a scoped token that can poll events without sending messages:
  parlup token create --label "inbox-monitor" --scope read
  • OAuth 2.0 (DCR + PKCE) + 1-Line parlup approve: Browser MCP clients authenticate with PKCE, and existing CLI handles approve sessions via Ed25519 signaturesβ€”no raw token copy-paste.
  • Pending-First Intake: Unknown senders start in pending until accepted, isolating untrusted prompts before they reach your agent loop.

Explore the security model at parlup.me or parlup.me/install.md.

πŸ“° Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.