Andrei Epure

How your .NET software supply chain is open to attack : and how to fix it

NuGet's default settings leave your projects vulnerable to supply chain attacks. Learn the two essential configuration changes you need to secure your builds.

How your .NET software supply chain is open to attack : and how to fix it
#1about 3 minutes

Understanding the risks in your software supply chain

Malicious packages are a growing threat across all major package managers that can lead to data exfiltration from build and developer machines.

#2about 4 minutes

How typosquatting attacks exploit common developer mistakes

Attackers publish packages with common misspellings of popular libraries to execute malicious code when a developer makes a typo.

#3about 4 minutes

A live demo of a typosquatting attack in .NET

A demonstration shows how a misspelled package name can lead to remote code execution during a standard build process using MSBuild targets.

#4about 4 minutes

Using trusted signers to defend against typosquatting

You can secure your nuget.config by requiring signature validation and specifying a list of trusted package owners to prevent unauthorized packages.

#5about 4 minutes

Explaining dependency confusion attacks in the NuGet ecosystem

NuGet's package resolution can be exploited by attackers who publish a public package with the same name as your internal private library.

#6about 3 minutes

A live demo of a dependency confusion attack

A demonstration shows how a floating version reference can cause NuGet to pull a malicious public package over a trusted private one.

#7about 2 minutes

Preventing dependency confusion with package source mapping

The packageSourceMapping feature in nuget.config allows you to explicitly define which source a package pattern should be restored from.

#8about 5 minutes

A summary of key NuGet security best practices

A review of essential security measures includes using trusted signers, package source mapping, reserving prefixes, and signing your own packages.

Related jobs
Jobs that call for the skills explored in this talk.

Featured Partners

From learning to earning

Jobs that call for the skills explored in this talk.

DevOps .NET


Municipality of Valencia, Spain

.NET
DevOps
Agile Methodologies