DEV Community

Ethern Myth
Ethern Myth

Posted on

Introducing SecureFetch.AspNetCore

We’re excited to introduce SecureFetch.AspNetCore — a lightweight but powerful NuGet package that brings encrypted payloads and obfuscated routes to your ASP.NET Core APIs, without requiring major changes to your controllers.

🚀 What Is SecureFetch.AspNetCore?

SecureFetch.AspNetCore is a middleware and attribute-based system for .NET 8+ that allows you to:

  • 🔒 Encrypt request payloads using AES-256.
  • 🕵️‍♂️ Obfuscate route paths and query parameters, hiding sensitive routes from static scanners.
  • ⚙️ Use as middleware — works transparently with your existing endpoints.
  • 🧩 Supports all HTTP verbs: GET, POST, PUT, PATCH, DELETE.

It's especially useful for teams looking to add a layer of transport-level obfuscation and end-to-end encryption for frontend-to-backend communication — without relying solely on HTTPS.

✅ How It Works

  1. Client-Side Encryption: Use the secure-fetch-sdk in your frontend to encrypt requests.
  2. Middleware Decryption: The SecureFetch middleware decrypts and proxies incoming requests.
  3. Controller Integration: Add the [SecureFetch] attribute to any controller method you want to secure.

🧪 Try It Out

securefetch.aspnetcore Docs on GitHub

secure-fetch-sdk Demo on GitHub

💡 Use Cases

  • Internal tools requiring stealth endpoints
  • Extra protection for mobile or browser-based apps
  • High-risk APIs that transmit sensitive data

If you're building modern .NET apps and want an extra layer of security without extra complexity, SecureFetch.AspNetCore is worth a look. ✨

Looking forward!

Top comments (0)