---
id: verify-dependency-exists
track: coding
version: 0.2.3
label: blocks
keyword: block
where: write turn-end
sha256: accd9f8a2532e7e3b9949b1b1c47d8f7dfb918e7dcac1fb65fb64ce6f6778d09
source: https://github.com/open-coder-ai/chock-catalog/tree/e3d71d03e4dd32377ad5bc19fb6bacdfe6607ea4/base/verify-dependency-exists
catalog_ref: e3d71d03e4dd32377ad5bc19fb6bacdfe6607ea4
---

# Dependency Allowlist

verify-dependency-exists · version 0.2.3

Blocks — Blocks on an agent's file writes and at turn end. Chock adds friction. It is not a security boundary. 

In a git repo: at commit (Chock refuses the commit, locally and in CI.)



## What it does

Allowlist gate for new dependencies; no registry lookup. Reads Python, Node, Rust, Ruby, PHP, JVM, .NET, Go, Elixir, Dart and Swift manifests (read, never run); blocks an added name missing from .chock/dependency-allowlist.txt, asks on a lockfile-only one. Not read: computed lists, sources, versions, some forms (see docs). No allowlist file (plugin-only installs): a manifest change warns, never blocks. Repo form is opt-in: seed, observe, \`chock enable\`. Runs: commit, agent write, turn's end.

## Its label on each agent

- Claude Code (tested): Blocks — Blocks on an agent's file writes and at turn end. Builder: /coding/builder/#client=claude-code&p=verify-dependency-exists
- Cursor (tested): Blocks — Blocks on an agent's file writes and at turn end. Where its description says it asks, it refuses at both points, because this client cannot prompt at either point. Builder: /coding/builder/#client=cursor&p=verify-dependency-exists
- Codex (tested): Blocks — Blocks on an agent's file writes and at turn end. Where its description says it asks, it refuses at both points, because this client cannot prompt at either point. If the hook errors, the action goes through (not witnessed; the vendor's row is only partly live-run). Builder: /coding/builder/#client=codex&p=verify-dependency-exists
- GitHub Copilot (tested): Blocks — Blocks at turn end only. It does not check a file write when it happens. Where its description says it asks, it refuses at turn end, because this client cannot prompt there. If the hook errors, the action goes through (not witnessed; the vendor's row is only partly live-run). Builder: /coding/builder/#client=copilot&p=verify-dependency-exists
- Devin (tested): Blocks — Blocks at turn end only. It does not check a file write when it happens. Where its description says it asks, it refuses at turn end, because this client cannot prompt there. If the hook errors, the action goes through (vendor docs only, not witnessed). Builder: /coding/builder/#client=devin&p=verify-dependency-exists
- Grok (tested): Not graded yet for Grok. Builder: /coding/builder/#client=grok&p=verify-dependency-exists
- goose (tested): Not graded yet for goose. Builder: /coding/builder/#client=goose&p=verify-dependency-exists
- Antigravity (tested): Not graded yet for Antigravity. Builder: /coding/builder/#client=antigravity&p=verify-dependency-exists
- OpenHands (untested): Not graded yet for OpenHands. Builder: /coding/builder/#client=openhands&p=verify-dependency-exists
- Kimi Code (untested): Not graded yet for Kimi Code. Builder: /coding/builder/#client=kimi-code&p=verify-dependency-exists
- Factory Droid (untested): Not graded yet for Factory Droid. Builder: /coding/builder/#client=factory-droid&p=verify-dependency-exists

## What it misses

This policy does not state what it misses.

## Examples

- Refused: A package that is not on the allowlist, which may not exist, is added to requirements.txt or package.json.
- Allowed: A package already listed in .chock/dependency-allowlist.txt is added.

## Latest change

0.2.3 · 2026-11-09 — Changelog order only (IR-F46): entries had been added at the top of a list that ran oldest-first, so it rose and fell by version; they now run oldest-first throughout. No entry's text or version, and no rule, guard or eval, changed. Patch bump because the manifest is part of the published pack hash.

## Provenance

- Tested by 61 of 61 cases run automatically
- SHA-256: `accd9f8a2532e7e3b9949b1b1c47d8f7dfb918e7dcac1fb65fb64ce6f6778d09`
- Catalog commit: https://github.com/open-coder-ai/chock-catalog/commit/e3d71d03e4dd32377ad5bc19fb6bacdfe6607ea4
- Source: https://github.com/open-coder-ai/chock-catalog/tree/e3d71d03e4dd32377ad5bc19fb6bacdfe6607ea4/base/verify-dependency-exists (catalog path `base/verify-dependency-exists`)
- Presets: none
- JSON: `/api/coding/policies/verify-dependency-exists.json`
- Report a problem: https://chock.sh/report/?policy=verify-dependency-exists&version=0.2.3&page=%2Fcoding%2Fpolicies%2Fverify-dependency-exists%2F
