# Sourcery

> Sourcery is a community-maintained IDE extension from Sourcery. Anomity scores its risk at 50 out of 100 (medium).

- **Canonical URL:** https://catalog.anomity.ai/extension/sourcery
- **Kind:** IDE extension
- **Publisher:** Sourcery
- **Trust level:** community
- **Risk score:** 50/100 (medium)
- **Website:** https://sourcery.ai
- **Last updated:** 2026-09-02
- **JSON:** https://catalog.anomity.ai/api/entries/extension/sourcery

## Description

Sourcery reviews and refactors code in the editor, originally focused on Python and later broadened, suggesting concrete simplifications with a preview of the rewritten form rather than a general comment.

It reads project files and applies refactors on acceptance, so it declares filesystem read and write, with outbound network for its hosted analysis. Mechanical refactoring is a good fit for automation because the transformations are behaviour-preserving by construction — the risk is the accumulation of many small accepted changes in a single commit, which is hard to review as a unit. Keep refactor commits separate from behavioural ones.

## Why it scored 50

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 |  |
| 1 high-risk capability: filesystem:write | +10 | high |  |

Clamped result: **50/100**, band **medium**.

## 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. |

## 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)
- [Refact.ai](https://catalog.anomity.ai/extension/refact-ai) — risk 100 (critical)
- [Roo Code](https://catalog.anomity.ai/extension/roo-code) — risk 100 (critical)

---

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
