Dependency Firewall offer: 50% off the base fee. See pricing

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

Packagist
JFrog Artifactory
Sonatype Nexus
GitLab
GitHub Packages
Azure Artifacts
AWS CodeArtifact

Any Composer-compatible repository can be an upstream.

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 configshell
composer config repositories.firewall composer https://<firewall-host>/v1/<namespace-id>/composer/<firewall-id>composer config repo.packagist false

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

  1. Laptop, CI or agentPackage managerPackagist
  2. Web proxyZscaler, Prisma Access, Squid
  3. Your rulesDependency Firewall

Best for: every laptop and agent at once, including machines nobody has configured.

Web proxy chaining

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

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 delay
  • CVE-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 delay
  • Dependency 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.

How do I point Composer at Bytesafe Dependency Firewall?
Add the firewall as a Composer repository with composer config repositories.firewall composer <url>, then run composer config repo.packagist false so nothing resolves around it. Authentication is an access token in the password field of auth.json, or COMPOSER_AUTH in CI. Commit composer.json so every clone and pipeline inherits the config.
Does composer audit still work through the firewall?
Yes. The firewall answers composer audit from its own advisory dataset, so it reports the same advisories as your vulnerability rules and keeps working even when the upstream is a private mirror with no advisory endpoint.
Why does a Composer firewall need a GitHub token?
Packagist is an index, not a package store. Most downloads resolve to api.github.com, which rate-limits unauthenticated requests. Add a GitHub token, no scopes needed, to the Packagist upstream so downloads keep working under load.
Is Composer support production ready?
Yes. Composer 2 is required, since Composer 1 reached end of life in 2025. The rule set is already in place: vulnerabilities, abandoned packages, licenses, malware, install-time code execution and release delay. See https://docs.bytesafe.dev/firewall/ecosystems/composer for current detail.
Can different Composer projects have different policies?
Yes. You can create separate firewalls per project. They are lightweight and easy to clone. You can also differentiate by the user or token used for the session. Firewall configurations are small JSON files that can be managed in Git.
Can Composer installs go through the firewall without changing developer machines?
Yes, with web proxy chaining. A company web proxy that already decrypts TLS, such as Zscaler, Prisma Access or Squid, hands registry traffic to the firewall. Package managers keep the public registry address, and rules, exceptions and logs apply as with a configured client. It is set up on request. Web proxy chaining
What happens if a Composer package passes through but malware is found later?
The firewall tracks all packages via observations: first-seen date, last-seen date, and which firewalls they passed through. When new malware data surfaces, you can see exactly which projects downloaded the affected package and when.
Can firewall rules be automated?
Yes. All configuration is available via API. Configurations can be version-controlled in Git and deployed through your own automation. All changes are tracked with full rollback support.
Does Dependency Firewall work with enterprise repository platforms?
Yes. Dependency Firewall speaks the same protocols as your package managers, so it is transparent to enterprise repository platforms and package registries, including JFrog Artifactory, Sonatype Nexus, GitLab, GitHub Packages and Azure Artifacts. It can also sit directly in front of the public registry.
How is licensing structured?
Cloud is the SaaS plan. Enterprise is for custom deployment, Managed Cloud or On-Premise. Cloud is priced on whichever you use most: active users, packages scanned or downloads served. Plan details and add-ons

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.