# Sourcegraph Cody

> Sourcegraph Cody is a community-maintained IDE extension from Sourcegraph. Anomity scores its risk at 75 out of 100 (high). It matches 1 dangerous capability combination.

- **Canonical URL:** https://catalog.anomity.ai/extension/sourcegraph-cody
- **Kind:** IDE extension
- **Publisher:** Sourcegraph
- **Trust level:** community
- **Risk score:** 75/100 (high)
- **Website:** https://sourcegraph.com/cody
- **Last updated:** 2026-09-02
- **JSON:** https://catalog.anomity.ai/api/entries/extension/sourcegraph-cody

## Description

Cody is Sourcegraph's AI coding assistant, distinguished from peers by tight integration with the Sourcegraph code-graph platform — it can pull context from any repository indexed by a Sourcegraph instance, not only the file currently open. That makes it particularly effective on large monorepos and across services owned by different teams. It is distributed for VS Code, JetBrains, and the Sourcegraph web app.

Declared capabilities include reading workspace files, writing edits back to files when the developer accepts a suggestion, making outbound network requests to either Sourcegraph's hosted Cody service or a self-hosted Sourcegraph instance, and accessing the user's Sourcegraph and provider API credentials. Shell execution is not requested by the extension itself, though some agent workflows in newer versions can run commands when explicitly opted in.

Cody is community trust in the catalog because Sourcegraph is not a marketplace-publisher trust authority. The combination of filesystem write plus credential access matches the credential-theft dangerous combination; the recommended posture is to use a workspace-scoped Sourcegraph account, prefer the self-hosted deployment for sensitive codebases, and review which repositories are indexed before granting Cody access.

## Why it scored 75

The score starts at the catalog's neutral base of 50 and moves only through the signals below. The formula is published at https://catalog.anomity.ai/about — there is no model and no hidden heuristic.

| Signal | Contribution | Severity | Evidence |
| --- | --- | --- | --- |
| Established community project | -10 | trust offset |  |
| 2 high-risk capabilities: filesystem:write, credentials:access | +20 | critical |  |
| Credential theft risk (high) | +15 | high | Filesystem write combined with credentials access can plant persistent credential stealers. |

Clamped result: **75/100**, band **high**.

## Capabilities

| Capability | Name | Security implication |
| --- | --- | --- |
| `filesystem:read` | Filesystem read | Can read files on the host system. Used for context, indexing, or analysis. |
| `filesystem:write` | Filesystem write | Can create, edit, or delete files on the host system. High-impact capability — anything from helpful edits to planting persistence. |
| `network:outbound` | Outbound network | Can make outbound network requests. Required for hosted model providers and remote APIs; also the path for data exfiltration if combined with read access. |
| `credentials:access` | Credentials access | Reads provider API keys, OAuth tokens, or other secrets from the host keychain or environment. |

## Dangerous combinations matched

### Credential theft risk (high)

Filesystem write combined with credentials access can plant persistent credential stealers.

Capabilities: `filesystem:write`, `credentials:access`

## Related IDE extensions

- [Claude Code for VS Code](https://catalog.anomity.ai/extension/claude-code-for-vscode) — risk 100 (critical)
- [Cline](https://catalog.anomity.ai/extension/cline) — risk 100 (critical)
- [Kilo Code](https://catalog.anomity.ai/extension/kilo-code) — risk 100 (critical)
- [OpenAI Codex for VS Code](https://catalog.anomity.ai/extension/openai-codex-vscode) — risk 100 (critical)
- [Roo Code](https://catalog.anomity.ai/extension/roo-code) — risk 100 (critical)
- [Continue](https://catalog.anomity.ai/extension/continue) — risk 75 (high)

---

Source: Anomity Catalog (https://catalog.anomity.ai/). Scoring methodology: https://catalog.anomity.ai/about. Machine-readable index: https://catalog.anomity.ai/llms.txt · https://catalog.anomity.ai/openapi.json
