Devin AI Security: Data Handling, Secrets, and Admin Controls
Cognition states that paid Devin plans may use customer data for model training by default unless you opt out, while Enterprise customers require express prior written consent before any training. That policy split is the core of Devin AI security for buyers evaluating data privacy, secrets, and admin controls before putting an autonomous coding agent near production code.
What Devin AI security actually covers
Cognition documents a training policy that surprises many security reviewers: by default, data may be used for model training to improve the service, and paid-plan customers must opt out on the Data Controls settings page if they want that stopped. After opt-out, Cognition states that customer data will not be used for training and that zero data retention is enabled with model providers. On Teams plans, only an administrator can exercise the opt-out. Enterprise customers sit on a different path entirely: Cognition says it will never train on Enterprise data without express prior written consent.
That distinction is the practical heart of Devin AI security. Buyers searching for "devin security" or "cognition enterprise security standards" often stop at encryption and audit logos. Those matter, but the day-to-day risk surface is how session data moves, who can grant repository access, how API keys are stored, and whether agent-produced code ships without a human review gate.
Devin AI is Cognition's autonomous software engineering agent. It can work through long tasks, touch repositories, and operate with credentials you supply. Treating it like a chat assistant understates the control model. You are onboarding a high-privilege engineering identity that needs the same data classification, least-privilege, and merge discipline you apply to a new contractor with write access.
This guide sticks to Cognition-published controls from the admin security docs, Enterprise packaging, Trust Center, and Secrets product guide. It does not invent certifications. Where Fast.io appears later, it is as a shared workspace layer for agent artifacts and handoffs around Devin, not as a built-in Devin feature.
Helpful references: Fast.io Workspaces, Fast.io Collaboration, and Fast.io AI.
How to verify encryption, SOC 2, and Trust Center evidence
Cognition's admin security documentation states that all data transmission is encrypted in transit and at rest. Production systems are monitored with logging, error handling, and live metrics dashboards. Unusual states such as high error rates or failures trigger alerts for investigation. Access to the AWS cloud environment is role-based, and only a small number of employees or contractors receive direct production access.
On the people side, Cognition requires multi-factor authentication on main work applications and annual security training for employees and contractors, covering password hygiene and social engineering awareness.
For third-party assurance, Cognition obtained SOC 2 Type II certification. Admin docs note certification activity and organization-wide security training in March 2024. Enterprise security docs state Cognition has been SOC 2 Type II certified since September 2024, with auditors reviewing policies and controls related to data security, privacy, processing integrity, confidentiality, and availability. For current reports and questionnaires, Cognition points buyers to the Trust Center rather than pasting claim sheets into sales decks.
Vulnerability reports go to security@cognition.ai. Enterprise documentation adds that Cognition notifies Enterprise customers of security incidents that may impact their environments according to contractual reporting obligations.
What SOC 2 Type II does and does not prove
SOC 2 Type II is a strong signal that Cognition operates under examined controls over a period of time. It does not mean every customer configuration is secure. Your GitHub app scopes, secret inventory, training opt-out status, and branch protection rules still determine whether Devin is safe for a given codebase. Reviewers who stop at "they have SOC 2" leave the highest-impact decisions unmade.
Enterprise packaging beyond the base cloud product
The Devin Enterprise page positions a stricter deployment story: virtual private cloud (VPC) deployment with support for major clouds, data kept in the customer's controlled environment, SOC 2 compliance claims, audit logs, fine-grained access controls, and integration with custom identity providers (IdP). Enterprise security docs also note that for dedicated deployments, customer data is stored within the customer's tenant, and by default Cognition does not train models on that customer data.
If you are buying for regulated engineering orgs, treat VPC, tenant isolation, IdP integration, and contractual training language as separate checklist items. Confirm each one in the Trust Center and your order form rather than assuming the public product and Enterprise product share the same defaults.
Keep Devin artifacts in one reviewable workspace
Store security checklists, secret inventories, and agent handoffs where humans and agents share versioned files, permissions, and search. Start a 14-day free trial and connect through Fast.io MCP when you are ready.
Data privacy, training opt-out, and integration scopes
Cognition processes Devin data based on how customers interact with the product. Through the web application, Cognition states it only processes data actively provided by the authorized user prompting Devin. For GitHub and messaging integrations, the administrator who installs the integration can review and manage permissions granted to Devin.
Retention is relationship-based: Cognition retains data processed through Devin for the duration of the customer relationship unless customers specify otherwise. Feedback data and user interaction data may be retained as long as Cognition determines it is needed.
Training and intellectual property
Paid plans: training use is on by default, with an opt-out path on Data Controls. Teams plan opt-out is admin-only. After opt-out, Cognition says training stops and zero data retention is enabled with model providers. Knowledge features can still help Devin fit team workflows without relying on model training of customer code.
Enterprise: no training without express prior written consent. Confirm the language in your agreement.
Output ownership follows a clear rule in Cognition's docs: code and other work product Devin produces is the customer's intellectual property for commercial use, with a restriction against using that output to train models aimed at reverse-engineering or competing with Devin.
GitHub and messaging data boundaries
For GitHub, installers can select which repositories Devin may access, and permissions can be adjusted later through GitHub App settings or by regenerating fine-grained tokens. Start narrow: a pilot repo is enough to evaluate quality before expanding to monorepos that hold secrets-adjacent configuration.
For Slack-style messaging, Cognition states Devin does not read, process, or store workspace data beyond information provided when Devin is tagged, initially prompted, and when additional information is shared in the active thread while a session is ongoing. Enterprise messaging docs generalize that pattern: Devin only processes data explicitly provided when tagged, when it receives a direct prompt, or when additional context is shared in an active thread.
Those scopes are helpful, but they still depend on human discipline. Pasting production credentials into a chat thread bypasses every Secrets feature Cognition ships. Treat integration permissions as necessary but incomplete controls.
A buyer checklist tied to real admin settings
Use this list when validating Devin AI security with security, legal, and platform engineering:
- Confirm SOC 2 Type II materials in the Cognition Trust Center and match report dates to your vendor review cycle.
- Record whether your plan is paid self-serve, Teams, or Enterprise, then verify the training default and who can opt out.
- On paid plans, complete Data Controls opt-out if training on customer content is unacceptable, and screenshot the resulting state for audit files.
- For Enterprise, confirm VPC or dedicated-tenant language, IdP integration path, and no-training-without-consent clauses in writing.
- Inventory GitHub (or other SCM) repository allowlists and remove unused app installations.
- Require Secrets Manager usage for API keys, passwords, and cookies; ban secrets in prompts and tickets.
- Enforce branch protections and human code review before merge for any Devin-authored pull request.
- Define a vulnerability contact path to security@cognition.ai and an internal owner who tracks vendor advisories.
- Decide where session artifacts, design notes, and handoff packages live outside the agent session (object storage, Drive, or a shared intelligent workspace).
How to manage Devin secrets without pasting keys into chat
Cognition's Secrets guide is explicit: when Devin needs credentials such as API keys, passwords, cookies, or similar material, use the Secrets feature under Settings rather than dropping values into the conversation. Secrets live primarily on the Secrets page in the Devin app, especially for organization-level material.
Cognition recommends a dedicated service account per platform (for example, a Devin-only email identity) instead of sharing a human engineer's personal logins. Notes on each secret can capture environment constraints, rotation schedules, and ownership. Examples from the docs include "production only," region-specific database credentials, deprecation timelines, and which user account owns the key.
Secret scopes
Organization global secrets persist across future sessions for the whole organization. All members can use them in sessions, but only admins can view or edit existing secrets. Secrets are encrypted at rest. New secrets apply only to sessions created after the secret was added, so rotating a key does not retroactively rewire old sessions.
Personal secrets stay scoped to sessions you create. They are useful for credentials tied to an individual tester account and should not become the home for production production credentials that the whole org needs.
Repo-specific secrets can be supplied as environment variables or a .env during environment configuration. Sessions using the same snapshot can access them; unrelated sessions cannot.
Session-specific secrets appear when Devin asks mid-task, or when you attach secrets to the current session only. They do not persist for future sessions, which is the right default for one-off credentials.
Supported types include raw secrets (API keys, SSH keys, usernames, passwords, tokens), site cookies for authenticated browser state, and TOTP secrets for two-factor flows on Devin-dedicated accounts. Cognition recommends against handing Devin 2FA material for personal human accounts. Key-value multi-field secrets are deprecated; create separate raw secrets for each field instead.
Once configured, applications read secrets as environment variables, with name normalization rules for invalid characters. That design keeps credentials out of prompt text while still letting Devin run authenticated workflows.
Practical secrets hygiene for agent coding
Mirror what you would demand from any automation bot:
- Prefer short-lived tokens and least privilege scopes on the external systems Devin must call.
- Separate staging and production secrets; never load prod keys into exploratory sessions.
- Rotate org secrets after contractor offboarding or when a session transcript may have leaked a value.
- Keep a human-owned inventory of which secrets Devin can use, even if the product encrypts values at rest.
- If Devin needs browser access to an internal app, prefer dedicated accounts plus Secrets-managed cookies or TOTP over shared personal sessions.
Teams that already use a vault such as HashiCorp Vault, AWS Secrets Manager, or 1Password should treat Devin Secrets as the delivery mechanism into the agent session, not as the only system of record. Sync or mint values into Devin Secrets on a controlled schedule rather than inventing a second unmanaged key store.
Review gates, agent artifacts, and where Fast.io fits
Cognition's own best-practice section is blunt: Devin can still hallucinate, introduce bugs, or suggest insecure code. Recommended mitigations include code reviews before deployment, branch protections so checks run before merges, and the same engineering review process you already apply to human pull requests. Security is not finished when encryption and SOC 2 boxes are checked. It finishes when unsafe code cannot reach production without a human gate.
That is also where many teams fail operationally. Session transcripts, patch notes, threat models, and "how we configured Devin" documents scatter across laptops, chat threads, and temporary object storage. Local disks work for a solo experiment. S3 or Google Drive work for bulk archives. Neither gives agents and humans a single permissioned workspace with version history, semantic search, and an append-only audit trail of who touched which artifact.
Fast.io is one option for that coordination layer around Devin AI, not a replacement for Cognition's product security. Engineers and agents can share org-owned workspaces with per-file version history and granular permissions at org, workspace, folder, and file levels. Intelligence Mode indexes files for hybrid search and citation-backed chat when you want to ask "what secrets policy did we approve for the payments service?" without grepping ten folders. An append-only audit log records activity for later review. Branded shares (Send, Receive, Exchange) help move packages to security reviewers or vendors with durable or expiring access and per-recipient grants.
Agents can connect through Fast.io's consolidated MCP toolset over Streamable HTTP at /mcp (with legacy SSE at /sse). Humans use the UI; agents use the same files. Ownership transfer lets an agent prepare structure and hand the organization to a human when the pilot moves from experiment to team standard. Workflows, tasks, and approvals can formalize "Devin opened a PR, security must sign off, then release engineering merges."
Pricing is usage-based across Starter ($29/mo), Business ($99/mo), and Growth ($299/mo) plans. Every organization starts with a 14-day free trial that requires a credit card. Paid subscription is required for ongoing work. If you only need a bucket, stay on S3. If you need agents and people to collaborate on security evidence, architecture notes, and handoff packages with searchable context, an intelligent workspace is a better fit.
A concrete secure pilot pattern
- Create a dedicated Devin identity and GitHub app install limited to one non-production repository.
- Opt out of training (or confirm Enterprise contractual defaults) and store proof in your vendor file.
- Load only staging credentials into Devin Secrets with notes that forbid production use.
- Require branch protection and two-person review on Devin PRs.
- Store architecture decisions, scan reports, and approved secret inventories in a shared workspace humans and agents can both read.
- Expand repository scope only after the first pilot merges cleanly under your normal quality bar.
Devin can also be used offensively for security work (for example Cognition's Security Swarm product for finding and remediating vulnerabilities). That is a separate product surface from protecting the Devin deployment itself. Do not confuse "Devin for security scanning" with "security of Devin as a vendor." Your enterprise risk review still needs Trust Center evidence, training controls, secrets practice, and merge policy regardless of how you use swarm-style scanning later.
Putting Devin security controls into production practice
Devin AI security is a stack of vendor claims you verify plus operational habits you own. Cognition publishes encryption in transit and at rest, SOC 2 Type II, a Trust Center, vulnerability disclosure, integration scopes for GitHub and messaging, paid-plan training opt-out with zero data retention after opt-out, Enterprise no-training-without-consent plus VPC and IdP options, and a Secrets product for credentials. Those are the published controls. Your residual risk is determined by whether training settings match policy, whether secrets stay out of prompts, whether repo access stays least privilege, and whether humans still review agent code.
For commercial buyers, the highest-impact actions are simple: read the current Trust Center materials, lock training defaults to your data policy, scope SCM access tightly, put every credential through Secrets, and refuse to merge Devin output without the same review you require from staff engineers. Pair that with a durable place for security evidence and session artifacts so the next incident review is not a scavenger hunt across personal drives.
If you treat Devin as a privileged engineer with a badge, MFA, scoped keys, and mandatory code review, the product's published controls are enough to start a careful pilot. If you treat Devin as a magic box that should never see production paths, you will still need the same checklist the first time someone pastes a prod token into chat. The difference is only whether you build the controls before that moment or after.
Frequently Asked Questions
Is Devin AI secure for enterprise code?
Cognition publishes enterprise-oriented controls including encryption in transit and at rest, SOC 2 Type II, a Trust Center for reports, vulnerability disclosure, optional VPC deployment, fine-grained access controls, audit logs, and IdP integration. Security for your code still depends on repository scopes, secrets hygiene, training settings or contractual no-training terms, and mandatory human review of Devin-produced changes. Enterprise packaging is the right starting point for regulated teams, but configuration and process remain customer-owned.
Does Cognition train on my Devin data?
On paid plans, Cognition may use customer data for model training by default. Paid users can opt out on the Data Controls settings page; after opt-out, Cognition states training stops and zero data retention is enabled with model providers. On Teams plans, only an administrator can opt out. For Enterprise customers, Cognition states it will never train on customer data without express prior written consent. Always confirm the active setting and contract language for your account.
How should I store API keys for Devin?
Use Cognition's Secrets feature under Settings rather than pasting keys into prompts or chat. Prefer organization secrets for shared bot credentials, personal secrets for individual test accounts, repo-specific environment variables when access should follow a snapshot, and session-specific secrets for one-off needs. Cognition encrypts secrets at rest, recommends dedicated service accounts, and supports raw secrets, site cookies, and TOTP for Devin-dedicated accounts. Keep a separate system of record for rotation and ownership.
What is the Cognition Trust Center for?
Cognition directs customers to trust.cognition.ai for deeper security posture materials beyond marketing pages. Use it during vendor security reviews to obtain current SOC 2 Type II and related documentation instead of relying on screenshots from secondary blogs.
What admin controls should security teams configure first?
Start with training opt-out or Enterprise contractual defaults, GitHub repository allowlists, Secrets for all credentials, branch protections with required reviews, and a documented incident path to security@cognition.ai. On Enterprise, add VPC or dedicated tenant confirmation and IdP integration to the same checklist.
Where should teams keep Devin session artifacts and security evidence?
Many teams use local disks, S3, or Google Drive for dumps and PDFs. When agents and humans need shared permissions, version history, semantic search, and an append-only audit trail, an intelligent workspace such as Fast.io can hold policies, inventories, and handoff packages while Devin continues to operate as the coding agent. Fast.io is complementary storage and collaboration, not a Cognition certification.
Related Resources
Keep Devin artifacts in one reviewable workspace
Store security checklists, secret inventories, and agent handoffs where humans and agents share versioned files, permissions, and search. Start a 14-day free trial and connect through Fast.io MCP when you are ready.