SOC 2, ISO 27001 and GDPR control mapping

In shortMap the controls 10xGraph builds in to SOC 2, ISO 27001 and GDPR reviews, see what the default Full setup turns on, and what your own organization must supply.

  • 23 min read
  • 9 sections
  • Updated
  • v1.0.0
  • Markdown

Most of the technical controls a SOC 2, ISO 27001 or GDPR review asks for are built in: authentication with role-based access checked on every route, owner and tenant scoping in storage, a metadata-only audit log, rate limits, strict input rules, production boot checks, delete endpoints that also remove a thread’s files, memory expiry, and a hardened image and Kubernetes manifest. The Full setup turns the main ones on. You host 10xGraph yourself, so your data stays in your infrastructure, and the server and libraries send nothing to 10xScale. Your organization brings the rest: policies, processes and the environment you run it in.

For the line between what 10xGraph enforces and what you own, see Shared responsibility.

In the 35 SOC 2 and ISO 27001 rows below, 21 are built in, 11 are partly built in and 3 stay with you. In the 8 GDPR rows, 3 are built in, 4 are partly built in and 1 stays with you.

Each row names the feature, its default and what you own. Your auditor examines your organization and your deployment and decides what evidence is enough.

The control descriptions below are short paraphrases, not the official text. Check each one against the AICPA Trust Services Criteria (2017, with the 2022 revised points of focus), ISO/IEC 27001:2022 Annex A and Regulation (EU) 2016/679 (GDPR) before you cite it in an audit or a review.

How to read the status

Each row starts with one of three statuses.

Status Meaning
Built in 10xGraph provides the application-level control. What is left is configuration, policy, process or your environment (identity provider, network, TLS, storage).
Partly built in 10xGraph provides part of the application-level control. The row names the missing piece.
Stays with you 10xGraph has no feature for this control. It lives in your organization or infrastructure.

What the default Full setup turns on

10xgraph init --mode full with no other flags writes a 10xgraph.json and a project with:

  • Storage memory: the graph compiles with InMemoryCheckpointer. State is lost on restart.
  • Auth jwt.
  • A memory cache store.
  • Rate limiting on: 100 requests per 60 seconds, by user, fail_open: false.
  • Token revocation on (token_revocation: true).
  • The audit log on, with sinks: ["log"] and include_reads: true.
  • A PromptInjectionValidator registered on the graph.

Flags change this:

  • --storage postgres gives PgCheckpointer and a Redis cache store. --storage postgres-memory adds PgVectorStore.
  • --storage sqlite gives SqliteCheckpointer and keeps the memory cache store.
  • --worker forces a Redis cache store.
  • --auth none turns revocation off and rate limits by IP.

The Quick setup writes none of these settings.

With the memory cache store, rate limits, revocations, run locks and run caps hold per process, and the image from 10xgraph build runs two workers (WEB_CONCURRENCY=2). See Scaling and reliability.

The Dockerfile, Compose file and Kubernetes manifest from 10xgraph build set MODE=production and LOG_FORMAT=json. What production mode refuses at startup and what it changes is in the security model.

How to read the Default column

Value Meaning
on Active without configuration, in any mode.
with auth Active once auth is set (jwt or custom). Auth is off until you set it; the Full setup sets jwt.
Full setup Written to 10xgraph.json by 10xgraph init --mode full. Absent otherwise until you add it.
MODE=production Active when the server runs with MODE=production. The generated Dockerfile, Compose file and Kubernetes manifest set it.
generated deploy files Set in the Dockerfile, Compose file or Kubernetes manifest that 10xgraph build writes.
with Postgres storage Needs PgCheckpointer (or PgVectorStore): --storage postgres or postgres-memory, or your own instance passed to compile().
(shared cache store) Added after another value. With the memory cache store it holds per process only. It holds across workers and replicas only with a Redis or custom shared cache store.
opt-in Off until you enable it.
run by hand A CLI command you run yourself.
n/a No setting. The row describes a design property or your responsibility.

SOC 2 trust services criteria

Criterion What it asks 10xGraph feature Default You own Docs
CC6.1 Logical access controls protect information assets. Built in. Bearer JWT verification: an algorithm allowlist (HS, RS, ES, PS and EdDSA), none refused, exp required. Issuer, audience and max age checks are optional. Custom BaseAuth. A route guard refuses to boot if any non-public route lacks a permission guard. Storage reads are scoped to the caller’s owner and reach. Client filters that name tenant columns or user_id are rejected. Tenant scoping and row-level security exist only in Postgres storage. Route guard: on. JWT rules, owner scoping, filter checks: with auth. Issuer, audience, max age: opt-in. Tenant scoping: with Postgres storage. Row-level security: opt-in, with Postgres storage. Identity provider, token issuing, MFA, secret storage, database roles. Auth, Multi-tenant data
CC6.2 Users are authorized before access and access is removed when no longer needed. Built in. 10xGraph is a resource server with no user registry. Token revocation per token or per user, from code (revoke_user, revoke_token). Revocation fails closed. Once it is on, a token without jti gets 401. Full setup (shared cache store). Joiner, mover and leaver process, deprovisioning in your identity provider, calling revoke on offboarding. Auth, Auth reference
CC6.3 Access is granted by role with least privilege. Built in. Role-based access with permissions from one registry, role inheritance, a required reach per role (own, tenant, all), token scopes that only narrow. admin:* is excluded from the default set. Without roles, every user gets the default permissions with reach own. With permissions_claim set and no roles, permissions come from that claim instead (reach stays own). Reach all roles are logged at boot. GET /v1/me shows a caller’s resolved access. Per-tool permissions (tools:<name>) checked at call time by ToolGuard. with auth. Role design, role assignment, periodic access reviews. Auth, Authorization scopes
CC6.6 Systems are protected against threats from outside the boundary. Built in. Rate limiting (by IP, user or global, with a fail-closed option). Per-user run cap. Security headers and a 10 MB request size limit. Trusted-host check and CORS, which check nothing until you set ALLOWED_HOST and ORIGINS. Client input rules: clients may send only user messages, state_keys deny by default, message ids are assigned by the server, and thread ids are picked by the server (runs.thread_ids: "server"). An optional config_keys allowlist. SSRF policy for media URL fetches. A prompt-injection validator. Strict boot checks. Rate limit: Full setup (shared cache store). Run cap: with auth (shared cache store). Headers, size limit, input rules, SSRF policy: on. config_keys: opt-in. Validator: Full setup. Host and CORS values: opt-in, and required by MODE=production. Strict checks: MODE=production. Firewall, WAF, DDoS protection, TLS termination, ORIGINS and ALLOWED_HOST values. Rate limiting, CORS and security headers, Protect against prompt injection, Security model
CC6.7 Information is protected in transmission. Built in. HSTS, sent only on HTTPS requests (scheme https, or X-Forwarded-Proto: https, which is trusted from any client). The WebSocket bearer is carried in a subprotocol. No token in the URL: ?token= is not accepted. File reads are checked against owner and reach. HSTS, no token in URL: on. File checks: with auth. TLS everywhere (proxy, Postgres, Redis, brokers), certificate management, stripping X-Forwarded-Proto from clients at your proxy. CORS and security headers, WebSockets, Files and multimodal
CC6.8 Unauthorized or malicious software is prevented or detected. Partly built in. Upload checks: a leading-byte signature check (for types that have one), a type allowlist (MEDIA_ALLOWED_CONTENT_TYPES; empty allows all types), a 25 MB cap and filename cleaning. The generated image runs as non-root, with pip and the CLI’s own libraries removed. The generated Kubernetes manifest sets runAsNonRoot, a read-only root filesystem, allowPrivilegeEscalation: false, drops all capabilities, uses the RuntimeDefault seccomp profile and sets automountServiceAccountToken: false. There is no malware scanning. Upload checks: on. Type allowlist: opt-in. Image and manifest settings: generated deploy files. Malware and image scanning, runtime protection. Files and multimodal, Kubernetes
CC7.1 Configuration and vulnerabilities are monitored. Built in. 10xgraph audit checks the environment and 10xgraph.json. 10xgraph config and 10xgraph build warn about unsafe production settings. The server refuses unsafe production settings at boot. CLI checks: run by hand. Boot checks: MODE=production. Scans, patching and dependency updates in your own project. CLI, Production checklist
CC7.2 Components are monitored for anomalies that may indicate attacks or errors. Built in. The audit log records each access decision, authentication failure and change as metadata-only JSON lines. HTTP responses carry X-Request-ID; a WebSocket gets a request id in its context, not a header. Application logs carry request and user ids only in JSON format. OpenTelemetry tracing, Prometheus or OTLP metrics and Sentry are available. Audit log: Full setup. JSON logs: generated deploy files (LOG_FORMAT=json). Request ids: on. Tracing, metrics, Sentry: opt-in. Log collection, storage, alert rules, on-call. Audit log, Observability
CC7.3 Security events are evaluated to decide whether they are incidents. Stays with you. Request ids help correlate events. Token revocation helps contain a leaked token. Request ids: on. Revocation: Full setup (shared cache store). The incident process. Audit log, Auth
CC8.1 Changes are authorized, tested and implemented in a controlled way. Partly built in. 10xgraph test and 10xgraph eval for testing your own changes. A versioned Postgres schema with advisory-lock migrations. 10xgraph build for the image. Migrations only go forward; a rollback needs a restore. Test, eval, build: run by hand. Schema migrations: with Postgres storage. Change approval, code review, deployment pipeline, rollback (a schema upgrade needs stop, migrate, start; rollback needs a restore). CLI, Upgrade to 1.0
A1.1 Current processing capacity and use are monitored so capacity can be added. Built in. Rate limits, per-user run cap, WebSocket connection caps (when the WebSocket routes are enabled), run timeout and metrics. Media quotas are off by default. Rate limit: Full setup (shared cache store). Run cap: with auth (shared cache store). WebSocket caps: on. Run timeout: MODE=production. Metrics, media quotas: opt-in. Capacity planning, scaling and alerts. Limits, Prometheus and Grafana
A1.2 Environmental protection, backup and recovery support availability. Built in. Durable Postgres checkpointer. Graceful shutdown. Run locks and caps held as leases that expire if a worker dies. Liveness /ping and readiness /health/ready. Docker HEALTHCHECK and Kubernetes probes. Startup backend checks with retry. Durable state: with Postgres storage. Shutdown, health endpoints, startup checks: on. Leases: on (shared cache store). Healthcheck and probes: generated deploy files. Backups, restore tests, disaster recovery, database high availability, capacity. Graceful shutdown, Durability and concurrency, Backup and restore
C1.1 Confidential information is identified and kept confidential. Built in. Per-owner scoping. Per-tenant scoping and row-level security in Postgres storage only. A required file owner. A log sanitizer for secrets. Hidden error details in production. Tracing is off by default, but once enabled, observability.level defaults to full: message content, tool input and output and system prompts are sent. (OTEL_LEVEL sets the level only for the legacy OTEL_ENABLED path.) standard still sends error messages, and graph state on Phoenix node spans. Only spans keeps content out, and errors keep their type only. Owner scoping: with auth. Tenant scoping: with Postgres storage. Row-level security: opt-in. File owner required, hidden errors: MODE=production. Sanitizer: on. Tracing: opt-in, and at level full once on. Data classification, the trace level, what you send to model providers, trace backends and publishers. Multi-tenant data, Security model, Observability
C1.2 Confidential information is disposed of when no longer needed. Partly built in. Thread delete removes the thread, deletes its files once no other thread uses them (media.delete_with_thread, default on), drops the server’s in-process run traces and reports any step that did not finish. Message delete, memory delete and forget by filter, file delete. Memory expiry (ttl on the memory config) with a scheduled memory_cleanup task that deletes expired memories. State snapshot pruning (state_history_limit, default 20) in PgCheckpointer only. Cache TTLs. There is no automatic retention for threads. Delete endpoints, file delete with thread, cache TTLs: on. Memory expiry, memory_cleanup: opt-in. Pruning: with Postgres storage. The retention schedule and running it, backup expiry. See not provided below. Threads API, Memory store API, Set up checkpointing
PI1.3 Processing is complete, accurate and timely. Built in. One run per thread through a lease lock. Idempotency-Key on invoke, stream, AG-UI and WebSocket. A tool ledger in the checkpointer so a resumed run does not repeat a finished tool call; it is durable with Postgres or SQLite storage. A run timeout. Lock: on (shared cache store). Idempotency: opt-in, per request. Ledger: on. Timeout: MODE=production. Correctness of your tools and prompts. Replay-safe tools, Durability and concurrency
P5.1, P5.2 Individuals can access and correct their personal information. Partly built in. A user can list and read their own threads, messages, memories and files, and update thread state and memories. This supports a request; it does not handle it. There is no one-call export. with auth. Request handling, identity verification. Threads API, Memory store API

ISO/IEC 27001:2022 Annex A

Control What it asks 10xGraph feature Default You own Docs
5.15 Access control Access rules based on business need. Built in. Role-based access, permission registry, reach, per-route permission checks. The route guard refuses to boot if a non-public route has no permission guard. Route guard: on. Roles and checks: with auth. The access policy. Auth
5.16 Identity management Manage the identity lifecycle. Stays with you. Resource server only: identity comes from token claims, and reserved system ids are refused. n/a The identity provider and its lifecycle. Auth
5.17 Authentication information Manage secrets and credentials. Built in. JWT secret strength check for HS algorithms: under 32 bytes refuses boot in production and warns in development. RS and ES keys have no length check. Verification key rotation with JWT_SECRET_KEYS and kid. Secrets read from the environment. Strength check: MODE=production. Rotation: opt-in. Secret manager, rotation schedule. Auth reference, Environment variables
5.18 Access rights Grant, review, change and remove access rights. Built in. Role-to-permission configuration, revocation, a boot warning for reach all. Roles, boot warning: with auth. Revocation: Full setup (shared cache store). Reviews and the removal process. Auth
8.2 Privileged access rights Restrict and manage privileged access. Built in. admin:* is excluded from defaults. Reach all must be declared per role and is logged at boot. with auth. Who holds privileged roles, database and infrastructure admin. Auth
8.3 Information access restriction Restrict access to information per policy. Built in. Owner scoping in every storage backend, from the identity in the run config. Without an identity (auth off, or direct SDK use without config["user"]), checkpointers fall back to their enforce_user_isolation setting: on by default in PgCheckpointer, off in the in-memory and SQLite checkpointers. Tenant scoping only in PgCheckpointer, PgVectorStore, and media when the checkpointer has tenant columns. InMemoryCheckpointer and SqliteCheckpointer reject tenant_columns; QdrantStore has no tenant support. Client filters naming tenant columns or user_id are rejected. File ownership. Owner scoping, filter checks: with auth. Tenant scoping: with Postgres storage. Tenant-column mismatch refusal: MODE=production. Row-level security: opt-in. Tenant claim design, choice of backend. Multi-tenant data, Tenancy and access
8.5 Secure authentication Secure authentication technology and procedures. Partly built in. JWT verification rules. Optional issuer, audience and max age (JWT_ISSUER, JWT_AUDIENCE, JWT_MAX_TOKEN_AGE_SECONDS, unset by default). Fail-closed revocation. No tokens in WebSocket URLs. Keys cannot be fetched from a JWKS URL. JWT rules: with auth. Issuer, audience, max age: opt-in. Revocation: Full setup (shared cache store). No token in URL: on. MFA and the login flow (identity provider). Auth, WebSockets
8.6 Capacity management Monitor and adjust resource use. Built in. As A1.1: rate limits, per-user run cap, WebSocket connection caps, run timeout, metrics. Media quotas are off by default. As A1.1. Scaling and alerts. Limits, Rate limiting, Prometheus and Grafana
8.7 Protection against malware Implement protection against malware. Partly built in. As CC6.8: upload signature, type and size checks and filename cleaning; a non-root, slimmed image and a hardened Kubernetes manifest. There is no malware scanning. As CC6.8. Malware scanning of uploads and images, endpoint protection. Files and multimodal, Kubernetes
8.9 Configuration management Establish, document and monitor secure configurations. Built in. The Full setup. Strict boot checks. API docs and OpenAPI off in production. 10xgraph audit and 10xgraph config warnings. Config schema validation. The generated deploy files set MODE=production and the hardening listed under CC6.8. Full setup: Full setup. Boot checks, docs off: MODE=production. CLI warnings: run by hand. Schema validation: on. Config in version control, drift detection. Production checklist, CLI
8.10 Information deletion Delete information when no longer required. Partly built in. As C1.2: per-thread delete with cleanup, memory and file delete, memory expiry with memory_cleanup, snapshot pruning in PgCheckpointer. There is no automatic retention for threads. Delete endpoints: on. Memory expiry: opt-in. Pruning: with Postgres storage. Schedules. See not provided below. Threads API
8.11 Data masking Mask data per policy. Partly built in. Secrets masked in logs and in Sentry, tracebacks included (bearer tokens, JWTs, common API key shapes, password= values, signed URL signatures, DSN passwords, sensitive key names), controlled by LOG_REDACT_SECRETS. This covers secret masking only; there is no PII masking. on PII masking. Observability
8.12 Data leakage prevention Prevent unauthorized disclosure. Partly built in. Owner scoping, tenant scoping in Postgres storage, sanitized production errors, SSRF guard. Trace content as C1.1. Owner scoping: with auth. Sanitized errors: MODE=production. SSRF guard: on. Tracing: opt-in. DLP tooling, egress control, the trace level. Security model, Observability
8.15 Logging Produce, store, protect and analyze logs of activity and events. Built in. The audit log (metadata-only JSON lines for access, authentication and change events). Application logs carry request and user ids in JSON format. 10xGraph produces the logs; it does not store or protect them. See tamper protection. Audit log: Full setup. JSON logs: generated deploy files. Storage, protection, retention and analysis. Audit log, Observability
8.16 Monitoring activities Monitor for anomalous behaviour. Built in. OpenTelemetry traces, metrics, Sentry, readiness checks. Traces, metrics, Sentry: opt-in. Readiness: on. Monitoring and response. Observability, Send AI traces
8.20 Networks security Secure, manage and control networks and network devices. Stays with you. 10xGraph has no network controls. The trusted-host and CORS settings are application settings and are listed under 8.26. n/a Network design, segmentation, firewalls, TLS. CORS and security headers
8.24 Use of cryptography Rules for cryptography and keys. Partly built in. JWT algorithm allowlist and HS key length check. HSTS. No encryption at rest in the app. Allowlist: with auth. Key length refusal: MODE=production. HSTS: on. TLS, disk, database and bucket encryption, key management. Auth
8.26 Application security requirements Identify security requirements for applications. Built in. The Full setup and its warnings define a baseline. Trusted-host check (ALLOWED_HOST) and CORS (ORIGINS), both * by default. Client input rules and filters validation, as CC6.6 and 8.3. Baseline: Full setup. Host and CORS values: opt-in, and required by MODE=production. Input rules: on. Your own requirements and the host and origin values. Production checklist, Security model, CORS and security headers
8.32 Change management Subject changes to change management. Partly built in. As CC8.1. As CC8.1. As CC8.1. CLI

GDPR

Under GDPR you are the controller of the personal data your app handles. 10xGraph is software you run, and 10xScale receives none of that data. The rows below map GDPR articles to the features that help you meet them.

Article What it asks 10xGraph feature Default You own Docs
Art. 5(1)(c), Art. 25 Process only the personal data you need, and protect data by design and by default. Partly built in. The audit log holds metadata only: ids, roles, outcomes and the client address, never prompts, answers, message text, file contents or tokens. On traces, user_id_mode sends user ids as raw, hash (HMAC-SHA256 when TENXGRAPH_TRACE_USER_ID_KEY is set) or mask. observability.level: spans keeps message content and error text out of traces. user_id_mode also applies to the JSON log user_id, auth WARNING lines and Sentry; the audit log and the event publishers keep the raw id. Message text is logged only at LOG_LEVEL=DEBUG. Each publisher gets the graph state only up to state_snapshot_limit (65,536 JSON characters by default); a larger state is replaced by a summary. Sentry is set up without default PII or request bodies, with the same secret redaction as the logs. There is no detection or redaction of personal data in message content. Audit log metadata only: on. Tracing: opt-in, and at level full with user_id_mode raw once on. State limit: on. What personal data enters prompts, tools, memories, traces and publishers. Audit log, Observability, Use publishers
Art. 5(1)(e) Keep personal data no longer than needed. Partly built in. Memories can expire (ttl on the memory config). Expired memories are hidden from every read, and the memory_cleanup task deletes them on a schedule. Task status records, and task results in a Redis result backend, expire after worker.result_ttl (default 86,400 seconds). Snapshot pruning in PgCheckpointer. There is no automatic retention for threads, messages and files. Memory expiry, memory_cleanup: opt-in. Task result expiry: on, with a worker. Pruning: with Postgres storage. The retention schedule, a job for old threads, retention in log and trace backends and backups. Memory and store, Background tasks, Configuration
Art. 15, 16, 20 Give people access to their data, correct it, and hand it over in a portable format. Partly built in. A user can list and read their own threads, messages, memories and files, and update thread state and memories. There is no one-call export. with auth. Request handling, identity verification, the export format. Threads API, Memory store API, Files API
Art. 17 Erase personal data on request. Partly built in. Thread delete removes the thread with its messages and state, deletes its files once no other thread uses them, and reports any step that did not finish. Message delete, memory delete, memory forget for one user (narrowed by thread, type, category or filter) and file delete. Every delete follows the caller’s reach. There is no single erase call for one user or tenant; script it from these calls. Thread delete does not touch memories, traces already sent to a tracing backend, logs in your sink or backups. Delete endpoints, file delete with thread: on. Reach checks: with auth. The request process, and erasure in trace backends, log storage, publisher consumers and backups. Threads API, Memory store API, Files API
Art. 32 Secure the processing with measures that fit the risk. Built in. JWT or custom authentication. Role-based access with reach own, tenant or all. Owner scoping in every storage backend. Tenant columns in Postgres storage, with opt-in row-level security. Mutual TLS on each link the app opens (Postgres, Redis, the model provider, MCP). Secrets masked in application logs. Rate limits and production boot checks, as listed in the SOC 2 table. Auth: Full setup. Owner scoping: with auth. Tenant columns: with Postgres storage. Row-level security, mutual TLS: opt-in. Secret masking: on. Encryption at rest, TLS termination, key management, regular testing of the measures. Auth, Multi-tenant data, Use mutual TLS, Security model
Art. 5(2) Be able to show that processing follows the principles. Built in. The audit log writes a JSON line for each access decision, authentication failure, change, rejected input, rate limit and tool call, with user id, tenant, roles, action, resource, result and request id. Full setup. The record of processing activities (Art. 30), storing and protecting the logs, your policies. Audit log
Art. 28, Art. 44 to 49 Use processors only under contract, and move data outside the EEA only with safeguards. Built in. You host 10xGraph, so data stays where you run it. The server and libraries send no telemetry or usage data to 10xScale. Data leaves your infrastructure only to services you configure: model providers, MCP servers, tracing backends, publishers and Sentry. You choose the model provider, including Anthropic through Vertex AI or Bedrock and Gemini through Vertex AI. on Contracts (DPAs) with model providers and every other service you configure, their regions, transfer safeguards. Integrations, Observability
Art. 33, 34 Report a personal data breach and tell the people affected. Stays with you. The audit log and request ids help you find what happened, and token revocation helps contain a leaked token. Audit log: Full setup. Revocation: Full setup (shared cache store). Breach detection, assessment and notification. Audit log, Auth

10xgraph dev opens the hosted playground at play.10xgraph.com, a separate web app with its own usage analytics. It is a development tool: --no-open skips it, and the generated deploy files do not run it.

What stays with you under GDPR

  • The lawful basis for each processing purpose (Art. 6) and the privacy notice (Art. 13, 14).
  • Contracts with model providers and every other service that receives personal data, and their regions.
  • The data subject request process: verify who is asking, run the reads and deletes above, and answer in time.
  • What personal data enters prompts, tool calls, memories, traces and publishers. Personal data inside prompts and model outputs is yours to classify: 10xGraph stores and forwards message content as your graph produces it and does not detect personal data in it.
  • The retention schedule, and erasure in log storage, trace backends, publisher consumers and backups.
  • The record of processing activities (Art. 30) and a data protection impact assessment where one is needed (Art. 35).

Not provided by 10xGraph

An auditor may ask for these. They are not features of the server, or only partly. Each row says what to do.

Evidence asked for Status What to do
Automatic retention for threads, messages and files (delete those older than N days) Not provided Memories can expire on their own (ttl on the memory config, removed by the memory_cleanup task). For threads, run your own job. The PgCheckpointer threads table has created_at and updated_at; SQLite has only updated_at; the in-memory checkpointer has neither. Deployer SQL or a scheduled background task can select old threads. Delete through the thread delete path rather than raw SQL so files are released too. state_history_limit prunes snapshots only, and only in PgCheckpointer.
Erase everything for one user or tenant in one call Partial Per-thread delete with file and trace cleanup, memory forget by filter and file delete exist. A full erase means listing and deleting each thread, then memories and files. Script it against the REST API.
Export of one user’s data Partial List and read endpoints cover threads, messages, memories and files. There is no single export call; script it.
JWKS URL fetch for identity provider keys Not provided Built-in JwtAuth verifies RS, ES, PS and EdDSA tokens with a static public key in JWT_SECRET_KEY or JWT_SECRET_KEYS. The jwt extra installs bare PyJWT, so install cryptography too. Keys rotate with JWT_SECRET_KEYS and kid. Only fetching keys from a JWKS URL is missing; a custom BaseAuth can do it. See Auth.
Encryption at rest Your infrastructure Use Postgres, disk and bucket encryption and your key management. The app does no field encryption.
PII redaction in logs and telemetry Not provided Only secrets are masked. Set the trace level to spans to keep content and error text out of traces, and keep LOG_LEVEL at INFO or above to keep message text out of logs. Spans from the fastmcp and mcp libraries are not governed by the trace level. See What the framework redacts, and what is yours for a filter and a callback recipe. A custom publisher can filter events before they leave. See Use publishers.
Malware scanning of uploads Not provided Uploads get signature, type and size checks. PDFs get a 10 MB and 500-page limit while DOCUMENT_HANDLING=extract_text (the default). Add a scanner in front of storage or in your upload path.
Backup and restore Your infrastructure Back up Postgres, Redis and object storage. See Backup and restore.
MFA, user provisioning, access reviews Your identity provider 10xGraph verifies tokens and does not issue them. GET /v1/me shows the resolved access of a caller to support a review.
Per-run usage and cost record Partial Spans carry token counts at trace level standard or higher, and a tenxgraph.llm.tokens counter exists. Neither is a per-run record. See Observability.

Project practices

These are practices of the 10xGraph project itself, relevant to SDLC questions in vendor reviews. They are not controls of your deployment.

  • A security policy with private vulnerability reporting. See Security policy.
  • Dependabot in all three repositories (pip or npm, and GitHub Actions, weekly).
  • CodeQL in all three repositories, on pull requests to the main branch and weekly (core and the TypeScript client also on pushes to main).
  • CI runs lint, type checks and tests on every repository. The TypeScript client release workflow runs the whole CI workflow against the tag before it builds.
  • The core and API releases are built and published by GitHub Actions on a version tag only. Publishing uses PyPI trusted publishing (OIDC, no stored upload token) behind an approval in the pypi environment. Each wheel and sdist carries a signed build provenance attestation, and each GitHub release includes an SPDX SBOM of what pip install brings in and the provenance bundle.
  • In the core and API repositories, every GitHub Action is pinned to a commit SHA, the workflows are checked by zizmor on pull requests and pushes to main, and OpenSSF Scorecard runs on pushes to main, weekly, on branch protection changes and on demand, with results published.
  • To check a downloaded wheel: gh attestation verify 10xgraph-<version>-py3-none-any.whl --repo 10xGraph/10xGraph for the core package, and gh attestation verify 10xgraph_api-<version>-py3-none-any.whl --repo 10xGraph/10xgraph-api for the API server.

Not in place:

  • TypeScript client: npm provenance and trusted publishing, a build attestation, an SBOM, actions pinned to commit SHAs, zizmor and OpenSSF Scorecard. The npm publish step in its release workflow is turned off, so the package is published outside CI.
  • All repositories: dependency vulnerability audits (pip-audit, npm audit, OSV) in CI. Dependabot version updates run, but no audit step does.

See also

Last updated for v1.0.0Edit this page on GitHubReport an issue