TnsAI

Security

Control what agents can do, encrypt sensitive data, and defend against prompt injection.

Pages

  • Approvals and Annotations@ApprovalRequired, @Security, per-action gates.
  • EnforcementSecurityEnforcer, access control, audit logging.
  • Encryption — AES-256-GCM at-rest, envelope encryption.
  • Prompt Injection — Detection and mitigation.
  • RedactionRedactor SPI, default pattern catalog, per-tenant policy dispatch, audit events.
  • Cost GovernanceCostBudget per tenant / agent / capability, BudgetState snapshots, hierarchical scope rollup, hard-stop / soft-warn / defer policies.
  • AccountabilityAgentPrincipal verifiable identity, AgentLiabilityRecord audit trail, AuthorityScope bounds, ReputationLedger, PaymentBroker for agent-to-agent settlement.
  • SandboxSandbox SPI for isolated execution, ProcessSandbox / ContainerSandbox backends, SandboxPool, per-execute observability events.
  • Server Hardeningtnsai-server HTTP/WS surface: bind policy, Bearer auth, Origin allowlist, per-session capability tokens, workspace allowlist for /api/index.
  • Code Review HarnessCodeReviewPipeline (deepsec pattern), MatcherSpi + 10 built-in CWE matchers, ReviewAgentSpi for LLM-driven review, FileSystemPipelineStateStore, SARIF / JSON / Markdown exporters.

On this page