Skip to content

Security model

View as Markdown

Use this guide to decide what knowledge to store in Cortex and what access to give your agents. Cortex is a Socra-hosted cloud service. It supplies knowledge and tools to an agent host, which controls how the agent uses that context and when a person must approve an action.

Data access

Cortex sees data sent through its API, CLI, web application, or agent integration. Cortex does not inspect your repository, terminal, or agent session on its own.

Cortex stores submitted Module content and version history, dependencies, access policies, Issues, comments and attachments. It also records Flash activity, including the requested Module, included versions, caller and usage metadata.

An agent can send information from authorized work to Cortex when it creates or updates a Module, Issue, or comment. That can include decisions from a conversation or repository-derived knowledge. Give the agent clear scope for what it may preserve and which Account owns it.

Do not place credentials or secret values in Modules. Keep private customer and team material within its authorized boundary. Flash includes the target Module's dependency closure, so an agent preparing knowledge for wider access must check the included dependencies too. Automated maintenance does not make private knowledge public, and knowledge access does not authorize publication.

Model processing

Cortex does not call a model API when it stores, searches, versions or flashes Modules. When an authorized agent retrieves knowledge, that content enters the agent's session and may be processed by the model provider configured for that agent. The provider's handling of the session depends on your agent configuration and agreement with that provider.

Connecting Cortex does not replace those provider terms. Review them before giving an agent access to sensitive knowledge. The Socra Privacy Policy describes Socra's processing of personal information.

Protection and access boundaries

The Socra Account is the tenant boundary. Cortex scopes reads, writes, searches and dependency traversal to the authenticated Account. This is logical isolation through authorization and data access, not a dedicated customer database or private deployment.

Within an Account, Module permissions control direct access to knowledge. Issue permissions separately control Issues, comments and attachments. Account membership alone does not grant Module access. Account owners can repair Module access policies; their Account role does not itself grant ordinary content access.

If your use requires a particular storage region, security certification or backup recovery deadline, confirm that requirement by emailing support@socra.com before relying on it. The access and version-history controls described here do not establish those guarantees.

Adding a dependency can disclose its content to everyone who can Flash the parent Module. Cortex checks the requested root's access and returns its complete dependency closure without another access check for each dependency. Review the closure before sharing the parent. Receiving a dependency through Flash does not grant direct access to it.

Retention, recovery and copies

Module changes preserve immutable version snapshots. Archiving a Module removes it from active use and can be reversed by restoring it. Archiving does not erase its content or history; Cortex rejects direct hard deletion of Modules. Editing the current text also does not erase earlier versions.

Closing an Issue preserves its comments and state-change events. Issue deletion removes those records, subject to the Issue's permissions and dependency rules. Removing an attachment deletes its private file bytes; Cortex cannot restore them. Keep the original file if you may need it again.

Use Save Cortex records to preserve the Module content, versions, Issues, comments and files you need in a location you control. Follow every list page and open the saved copies. A Flash covers a selected dependency closure, and a set of per-record copies is not a complete Account backup or restore package.

Canceling a subscription, archiving a Module and requesting erasure have different effects. This guide does not establish a universal retention period or an export-only grace period after access ends. Before ending access, confirm any required retention, deletion or recovery terms by emailing support@socra.com. Use the Privacy Policy for personal-information requests. Copies already retrieved by an agent, exported to a file or sent to another service remain subject to that destination's controls.

Choose how changes are reviewed

You can authorize the agent to maintain useful knowledge during work, or require it to propose changes and wait for your approval. Customize the instructions during setup; the agent still prepares the content and dependencies in either mode.

Instructions express your preference. Your host's tool-confirmation settings and Cortex's resource permissions enforce separate boundaries. If you require a confirmation for each tool call, retain that host setting. Saving guidance alone is not an access-control mechanism. Publication, deployment and other external actions retain whatever approval requirements you set for them.

Plugin guidance

The coding-agent plugin supplies Cortex instructions through a skill in Codex and Grok Build, or a SessionStart hook in Claude Code, Cursor and GitHub Copilot CLI. Those instructions teach the agent to retrieve relevant knowledge and preserve useful specifics from its work. They do not upload the whole repository or conversation automatically.

The SessionStart hook does not watch the Cortex inbox, invoke a coding agent, or execute remote work automatically.

MCP tools

The hosted MCP server includes read, write, and delete-capable operations. Cortex enforces the authenticated principal's Account access and operation permissions. The agent host decides whether to request confirmation before invoking an allowed operation.

Inspect the discovered tool set and configure the host's approval policy before enabling Cortex for unattended work.

OAuth credentials

First-party plugins contain public OAuth client IDs. They do not contain client secrets. Each supported host completes Authorization Code with PKCE and stores its own grant.

The socra cortex setup installation does not copy or expose the CLI bearer token. Removing a plugin does not automatically revoke grants already stored by the host or authorization server.

Instruction precedence

Cortex output is tool context. It does not override system instructions, repository instruction files, organization policies, or the agent host's confirmation rules. Keep the instruction files your host normally discovers.