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
Any PyPI-compatible package index can be an upstream.
Rules that run before pip install
Block packages reported as malware
- ctx 0.2.2Blocked
- requests 2.32.5Served
- ultralytics 8.3.41Blocked
Hold new releases until they have cooled off
fastapi>=0.115- fastapi 0.118.01 day oldHeld
- fastapi 0.117.19 days oldInstalled
Resolve internal names from your own index
pip install acme-billing- Artifactory, internal2.4.1Installed
- pypi.org99.0.0Not asked
Block versions with known CVEs
- django 3.2.0CVE-2021-35042 · CVSS 9.8Blocked
- django 3.2.5Served
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.
[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.
- Laptop, CI or agentPackage managerpypi.
org - 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.
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 delayctx
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 blockingcolourama
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.
Questions
How do I configure pip to use Bytesafe Dependency Firewall?
Does it work with Poetry, uv and Pipenv?
Can I protect AI agent environments and model training pipelines?
Does it work with private Python packages on a private PyPI server?
Can different PyPI projects have different policies?
Can PyPI installs go through the firewall without changing developer machines?
What happens if a PyPI 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 PyPI installs behind the firewall
Point one pipeline at Dependency Firewall and read the decisions in the log. The trial runs for 14 days.