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.
Install
dotnet add package Microsoft.Security.AntiSSRF --version 1.0.1
Install-Package Microsoft.Security.AntiSSRF -Version 1.0.1
<PackageReference Include="Microsoft.Security.AntiSSRF" Version="1.0.1" />
Frameworks
Dependencies
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.