← 返回
未分类 中文

Mpps Attestation

Create tamper-proof receipts for AI agent work. Hash artifacts or action manifests, POST to api.mpps.io, get an HSM-signed receipt. No API key.
为AI代理工作创建防篡改收据:对工件或操作清单进行哈希,POST到api.mpps.io,获取HSM签名收据。无需API密钥。
gdlg-ai gdlg-ai 来源
未分类 clawhub v1.4.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 566
下载
💾 0
安装
1
版本
#latest

概述

mpps-attestation

Create tamper-proof receipts for agent actions via mpps.io.

No API key. No SDK required. One HTTP call.

Source: https://github.com/gdlg-ai/mpps.io (MIT)

Docs: https://github.com/gdlg-ai/mpps.io/blob/main/docs/api.md

When to use

  • After completing a task, receipt the final artifact hash
  • After generating code, data, images, reports, or release bundles
  • Before and after important workflow steps to build an audit trail
  • When publishing a skill, plugin, package, or API output that users should verify
  • After a payment or delivery workflow, receipt what was sent or received

Create a structured action receipt

Use /v1/receipts when you know what action happened and which artifacts it produced.

ARTIFACT_HASH=$(sha256sum "$ARTIFACT_PATH" | awk '{print "sha256:" $1}')

curl -s -X POST https://api.mpps.io/v1/receipts \
  -H "Content-Type: application/json" \
  -d "{
    \"action\": \"agent.task.complete\",
    \"subject\": \"$ARTIFACT_PATH\",
    \"artifact_hashes\": [
      {\"label\": \"$ARTIFACT_PATH\", \"sha256\": \"$ARTIFACT_HASH\"}
    ],
    \"context\": {
      \"repo\": \"${GITHUB_REPOSITORY:-local}\",
      \"commit\": \"${GIT_COMMIT:-unknown}\"
    }
  }"

Returns: uuid, receipt_type, manifest_hash, manifest, timestamp, HSM signature, and verify_url.

Create a raw hash receipt

Use /v1/notarize when you only need to anchor one hash.

HASH=$(echo -n "$DATA" | sha256sum | awk '{print "sha256:" $1}')
curl -s -X POST https://api.mpps.io/v1/notarize \
  -H "Content-Type: application/json" \
  -d "{\"content_hash\": \"$HASH\"}"

Python

import hashlib
import requests

artifact = b"agent output bytes"
h = "sha256:" + hashlib.sha256(artifact).hexdigest()

receipt = requests.post(
    "https://api.mpps.io/v1/receipts",
    json={
        "action": "agent.task.complete",
        "subject": "output.json",
        "artifact_hashes": [{"label": "output.json", "sha256": h}],
        "context": {"runner": "codex"},
    },
    timeout=30,
).json()

print(receipt["uuid"])
print(receipt["verify_url"])

Verify

curl https://api.mpps.io/v1/verify/mpps_att_0c27bebca6dc4bd6

For structured receipts, recompute the manifest hash if you need stronger evidence:

python3 - <<'PY'
import hashlib, json

r = json.load(open("receipt.json"))
manifest = r["manifest"]
canonical = json.dumps(manifest, sort_keys=True, separators=(",", ":")).encode()
print("sha256:" + hashlib.sha256(canonical).hexdigest())
print(r["manifest_hash"])
PY

Privacy

Send hashes and small labels, not raw private content. Avoid hashing short secrets directly; use larger payloads or a salt. Do not put secrets, customer data, raw prompts, or private source text in context.

Key facts

  • Free: 10 structured receipts or raw hash receipts per hour
  • Certified metadata receipts: 10 free/day
  • No registration, no API key, no credentials
  • HSM-signed with AWS KMS
  • Stored 10 years in AWS S3 Object Lock, Compliance Mode
  • agent_id is a weak source fingerprint, not authenticated identity
  • Open source: https://github.com/gdlg-ai/mpps.io
  • Security: https://github.com/gdlg-ai/mpps.io/blob/main/SECURITY.md
  • Verification: https://github.com/gdlg-ai/mpps.io/blob/main/docs/verify.md

版本历史

共 1 个版本

  • v1.4.0 当前
    2026-05-02 12:17 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,407 📥 324,747
ai-agent

Find Skills

guipi888
场景驱动+关键词双模式技能发现工具。当用户用自然语言描述场景/需求(如"我想做一个海报""帮我分析股票"),或明确说"安装技能/find skills/找个skill"时,自动从官方内置、本地已安装、SkillHub、虾评、GitHub、C
★ 1,490 📥 555,396
ai-agent

Agent Browser

rez0
用于 AI 代理的浏览器自动化 CLI。当用户需要与网站交互(包括浏览页面、填写表单、点击按钮、截图等)时使用。
★ 843 📥 323,572