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

NuGet Dependency Firewall

NuGet restores search across all configured package sources, and the same package can exist in more than one. Bytesafe applies one policy layer across your sources and blocks risky packages before they reach your build.

Dependency Firewall sits in front of your existing repository, protecting developers, CI/CD pipelines and AI agents.

EU-based company · Software supply chain security since 2018.

Logs

Firewall nuget-ci
StatusPackageRule
Allowed
Microsoft.Extensions.Logging@9.0.9
Log all downloads
Allowed
System.Text.Encodings.Web@4.5.0
Exception
Blocked
Polly@8.6.4
Delay 7 days
Allowed
Dapper@2.1.66
Log all downloads
Blocked
Newtonsoft.Json@12.0.3
Block CVSS ≥ 7
Allowed
Serilog@4.3.0
Log all downloads
Allowed
AutoMapper@15.0.1
Log all downloads
Allowed
xunit@2.9.3
Log all downloads

Intercepts every NuGet package request before it reaches you.

Every package install is a potential entry point. Traditional SCA tools find problems after packages are already in your environment. Dependency Firewall intercepts every NuGet request before it reaches your developers, CI/CD pipelines or AI agents.

You define the rules: block packages with known CVEs, block known malicious packages, or delay newly published versions for a configurable period to give the ecosystem community time to surface zero-day threats.

Works in front of enterprise repository platforms and any NuGet registry. No agent installs. No workflow changes.

Public NuGet registry

Vulnerable and malicious versions included

Risky packages
Bytesafe

Dependency Firewall

Policy engine
Vetted packages only

Developers and CI/CD

Internal environment

What Dependency Firewall does for NuGet

Each firewall runs the checks you turn on, on every package request. Rules block or log, and every decision is recorded.

Malware blocking
Blocks packages that match malware data, including malicious payloads and suspicious install hooks. Every block is logged with the package and the rule.
Vulnerability blocking
Blocks versions with CVEs above a CVSS or EPSS score you set, per firewall. New advisories apply on the next request.
Package delay
Holds newly published versions for a window you set, so malware feeds can catch a bad release before your builds install it.
Exception workflow
Developers request an exception from the blocked install. The team you choose approves it, adjusting scope or expiry, or denies it with a comment. Every request and decision is in the audit log.
Dependency confusion
Upstream priority rules make internal package names always resolve from your private registry. A public package with the same name cannot take its place.
Package observations
Every package that passes records first-seen and last-seen time and request counts. When a new advisory lands, you see which firewalls served the package and since when.
Audit log
Every allow, block and exception is logged with the package, version, rule, requester and time. Export it to your SIEM.

Half the base fee for your first 3 months

€49.50 instead of €99 per month, plus €100 usage credit. Start with a 14-day trial. See what's new

How NuGet installs go through the firewall

Your package manager asks the firewall instead of the public registry. The firewall fetches the package from upstream, checks it against your rules and serves it only if it passes.

  1. 1

    Change the registry setting

    Point NuGet at the firewall, on laptops and CI runners. Lockfiles, manifests and install commands stay the same.

  2. 2

    Set the rules

    Block by CVSS or EPSS score, known malware, license or package age. Shared rules go on a baseline firewall that team and CI firewalls inherit, and they run first.

    Rules on a firewall: block downloads with CVSS above 7, log all downloads, and a 7-day delay inherited from npm-baseline
    Rules on the npm-ci firewall. The 7-day delay is inherited from npm-baseline. Shown for npm.
  3. 3

    Read the log

    A version held back by a rule is left out of the version list, so the package manager resolves an older one. A blocked download fails the install. Every decision is logged with the rule and who asked.

    Firewall log: lerna, nx and js-yaml versions blocked by the 7-day delay, other packages allowed
    New versions held by the delay rule, next to allowed downloads. Shown for npm.

Configure dotnet to restore through Bytesafe Dependency Firewall

Add a package source entry to your NuGet.config. Visual Studio, the dotnet CLI, and MSBuild all pick it up automatically from the config file. Disable or remove direct access to NuGet.org to ensure all requests pass through the firewall.

Works with the repositories you already use

JFrog Artifactory
Sonatype Nexus
GitLab
GitHub Packages
Azure Artifacts
AWS CodeArtifact

Inside Dependency Firewall

The screens your developers and security team work with.

1 of 7 · 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.

Live request log with blocked packages and rule details
Live request log with blocked packages and rule details

Known attacks on NuGet

Malicious releases, account takeovers and dependency confusion have all been used against packages there.

Malicious NuGet packages

Malware upload

Security researchers documented campaigns uploading hundreds of malicious NuGet packages that impersonated popular Microsoft and community packages. Many contained obfuscated PowerShell payloads in MSBuild targets.

MSBuild target injection

Build-time attack

NuGet packages can include MSBuild .targets and .props files that run automatically during restore and build. Malicious packages have used this to execute arbitrary code at build time without any explicit install step.

Dependency confusion

Namespace attack

Researchers published packages with the same names as internal .NET packages used at large enterprises. The dotnet restore command resolved the public version from NuGet.org over the internal one, silently installing attacker-controlled code.

Also blocks vulnerable and malicious container images before they reach a build agent or production node.

Container Dependency Firewall

Compared with other enterprise dependency firewalls

Other enterprise dependency firewalls are often bundled into repository platforms. Dependency Firewall is an independent firewall that works with any registry and is built in the EU.

CriterionDependency FirewallOther enterprise firewalls
Works with your existing repositoryYes, as a proxy in front of itBundled into their platform most often
Deploys in minutesYesUsually weeks of platform work most often
Predictable pricingOne meter sets the price, no overageSeveral axes with overage most often
EU data residencyYesNo, US-based most often

Frequently asked questions

How do I configure dotnet to restore through Bytesafe Dependency Firewall?
Add a package source to your NuGet.config with the Bytesafe Dependency Firewall endpoint URL. Include `<clear />` before the source entry to disable direct NuGet.org access. The dotnet CLI, Visual Studio and MSBuild all read from NuGet.config automatically.
Can I proxy my private Azure Artifacts feed through Bytesafe Dependency Firewall?
Yes. Bytesafe Dependency Firewall can proxy multiple upstreams including Azure Artifacts, GitHub Packages and Sonatype Nexus. Private package names resolve to your internal feed, preventing dependency confusion attacks.
Does it intercept MSBuild target execution from packages?
Bytesafe Dependency Firewall evaluates packages before they are restored to disk, so a blocked package never reaches the MSBuild stage. If a package is blocked, the restore fails before any .targets or .props files are extracted.
Will package version pinning in packages.lock.json still work?
Yes. Bytesafe Dependency Firewall is a transparent proxy that serves the same package metadata and .nupkg files as NuGet.org. Lock file resolution continues to work without modification.
Can different NuGet 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 NuGet packages be delayed before they reach developers?
Yes. Dependency Firewall can hold newly published package versions for a window you configure before they reach developers or pipelines. Centralizing delay rules means the protection applies automatically across all teams and pipelines without each project configuring it separately.
What happens if a NuGet 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 existing 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 fully transparent to enterprise repository platforms and package registries, including JFrog Artifactory, Sonatype Nexus, GitLab, GitHub Packages and Azure Artifacts.
How is licensing structured?
Two plans: Cloud for SaaS and Enterprise for custom deployment, Managed Cloud or On-Premise. Cloud is priced on whichever you use most: active users, packages scanned or downloads served. See pricing for plan details and add-ons.

Put NuGet installs behind the firewall

Try the setup above on one project and check the firewall log after the next install. Or book a demo and go through your registries and rules with an engineer.

Book a Demo