Rasp.Net.RuntimePatching
1.2.0
dotnet add package Rasp.Net.RuntimePatching --version 1.2.0
NuGet\Install-Package Rasp.Net.RuntimePatching -Version 1.2.0
<PackageReference Include="Rasp.Net.RuntimePatching" Version="1.2.0" />
<PackageVersion Include="Rasp.Net.RuntimePatching" Version="1.2.0" />
<PackageReference Include="Rasp.Net.RuntimePatching" />
paket add Rasp.Net.RuntimePatching --version 1.2.0
#r "nuget: Rasp.Net.RuntimePatching, 1.2.0"
#:package Rasp.Net.RuntimePatching@1.2.0
#addin nuget:?package=Rasp.Net.RuntimePatching&version=1.2.0
#tool nuget:?package=Rasp.Net.RuntimePatching&version=1.2.0
Rasp.Net.RuntimePatching
Risk Tier: Phase B (Runtime Patching)
This package relies on MonoMod to intercept and patch BCL calls (FileStream, Process.Start) at runtime.
- Native AOT: This package is fundamentally incompatible with Native AOT compilation.
- AV/EDR Flagging: The runtime modification techniques used here are similar to those used by malware, which may cause your application to be flagged by Antivirus or Endpoint Detection and Response (EDR) solutions.
Overview
This is an opt-in package that provides advanced instrumentation for RASP.Net. It includes:
PathTraversalGuardCommandInjectionGuard
If you do not explicitly need these guards and the associated runtime patching, use the default Rasp.Net package instead, which includes only Phase A (safe) instrumentation.
Setup
Call RaspRuntimePatching.Initialize as early as possible in your application lifecycle (e.g., at the very top of Program.cs), before any JIT inlining happens for I/O or Process operations.
// Top of Program.cs
RaspRuntimePatching.Initialize(app.Services);
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- MonoMod.RuntimeDetour (>= 25.3.4)
- Rasp.Net.Core (>= 1.2.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.2.0 | 55 | 7/6/2026 |