我们发现了什么
# AgentTrust ### 面向自主AI智能体的可验证零信任控制平面、密码学黑盒和后量子策略网关 [   [    [!
PQC NIST FIPS 204-8B5CF6.svg)](server/services/pqcAttestation.ts)   
The Problem: Autonomous AI agents are being granted bash shells, SQL credentials, cloud infrastructure access, and corporate credit cards. Without a deterministic policy boundary, a single indirect prompt injection or runaway hallucination can delete production tables, exfiltrate API keys, or drain financial budgets.
The Solution: AgentTrust sits between autonomous LLM agent runtimes and external tool execution environments. It intercepts every proposed action, screens parameters for prompt injections and data leaks, checks real-time blast radius, enforces fine-grained capability policies, gates dangerous actions behind 1-click human approvals, and records every event into an immutable, hardware-sealed (TPM 2.0 / Nitro Enclave) audit ledger anchored by NIST FIPS 204 (ML-DSA) post-quantum Merkle proofs.
Key Highlights & Architectural Guarantees
| Capability | Threat Mitigated | Technical Mechanism |
|---|---|---|
| Direct Authenticated Gateway | Ambient Authority & Insecure Proxies | Deny-by-default capability glob matching with strict Bearer/API key validation. Zero unauthenticated bypass. |
| Action-Specific & Verb Scoping | Broken Authorization (CWE-863) / Blanket Access | Sub-resource and AST verb extraction (database:orders:SELECT vs DROP/UPDATE). Prevents blanket resource access. |
| Cognitive Chain-of-Thought Audit | Rationalized Jailbreaks & Divergent Hallucinations | Cryptographically hashes and Merkle-anchors the agent's internal thought process; detects goal divergence and rationalized injections. |
| Post-Approval Continuous Runtime Watchdog | Post-Approval Drift & Stealth Cloud Escalation | Wiz/Upwind runtime sidecar model; intercepts post-approval side effects in real-time, instantly auto-quarantining IMDS/IAM expansion. |
| Cloud SSRF & IMDS Shield | AWS/GCP Metadata Exfiltration | Network-level socket inspection strictly blocking loopback and 169.254.169.254. |
| Blast Radius & Micro-Budgets | Runaway Loop Cost & Table Dropping | Real-time blast radius scoring (0.00–1.00), sliding-window token/USD ceilings, and 30 RPM tripwires. |
| Dual-Lock Anti-Replay HITL | Webhook Token Replay Attacks | EU AI Act Art. 14 compliant single-use ephemeral approval nonces that burn atomically on execution. |
| Cryptographic Black Box | Log Tampering & Liability Repudiation | SHA-256 backward hash chaining with binary Merkle receipts and NIST FIPS 204 post-quantum signatures. |
Visual Architecture
[ Autonomous Agent Runtime ]
(LangChain / LangGraph / CrewAI / AutoGen / OpenAI)
│
│ 1. Direct Authenticated Tool Execution Request
▼
┌────────────────────────────────────────────────────────────────────────────────────────┐
│ AGENTTRUST DIRECT AUTHENTICATED GATEWAY │
│ │
│ ┌──────────────────────────────┐ ┌───────────────────────────────────────────┐ │
│ │ Socket-Level Egress Guard │ │ Prompt Injection & Secret Leak Scanner │ │
│ │ • Loopback & RFC1918 Defense │ ──► │ • 16-Pattern Prompt Hijack Detection │ │
│ │ • Cloud IMDS (169.254) Shield│ │ • PCI/API Token / Private Key Redaction │ │
│ └──────────────────────────────┘ └───────────────────────────────────────────┘ │
│ │ │
│ ┌──────────────────────────────┐ ┌──────────────┴────────────────────────────┐ │
│ │ Blast Radius Scoring Engine │ │ Sliding-Window Spend & Velocity Limiter │ │
│ │ • Reversibility Evaluation │ ──► │ • Autonomous Micro-Budgeting ($/run) │ │
│ │ • Target Tier Classification │ │ • 30 RPM Velocity Circuit Breaker │ │
│ └──────────────────────────────┘ └───────────────────────────────────────────┘ │
│ │ │
│ ┌──────────────▼────────────────────────────┐ │
│ │ Deny-by-Default Policy Authorization │ │
│ │ • Fine-Grained Capability Glob Matching │ │
│ │ • Lineage Attenuation for Subagent Swarms │ │
│ └───────────────────────────────────────────┘ │
└───────────────────────────────────────────────────────┬────────────────────────────────┘
│
┌──────────────────────────────┴──────────────────────────────┐
│ │
▼ (Blast Radius > 0.7 OR Sensitive) ▼ (Authorized)
┌──────────────────────────────────────────┐ ┌──────────────────────────────────┐
│ Human-in-the-Loop Callback Gateway │ │ Cryptographic Execution Sandbox │
│ • 1-Click Mobile / Slack Signed URLs │ │ • Hard Process Isolation │
│ • Single-Use Ephemeral Nonce (Anti-409)│ │ • 3,000ms Watchdog Timeout │
└──────────────────────────────────────────┘ └──────────────────────────────────┘
│ │
└──────────────────────────────┬──────────────────────────────┘
│
▼ 2. Cryptographic Proof of Execution
┌────────────────────────────────────────────────────────────────────────────────────────┐
│ VERIFIABLE AUDIT ENGINE & NOTARY │
│ │
│ [ SHA-256 Backward Hash Chaining ] ──► [ Binary Merkle Tree Inclusion Receipts ] │
│ [ TPM 2.0 PCR-Sealed Hardware Key] ──► [ NIST FIPS 204 (ML-DSA) Post-Quantum Proofs] │
└────────────────────────────────────────────────────────────────────────────────────────┘3-Second Terminal Demo: Rogue Action Intercepted
$ curl -X POST http://localhost:4000/api/v1/proxy \
-H "Authorization: Bearer at_live_8f3a..." \
-H "Content-Type: application/json" \
-d '{
"targetUrl": "http://169.254.169.254/latest/meta-data/iam/security-credentials/",
"method": "GET"
}'
# 1.2ms Later: Trapped and Anchored to Merkle Ledger
HTTP/1.1 403 Forbidden
Content-Type: application/json
{
"success": false,
"decision": "BLOCKED",
"reason": "SSRF_PROHIBITED: Outbound destination resolved to prohibited cloud metadata IP (169.254.169.254)",
"blastRadiusTier": "CRITICAL",
"auditProof": {
"entryId": "audit_84f9a0c2",
"merkleRoot": "0x98f2b380d1e3458c01b44aa7...",
"pqcManifest": "FIPS-204-ML-DSA-v1.0"
}
}Sleek Web Dashboard & Live SecOps Center
AgentTrust includes a dark-mode Security Operations Center (SOC) dashboard built with React and Tailwind CSS:
- Executive HUD: Real-time stats on active agent enclaves, verifiable audit blocks, and post-quantum attestation status.
- 1-Click Interactive Threat Simulator: Live simulation buttons for Cloud SSRF attacks (
169.254.169.254), prompt injections, runaway spend spikes, and financial wire approvals. - Direct Authenticated Operator Session: Fully authenticated control plane (
x-admin-key/ Bearer token) with zero insecure proxy bypass. - Swarm Delegation Tree: Visual parent-child lineage tree with strict capability attenuation.
- Cryptographic Merkle Explorer: Interactive SHA-256 hash-chain block inspector and NIST FIPS 204 attestation verifier.
Run Locally:
# 1. Clone repository
git clone https://github.com/SRN0129/Agenttrust.git
cd Agenttrust
# 2. Install dependencies
npm install
npm --prefix client install
# 3. Build & Launch
npm run build:client
npm run serverAccess the dashboard at http://localhost:4000.
Polyglot SDK Quickstarts
1. Python (sdk-python) — LangChain & CrewAI
from agenttrust import wrap_agent, AgentTrustClient
from langchain.agents import AgentExecutor
# Authenticated Direct Gateway
client = AgentTrustClient(
api_key="at_live_8f3a9e...",
endpoint="https://gateway.agenttrust.io"
)
# Intercept tool calls with automatic policy screening & blast radius check
@wrap_agent(client=client, rate_limit_rpm=30, blast_radius_tier="HIGH")
def run_autonomous_agent(prompt: str):
executor = AgentExecutor(...)
return executor.run(prompt)2. TypeScript (sdk)
import { AgentTrustClient } from "@srn0129/agenttrust";
const client = new AgentTrustClient({
apiKey: "at_live_8f3a9e...",
endpoint: "https://gateway.agenttrust.io"
});
const result = await client.executeProtectedTool({
toolName: "database_query",
parameters: { query: "SELECT * FROM orders WHERE id = 1" }
});3. Go (sdk-go)
client := agenttrust.NewClient(agenttrust.Config{
APIKey: "at_live_8f3a9e...",
Endpoint: "https://gateway.agenttrust.io",
})
res, err := client.Authorize(ctx, agenttrust.AuthorizationRequest{
Action: "cloud:instance:terminate",
Resource: "i-098234abcdef",
})4. Rust (sdk-rust)
use agenttrust_sdk::AgentTrustClient;
let client = AgentTrustClient::new("at_live_8f3a9e...", "https://gateway.agenttrust.io");
let decision = client.authorize_tool("system:exec_bash", "server:root").await?;Enterprise Defense Assurances: Scoping, Cognitive Audit & Continuous Runtime Visibility
AgentTrust implements three critical guarantees that distinguish autonomous zero-trust gateways from naive reverse proxies:
1. Action-Specific & Verb Scoping (Beyond Binary Allow/Deny)
Prevents CWE-863 (Broken Authorization). Rather than coarse Allow or Deny on an entire resource, AgentTrust performs syntactic AST/verb extraction across SQL, REST, and Cloud APIs.
- Example: An agent scoped with database:orders:SELECT is allowed to execute SELECT * FROM orders WHERE status = 'pending', but is strictly rejected with SCOPE_VIOLATION if it attempts DROP TABLE orders or `UPDAT
... (truncated at the site's per-page length limit; see the source link below for the full text.)
这条还缺什么证据?
下面每条都由本条已有字段推出(等级、理由、商业模式、来源次数、是否演示), 本站不生成推测性结论;通用验证方法放在方法论页。
- 可核验的收入或付费证据查官网定价页与付费口径;第三方数据源(如 GetLatka)只作旁证,需标注来源与时点。
- 商业模式未定确认按席位/按用量/授权还是开源托管版收费;开源项目另查 LICENSE 与是否存在付费版。
通用验证清单(谁有这个问题/谁愿意付费/一个人能交付哪一小步)见我们的筛选方法。