Skip to main content
Microsoft.Security.AntiSSRF package icon

Microsoft.Security.AntiSSRF

Microsoft AntiSSRF is a security library that helps .NET developers protect their applications from Server-Side Request Forgery (SSRF) attacks. The library provides configurable policies to validate and filter outbound HTTP requests, preventing attackers from exploiting server-side functionality to access internal resources or perform unauthorized network requests. Features include IP address validation, URL filtering, and custom policy configuration.

Total Downloads
84.8K
84,812
Published
May 5, 2026
Latest stable version

Install

.NET CLI
dotnet add package Microsoft.Security.AntiSSRF --version 1.0.0
Package Manager Console
Install-Package Microsoft.Security.AntiSSRF -Version 1.0.0
PackageReference
<PackageReference Include="Microsoft.Security.AntiSSRF" Version="1.0.0" />

Frameworks

net8.0 .NETStandard2.0

Dependencies

System.Memory
.NETStandard2.0
[4.5.5, )
[4.5.4, )

Adoption guide

A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.

Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.