Skip to content
LIVENow writing · Your Prompts Have Transitive DependenciesBuilding · Firewall EnterpriseSonatype · 0% of the Fortune 100Hyderabad · 18:17Reading · A Philosophy of Software DesignLIVENow writing · Your Prompts Have Transitive DependenciesBuilding · Firewall EnterpriseSonatype · 0% of the Fortune 100Hyderabad · 18:17Reading · A Philosophy of Software Design
Back to Work

Repository Firewall

Staff Engineer2026 – present

Namespace-Confusion Protection

Making sure a public package can never impersonate a company's private one.

JavaMavennpmPyPINuGet
Ecosystems covered
4

Ecosystems covered

Place to claim your names
1

Place to claim your names

Changes for developers
0

Changes for developers

The problem

Most companies build internal packages alongside the open-source ones they use. A common attack, often called dependency confusion, takes advantage of that. The attacker publishes a public package that uses the same name as an internal one, sometimes with a higher version number, and waits. If a build looks in both places, it may pull the attacker's package instead of the company's own.

The attack works because nothing tells the build which name belongs to whom.

The idea

Firewall Enterprise lets a company register the names it owns. A public package that claims one of those names is treated as an impersonation and stopped, however tempting its version number. The company's own packages keep flowing as normal.

My part

I built namespace-confusion protection into Firewall Enterprise. Companies can claim names for all their repositories at once or for specific ones, and Firewall Enterprise turns down a name pattern that no package registry could ever match, so a mistake in the rules can't leave a gap without anyone noticing.

Why it matters

Dependency confusion attacks are cheap to carry out and painful to clean up. Blocking them at the door means a company never has to find out the hard way which builds were fooled.