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

Dependency Firewallfor PyPI

Your rules check every pip, uv and Poetry install and block risky versions before they reach site-packages.

  • Built in Sweden and hosted in the EU
  • Supply chain security since 2018

Supported PyPI upstreams

pypi.org
JFrog Artifactory
Sonatype Nexus
GitLab
GitHub Packages
Azure Artifacts
AWS CodeArtifact

Any PyPI-compatible package index can be an upstream.

Connect one project or the whole company

Package manager config

Set the registry per project

Set the firewall as the index-url. An extra-index-url would keep pypi.org as a second source.

pip.conf
[global]index-url = https://__token__:${BYTESAFE_TOKEN}@<firewall-host>/v1/<namespace-id>/pypi/<firewall-id>/simple/

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 PyPI traffic to the firewall. Nothing changes on developer machines.

  1. Laptop, CI or agentPackage managerpypi.org
  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.

PyPI incidents and the rule that covers each

  • ultralytics

    The ultralytics PyPI package (a popular computer vision library with millions of downloads) was compromised via a malicious GitHub Actions workflow. The attacker published versions with a cryptomining payload embedded.

    Release delay
  • ctx

    An attacker published a malicious version of the ctx package, which had been abandoned for years. The new version exfiltrated all environment variables to an external server. Any project using ctx in a CI/CD pipeline leaked secrets.

    Malware blocking
  • colourama

    A package named colourama (one letter from colorama, one of the most downloaded PyPI packages) contained a cryptocurrency clipboard hijacker. A single typo in requirements.txt installed malware silently.

    Malware blocking

Clients, proxies and deployment

  • Clients

    pip, uv and Poetry.

  • 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 configure pip to use Bytesafe Dependency Firewall?
Set the index-url in your pip.conf (or pip.ini on Windows) to your Bytesafe Dependency Firewall endpoint. For CI/CD, set the PIP_INDEX_URL environment variable. See docs.bytesafe.dev for the full configuration reference.
Does it work with Poetry, uv and Pipenv?
Yes. Poetry supports custom sources via [[tool.poetry.source]] in pyproject.toml. uv supports index configuration via uv.toml or environment variables. Pipenv supports PIPENV_PYPI_MIRROR. All point to the same Bytesafe Dependency Firewall endpoint.
Can I protect AI agent environments and model training pipelines?
Yes. AI and ML pipelines frequently run pip install in containers and serverless environments. Pointing those environments at Bytesafe Dependency Firewall ensures the same security policies apply to automated installs as to developer workstations.
Does it work with private Python packages on a private PyPI server?
Yes. Bytesafe Dependency Firewall can proxy multiple index sources. Internal packages resolve from your private PyPI server, and public packages resolve from PyPI. Dependency confusion attacks that target internal package names are blocked.
Can different PyPI 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 PyPI 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 PyPI 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 PyPI installs behind the firewall

Point one pipeline at Dependency Firewall and read the decisions in the log. The trial runs for 14 days.