Demipass

com.dustforge由 dustforge.com 发布v2.5.0更新于 Nov 3, 2026

Credential custody for agents: use secrets blind (ssh/http/smtp/git/db), never in context.

概览

AI 生成的概览

DemiPass 让助手通过 Dustforge 服务存储、查找、轮换和使用凭据,而密钥值不会进入上下文。

可以做什么
  • 按名称、类型或提供方存储、搜索、列出密钥,并查看即将过期的密钥,值从不返回
  • 申请短期使用令牌并兑换,以服务端注入密钥的方式执行 SSH、HTTP 等操作
  • 轮换密钥,包括新密码不进入助手上下文的盲轮换
  • 查看身份、信任等级与钱包状态,并自助注册 Dustforge 平台
  • 通过附带的 Buoy 工具记录并校验时间锚点与审计链
适用场景
适合助手需要操作需要凭据的系统(SSH 主机、API、数据库、git 或 SMTP),而你又希望密钥不出现在提示词、回复和日志中。也适合需要可审计的助手操作记录的场景。
运行要求
以本地 Node.js 进程运行,从 npm 包安装并用 node 启动。需要 Dustforge 账户,以及通过自助注册或 2FA 邮件流程获取的 bearer 令牌,放在 DEMIPASS_TOKEN 环境变量中。API 地址默认指向 Dustforge 托管端点,可用 DEMIPASS_URL 覆盖,并需要访问该服务的网络。
安装前请注意
DEMIPASS_TOKEN 中的 bearer 令牌可访问你的密钥库,请勿放入共享配置。加密、存储与密钥执行全部在 Dustforge 服务器上完成,因此密钥值和操作目标会发送给该第三方。工具可存储、轮换和使用凭据,并会提交永久性的 origin refraction,批准写操作前请先确认。说明称 ref code 可自由分享,但仍建议按敏感信息对待。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Demipass,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

DemiPass

Secrets management SDK for AI agents. Keep credentials out of context windows.

DemiPass is a client SDK for the Dustforge identity platform. It provides MCP tools that teach AI agents (Claude Code, Codex, or any MCP-compatible agent) how to handle secrets without exposing them in the prompt, completion, or logs.

How it works

  1. You store a credential → DemiPass encrypts it server-side
  2. Your agent requests a 30-second use-token via ref code
  3. DemiPass injects the secret server-side (SSH, HTTP header, etc.)
  4. The agent gets the result back — never the secret itself

Install

bash
npm install demipass

MCP Setup

Add to your .mcp.json:

json
{  "mcpServers": {    "demipass": {      "command": "node",      "args": ["node_modules/demipass/mcp-server.js"],      "env": {        "DEMIPASS_URL": "https://api.dustforge.com",        "DEMIPASS_TOKEN": "your-bearer-token"      }    },    "buoy": {      "command": "node",      "args": ["node_modules/demipass/buoy-mcp.js"],      "env": {        "BUOY_URL": "https://api.dustforge.com",        "BUOY_TOKEN": "your-bearer-token"      }    }  }}

MCP Tools

DemiPass (secrets)

ToolDescription
demipass_storeDeposit a secret — encrypted at rest, never returned
demipass_sshSSH via ref code — password injected server-side
demipass_useCombined token request + execute in one call
demipass_searchFind secrets by name, type, or provider
demipass_listList all secrets (names + metadata, never values)
demipass_expiringList secrets expiring within N days
demipass_rotateRotate a secret with context transfer
demipass_rotate_blindServer-side password rotation — new password never enters agent context
demipass_whoamiCheck identity, trust band, wallet status
demipass_get_tokenRequest a 30-second use-token
demipass_executeRedeem a use-token
demipass_onboardSelf-onboard to Dustforge
demipass_genesis_seedGet the ODT seed document
demipass_genesis_submitSubmit origin refraction (permanent)
demipass_genesis_verifyVerify refraction matches origin
demipass_genesis_statusCheck genesis status

Buoy (temporal anchoring)

ToolDescription
buoy_tickDrop a temporal anchor (begin, complete, handoff, decision, etc.)
buoy_verifyVerify a tick signature
buoy_chain_verifyVerify chain integrity
buoy_statsTotal ticks, streak, first/last
buoy_ledgerRead recent tick history

SDK Usage

javascript
const demipass = require('demipass');
demipass.configure({  baseUrl: 'https://api.dustforge.com',  bearerToken: 'your-token',});
// Store a secretawait demipass.store({ name: 'my-api-key', value: 'sk-...', type: 'api_key' });
// SSH via ref code (password never in your code)await demipass.ssh({ ref: 'DP-PWD-myserver-7f3a9c1e', target_host: '1.2.3.4', command: 'uptime' });
// Search secretsawait demipass.search({ query: 'openrouter' });
// Blind password rotation (new password never visible)await demipass.rotateBlind({ ref: 'DP-PWD-old-ref', target_host: '1.2.3.4', reason: 'exposed' });

Architecture

DemiPass is a client SDK — all encryption, storage, and secret execution happens on the Dustforge server. This package provides:

  • MCP tool definitions with behavioral descriptions that teach agents the protocol
  • SDK functions that wrap the Dustforge API
  • Self-healing contexts — if a secret has no approved context, the SDK auto-creates one
  • Buoy MCP tools for temporal anchoring and audit trails

The secrets vault, trust gradient, velocity throttle, and other security features are implemented in Dustforge. See dustforge.com for the platform documentation.

Ref Codes

Every stored secret gets a routed reference code:

DP-PWD-myserver-7f3a9c1e│  │   │         ││  │   │         └── unique nonce│  │   └── target hint│  └── secret type (PWD/API/TKN/SSH/CRT/SEC)└── DemiPass prefix

Share ref codes freely — they're routing addresses, not secrets.

Links

License

MIT — AKStrapped LLC

来源:README.md,提交 980c9ed

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

1
  1. v2.5.0最新Sep 16, 2026

评分

已满足适用检查项的 40%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分

    请在仓库或注册中心条目中声明许可证。