dependency-firewall

dependency-firewall is a skill for Claude Code from harness/harness-skills. It costs 209 tokens per session (5,462 once invoked), scanned A, original, Apache-2.0.

A tool for checking whether a software package and version meets security, licence, and organisational policies before installation. It also diagnoses package-install or build failures caused by Harness Dependency Firewall, which controls access to packages.

In plain words
What is it for?
Use it to inspect registries, packages, versions, vulnerabilities, licences, and policies; suggest safer versions; and manage firewall exceptions.
Why use it?
It explains blocked downloads and helps avoid adding packages that violate known security or licence rules.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the harness-security plugin — 12 skills shipped together , and of harness-skills

Good fit Use it to inspect registries, packages, versions, vulnerabilities, licences, and policies; suggest safer versions; and manage firewall exceptions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/harness/harness-skills/dependency-firewall
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add harness/harness-skills --skill dependency-firewall
Clone the repo
git clone --depth 1 https://github.com/harness/harness-skills

Made for: Claude Code.

Or install harness-security, the plugin that ships this one along with the rest of its 12 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dependency-firewall

README.md
[![agentmods](https://agentmods.dev/badge/skills/harness/harness-skills/dependency-firewall/github.svg)](https://agentmods.dev/skills/harness/harness-skills/dependency-firewall)
Your own site
<a href="https://agentmods.dev/skills/harness/harness-skills/dependency-firewall"><img src="https://agentmods.dev/badge/skills/harness/harness-skills/dependency-firewall/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for dependency-firewall

Your own site · 80×15
<a href="https://agentmods.dev/skills/harness/harness-skills/dependency-firewall"><img src="https://agentmods.dev/badge/skills/harness/harness-skills/dependency-firewall.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 209 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,462 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00209 $0.05462
Opus 5.5 $0.00084 $0.02185
Sonnet 5.5 $0.00042 $0.01092
Haiku 4.5 $0.00021 $0.00546

Measured 4d ago against content hash d0566e580b2f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dependency-firewall scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/security/dependency-firewall/SKILL.md · 286 lines

How it starts

The opening of the file, as written. The whole thing — 286 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Dependency Firewall

Helps a developer get an answer before they hit a block, and a plain-language cause after they hit one. Three entry points below — pick the one that matches what the developer asked.

You need: the account, which org/project the registry lives in, and which registry — ask if not given (don't guess "account" scope just because a project-scoped lookup is more typing, and don't reuse a registry/account from a prior conversation or a different environment).

If no Harness MCP server is connected, or the connected one doesn't expose registries-firewall (harness_describe(search_term: "firewall") returns nothing), stop and tell the user rather than falling back to raw REST calls or guessing — this skill requires MCP v2 per its compatibility field.

Instructions

Recognizing a dependency-firewall block

If a package fetch fails with a 403, that is reason enough to suspect Dependency Firewall and check — don't wait for the error message to literally say "firewall", "policy", or "blocked". 403 specifically (not 401, not a timeout, not a DNS/connection error, not a plain 404) is the download-time enforcement point: the artifact exists and the registry recognizes the request, but the policy engine refused to serve the bytes. That's true regardless of who's asking (a local install or a CI pipeline step) or which package type (npm, pip, Maven, cargo, nuget, ruby, go, etc. all go through the same enforcement path). Docker is the exception: Dependency Firewall is not enabled for Docker pulls, so a 403 there has a different cause — don't point a Docker-pull failure at this skill, even though artifact_scan's package_types filter does include DOCKER (that's for registries that scan Docker images for other reasons, not pull-time firewall enforcement).

If you can't see the raw status code behind a package manager's wrapped error, ask for verbose/debug output or the raw CI log line rather than guessing from the high-level error text alone.

Read the full file on GitHub · 286 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 286 lines · 209 tokens per session scan A d0566e580b2f

Subscribe to this mod's changes

dependency-firewall is a skill published in the GitHub repository harness/harness-skills (138 stars, last pushed today), licensed Apache-2.0. It adds 209 tokens to every session and 5,462 once invoked, about $0.0008 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-26.

Related

dependency-firewall compared with skills from other repositories

dependency-firewall next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dependency-firewallharness/harness-skillsSkill138todayApache-2.0A209Claude Code
rowboat-spacesrowboatlabs/rowboatSkill18kyesterdayApache-2.0A60Claude Code, Codex
foundry-config-setupmicrosoft/agent-frameworkSkill15k13d agoMITA65Claude Code, Codex
create-tech-designhumanlayer/humanlayerSkill13k7d agoApache-2.0A16Claude Code, Codex
deploy-docker-composeomnigent-ai/omnigentSkill12ktodayApache-2.0A84Claude Code, Codex
haikuagno-agi/agnoSkill43ktodayApache-2.0A0Claude Code, Codex
azure-mgmt-botservice-dotnetmicrosoft/skillsSkill3.3k3d agoMITA78Claude Code