---
agent:
  instructions: "Use this search API to find Trusteed documentation (pages, blog posts, FAQ, error codes, the agent checkout guide and MCP tools) with keywords, instead of crawling individual pages. Results are returned in Markdown. It does not search store catalogues: for products use POST /api/v1/search."
  endpoint: "https://trusteed.xyz/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://developers.cloudflare.com/ai-search/how-to/search-for-agents/"
---
Source: https://trusteed.xyz/en/for-agents/security

[![](/sol46/shield.svg)**Trusteed** Control and evidence for delegated operations](https://trusteed.xyz/en)

[ES](https://trusteed.xyz/es/for-agents/security?setlang=es)[EN](https://trusteed.xyz/en/for-agents/security?setlang=en)

[Log in](https://trusteed.xyz/en/login)[Audit your store for free↗](https://trusteed.xyz/en/audit)

MCP Security

# 29 of 38 MCP-38 vectors mitigated

Trusteed publishes its full coverage matrix against the MCP-38 threat taxonomy (Shen et al, arXiv 2603.18063). Zero unaddressed gaps: anything not mitigated in code is covered by documented compensating controls or by architectural choice.

Mitigated

29

Partial

7

Compensating

2

Not addressed

0

## Security architecture

Defensive layers applied to every MCP call, from the OAuth handshake through tool response back to the agent.

### Input sanitization (E1)

Merchant-supplied strings pass through sanitizeMerchantContent() (multiple adversarial patterns) and are isolated via content delimiting before entering the LLM context. Mitigates MCP-02, MCP-08.

### Cross-tenant isolation (E4)

assertStoreOwnership() validates that the provided storeId matches the caller's auth context (merchant JWT or MCP API key). Metric cross\_tenant\_rejection\_total + alert. Runbook documented. Mitigates MCP-03, MCP-06.

### Manifest signing (E2)

Trusteed publishes a separate Ed25519 JWS signature in the header of agent-policy.json, agent-commerce.json, merchant-index.json, trust-components.json, mcp-tools-manifest.json, and ucp-capabilities.json; trusteed-capabilities.json, agent-capabilities.json, agent-card.json, and agent.json carry the signature inside the document (list measured 2026-11-30); mcp.json and the checkout guide are not signed. Trust Receipts and their revocation lists carry their own signature; see /trust/trust-receipt. Public JWKS at /.well-known/jwks.json and dual-key rotation with a grace period. Addresses MCP-07, MCP-11, and MCP-37 partially.

### Cross-cutting controls

OAuth 2.1 with PKCE + RFC 8707 audience (api.trusteed.xyz). DNS rebinding allowlist on MCP transport. Tiered rate limits per plan. Zod on every endpoint. AES-256-GCM in SecretVault.

## Coverage matrix (summary)

High-severity vectors with direct or pending mitigation. The full 38-row matrix (with Severity and Implementation) is available on request during a security review.

| # | Vector | Severity | Status | Implementation |
| --- | --- | --- | --- | --- |
| MCP-02 | Prompt Injection | High | ✅ | sanitizeMerchantContent (multiple adversarial patterns) + content delimiting |
| MCP-03 | Data Exfiltration | High | ✅ | Cross-tenant guard + 90-day audit retention |
| MCP-05 | Authentication Bypass | High | ✅ | OAuth 2.1 + JWT RS256 + RFC 8707 audience |
| MCP-06 | Authorization Bypass | High | ✅ | assertStoreOwnership() central helper |
| MCP-07 | Man-in-the-Middle | Medium | 🟡 | HTTPS+HSTS; manifest JWS signing active in production for part of the surfaces (E2); partial |
| MCP-08 | Tool Poisoning | High | ✅ | Sanitizer applied to merchant-authored content across MCP tools |
| MCP-11 | Output Manipulation | High | 🟡 | Zod schemas; manifest hash and JWS signing active in production for part of the surfaces (E2); partial |
| MCP-14 | Dependency Vulnerabilities | High | ✅ | MCP SDK 1.29.0 (3 CVEs patched) + DNS rebinding allowlist |
| MCP-22 | SSRF Attack | High | ✅ | Private CIDR blocklist + MCP host allowlist |
| MCP-25 | Cryptographic Weakness | High | ✅ | Ed25519, RS256, AES-256-GCM, SHA-256 only |
| MCP-26 | Insecure Storage | High | ✅ | SecretVault AES-256-GCM (ADR-003) |
| MCP-34 | Lack of Rate Limiting | High | ✅ | Per-tier, per-tool token-bucket rate limiter |
| MCP-37 | Rug Pull | High | 🟡 | eIDAS QTSP verification; manifest attestation active in production for part of the surfaces (E2); partial |
| MCP-38 | Shadow MCP | High | ✅ | Identity-gated onboarding + public trust labels |

More on compliance: [Compliance](https://trusteed.xyz/en/compliance)

## Public Tools Manifest

Public signed endpoint with separate SHA-256 hashes over each MCP tool's description and inputSchema. Lets clients pin hashes and detect rug-pull (silent changes to descriptions or schemas that escalate privileges).

### Public URL

https://trusteed.xyz/.well-known/mcp-tools-manifest.json

3600s cache. Signed JWS Ed25519 reusing keys published at /.well-known/jwks.json (ADR-016). Versioned YYYY-MM-DD.N with previous\_version field for graceful upgrade.

### Rug-pull detection

Separate description vs inputSchema hashes enable granular client policies (tolerate cosmetic changes, reject schema mutations). CI gate blocks merges without version bump.

### Quick verification

```
# 1) Descargar manifest + JWKS
curl -s https://trusteed.xyz/.well-known/mcp-tools-manifest.json -o manifest.json
curl -s https://trusteed.xyz/.well-known/jwks.json -o jwks.json

# 2) Verificar firma JWS Y que el cuerpo es el firmado (Node.js + jose, ESM)
node --input-type=module -e "
  import { compactVerify, createLocalJWKSet } from 'jose';
  import { createHash } from 'node:crypto';
  import fs from 'node:fs';
  const canon = (v) => v === null || typeof v !== 'object' ? JSON.stringify(v)
    : Array.isArray(v) ? '[' + v.map(canon).join(',') + ']'
    : '{' + Object.keys(v).sort().map(k => JSON.stringify(k) + ':' + canon(v[k])).join(',') + '}';
  const { _jws, _kid, ...body } = JSON.parse(fs.readFileSync('manifest.json'));
  const jwks = JSON.parse(fs.readFileSync('jwks.json'));
  const { payload } = await compactVerify(_jws, createLocalJWKSet(jwks), { algorithms: ['EdDSA'] });
  const c = JSON.parse(new TextDecoder().decode(payload));
  const hash = 'sha256:' + createHash('sha256').update(canon(body)).digest('hex');
  if (c.sub !== 'mcp-tools-manifest.json' || c.exp <= Date.now() / 1000 || hash !== c.manifest_hash) {
    throw new Error('manifest NOT verified');
  }
  console.log('OK', body.version); // verify-snippet
"

# 3) Pinear hash de una tool y comparar en futuras releases
jq -r '.tools[] | select(.name=="search_products") | {description_sha256, schema_sha256}' manifest.json
```

Technical detail (RFC 8785 JCS canonicalization, version format) on the manifest signing page: [Manifest Signing](https://trusteed.xyz/en/for-agents/security/manifest-signing)

## Public trust signals

- ### ADRs
  
  14 Architecture Decision Records documented internally (ADR-003 SecretVault, ADR-011 requireEnv, ADR-014 ServerTrustedStoreId, etc); summaries are available on request.
  
- ### MCP P2 Compliance
  
  Aligned with MCP 2025-11-25 (Streamable HTTP, OAuth 2.1, Progressive Discovery).
  
- ### EU CRA Phase 1 done
  
  Technical dossier, DEFAULT classification, vulnerability disclosure policy (internal documentation, available on request).
  
- ### Operator agent mandates
  
  Non-degradable per-capability human-approval thresholds, signed revocation, technical alignment with FIDO Alliance's AATWG framework: [full detail](https://trusteed.xyz/en/for-agents/security/operator-mandates).
  
- ### eIDAS QTSP
  
  Designed to verify merchant identity via InfoCert with QES and cross-border recognition across 30 EU/EEA countries. Code-complete integration, pending production credentials.
  

## Responsible disclosure

If you find a security issue, report it confidentially. Please don't publish exploits until we've confirmed the patch in production.

[security.txt](https://trusteed.xyz/.well-known/security.txt)[SECURITY.md](https://github.com/trusteed/MCPWebStore/blob/main/SECURITY.md)[Contact](https://trusteed.xyz/en/contact)
