Dependency Firewallfor Composer
Your rules check every package Composer installs and block risky versions before they reach vendor/.
- Built in Sweden and hosted in the EU
- Supply chain security since 2018
Supported Composer upstreams
Any Composer-compatible repository can be an upstream.
Rules that run before composer install
Block packages with known CVEs
- guzzlehttp/guzzle 7.4.4CVE-2022-31091 · CVSS 7.7Blocked
- guzzlehttp/guzzle 7.4.5Served
Hold new versions until they have cooled off
"monolog/monolog": "^3.9"- monolog/monolog 3.9.12 days oldHeld
- monolog/monolog 3.9.040 days oldInstalled
Resolve your vendor name from your own repository
composer require acme/billing- Private Packagist, internal2.4.1Installed
- packagist.org99.0.0Not asked
Set the rules once for every PHP team
composer-baselineBaseline rulescomposer-ciinheritscomposer-team-ainherits
Connect one project or the whole company
Package manager config
Set the registry per project
Two commands per project. With Packagist turned off, every package goes through your rules.
composer config repositories. firewall composer https:/ /<firewall-host>/ v1/<namespace-id>/ composer/<firewall-id>composer config repo. packagist falseBest for: trying it on one project, CI pipelines, teams that own their config.
Web proxy chaining
Route the company through your web proxy
Your web proxy hands Composer traffic to the firewall. Nothing changes on developer machines.
- Laptop, CI or agentPackage managerPackagist
- Web proxyZscaler, Prisma Access, Squid
- Your rulesDependency Firewall
Best for: every laptop and agent at once, including machines nobody has configured.
Web proxy chainingWhat your team sees after a block
1 of 3 · Logs
Live firewall logs
Every request is logged: package name, version, status, ecosystem, which firewall evaluated it, which rule triggered and who requested it. Filter by firewall or user, and tail live during incidents or CI/CD runs.
Developers get a fast answer when an install fails, and AppSec gets an audit trail for every decision.
Why a package was blocked
Open a blocked request to see the package, how old the release is, the rule that stopped it and when it will be allowed.
Add or request a time-limited exception from the same drawer to let one package or version through while the rule keeps applying to everything else. The decision stays attached to the original request, so nothing has to be reconstructed from CI output later.
Every package that passed through
See which packages each firewall served over a period, with ecosystem, version, first-seen and last-seen time, vulnerability signals and request counts.
When a new advisory or malware report appears, search for the package and see where it was observed and when exposure started.
Packagist incidents and the rule that covers each
Packagist account takeover
A researcher gained access to a maintainer account on Packagist and repointed the repository URLs of 14 widely used packages to forks under their control, showing how a single compromised account can redirect hundreds of millions of installs.
Release delayCVE-2021-29472
A command injection flaw in how Composer handled package source URLs allowed running commands on Packagist.org itself. The maintainers patched it within a day. An attacker holding that access could have altered metadata or downloads for packages installed millions of times a day.
Release delayDependency confusion
Composer resolves names against your configured repositories plus Packagist. If an internal package name is also claimable on Packagist, a public package can resolve ahead of the private one unless repository priority is locked down.
Dependency confusion
Clients, proxies and deployment
Clients
Composer 2.
Web proxies
Zscaler, Prisma Access, Squid and other web proxies that decrypt TLS.
Deployment
Cloud as EU-hosted SaaS. Enterprise as Managed Cloud, BYO Cloud or On-Premise.
Explore supported ecosystems
See the setup, rules and incidents for each package ecosystem.
Questions
How do I point Composer at Bytesafe Dependency Firewall?
Does composer audit still work through the firewall?
Why does a Composer firewall need a GitHub token?
Is Composer support production ready?
Can different Composer projects have different policies?
Can Composer installs go through the firewall without changing developer machines?
What happens if a Composer package passes through but malware is found later?
Can firewall rules be automated?
Does Dependency Firewall work with enterprise repository platforms?
How is licensing structured?
Put Composer installs behind the firewall
Point one pipeline at Dependency Firewall and read the decisions in the log. The trial runs for 14 days.