Microsoft AntiSSRF
Microsoft AntiSSRF is a security-developed, exhaustively-tested secure code library that provides robust URL validation to mitigate Server-Side Request Forgery (SSRF) vulnerabilities. It is available as an easy-to-use drop-in library for both .NET (NuGet package: Microsoft.Security.AntiSSRF) and Node.js (npm package: @microsoft/antissrf) applications. The library automatically validates URLs and network connections, rejecting unsafe input, and provides an agent that ensures HTTP requests cannot reach internal or sensitive IP addresses. The repository emphasizes that all incoming HTTP requests are untrusted, including user-provided URLs, data from external APIs, configuration values, and even requests from backend applications. Microsoft also provides Dusseldorf, an open-source dynamic SSRF testing tool, as a complementary testing resource. The library was released publicly in May 2026 with version 1.0.0 for .NET.
Comments
Post a Comment