Skip to content

Security: mission69b/t2000

Security

SECURITY.md

Security Policy

Supported Versions

Version Supported
0.36.x
< 0.36

Reporting a Vulnerability

If you discover a security vulnerability in t2000, please report it responsibly.

Do NOT open a public GitHub issue for security vulnerabilities.

How to report

GitHub Security Advisories (preferred): Report a vulnerability

What to include

  • Description of the vulnerability
  • Steps to reproduce
  • Potential impact
  • Suggested fix (if any)

Response timeline

  • Acknowledgment: Within 48 hours
  • Initial assessment: Within 5 business days
  • Fix timeline: Critical issues within 7 days, others within 30 days

Scope

The following are in scope:

  • @t2000/sdk — Key management, transaction building, adapter routing
  • @t2000/engine — LLM orchestration, tool permissions, cost limits, abort handling
  • @t2000/cli — Input validation, PIN handling
  • @t2000/mcp — MCP server tool permissions, input validation
  • @suimpp/mpp — MPP payment method (Sui USDC)
  • Server API — Fee ledger, indexer, daily-intel cron orchestration
  • Move contracts — On-chain fee collection, admin controls
  • Website — XSS, injection, authentication bypass

Out of scope

  • Third-party protocol vulnerabilities (NAVI contracts)
  • Social engineering attacks
  • Denial of service via rate limiting (already implemented)
  • Issues in dependencies (report to upstream maintainers)

Security Measures

  • AES-256-GCM encrypted key storage with scrypt KDF
  • Transaction simulation before execution
  • On-chain timelocked governance (7-day fee change delay)
  • Automated security scanning via GitHub Actions (CodeQL, dependency audit)
  • Adapter compliance test suite (500+ tests across SDK, engine, and CLI)

Engine Security Model (@t2000/engine)

  • Permission tiers — Tools are classified as auto (read-only, no approval), confirm (requires user approval before execution), or explicit (manual-only, never auto-dispatched by LLM)
  • Delegated execution — Write tools yield pending_action events; the client executes the transaction on-chain and resumes the engine via resumeWithToolResult. Session state is persisted so the flow is stateless and serverless-friendly.
  • Transaction serialization — Write tools serialize structurally via the AI SDK step model + needsApproval round-trip: confirm-tier writes yield a pending_action, the host round-trips through user confirm, and the next step runs the next write — preventing Sui object version conflicts from concurrent mutations without an in-process lock. (Pre-v2.0.0 used an in-process TxMutex; v2 engine AISDKEngine doesn't instantiate one — legacy TxMutex is still exported for back-compat consumers.)
  • Budget limitsCostTracker enforces configurable budgetLimitUsd; engine stops when the threshold is reached
  • Max turnsAISDKEngine enforces maxTurns to prevent runaway LLM loops
  • Input validation — All tool inputs are validated through Zod schemas before execution
  • Context isolationMemorySessionStore uses structuredClone to prevent cross-session data leaks

Audit Status

Last audit: March 2026 (automated full-stack review) Status: Findings being remediated — contact the maintainers for the full report

This is beta software. Use at your own risk. See DISCLAIMER for details.

There aren't any published security advisories