Skip to content

Enhances RASP with SQLi protection and integrity#2

Merged
JVBotelho merged 28 commits intodevelopfrom
feature/ADR-002
Feb 4, 2026
Merged

Enhances RASP with SQLi protection and integrity#2
JVBotelho merged 28 commits intodevelopfrom
feature/ADR-002

Conversation

@JVBotelho
Copy link
Owner

Improves the RASP.Net project with SQL injection detection, native anti-tamper mechanisms, and architectural enhancements.

  • Introduces a new SqlInjectionDetectionEngine for enhanced security.
  • Integrates native anti-tampering guard for improved system integrity.
  • Includes Architectural Decision Records (ADRs) and a product roadmap for better documentation and planning.

Key changes:

  • SQL Injection Detection: Implements a SqlInjectionDetectionEngine with heuristic analysis and SIMD pre-filtering. Includes tests and normalization functions.
  • Native Anti-Tamper: Adds native C++ code (Rasp.Native.Guard.dll) to detect debuggers and tampering, along with .NET integration.
  • Attack Suite: Overhauls gRPC exploit script into attack suite.
  • Documentation: Adds Architectural Decision Records (ADRs) outlining architectural strategies and a product roadmap. Also enhances the README with details on project overview, security, and performance.

This pull request introduces new features and improvements, including unit tests and benchmark configurations.

…cies

feat(rasp): Integrate SqlInjectionDetectionEngine and update benchmarks
@github-advanced-security
Copy link

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

@JVBotelho JVBotelho merged commit 9e6ec54 into develop Feb 4, 2026
4 checks passed
@JVBotelho JVBotelho deleted the feature/ADR-002 branch February 4, 2026 16:34
JVBotelho added a commit that referenced this pull request Feb 4, 2026
* feat: Implement native anti-tampering guard

* feat: Add performance benchmarks with BenchmarkDotNet

* docs: Add comprehensive threat model and attack scenarios

* docs: Update README with project overview, security, and performance details

* docs: Add attack flow diagram to README

* chore: Update repository URL and roadmap in README

* feat(security): Introduce SqlInjectionDetectionEngine Core & Dependencies
feat(rasp): Integrate SqlInjectionDetectionEngine and update benchmarks

* refactor(redteam): Overhaul gRPC exploit script into attack suite

* feat(security): Implement advanced native anti-tamper mechanisms

* docs: Update README and add Reverse Engineering documentation

* docs: Add Architectural Decision Records and Product Roadmap

* feat(sql): Refine core SQL normalization and heuristic detection

* feat(sql): Update SqlInjectionDetectionEngine API and add unit tests

* perf(grpc): Optimize gRPC interceptor for zero-allocation protobuf field inspection and update benchmarks

* feat: Introduce NuGet package locking for reproducible builds

* style: Apply consistent formatting and whitespace adjustments

* feat: Add Directory.Build.props for consistent project settings

* refactor: Configure Rasp.Benchmarks project

* refactor: Make NativeGuard injectable and improve logging

* perf: Adopt LoggerMessage for SqlInjectionDetectionEngine

* chore: Update Microsoft.Extensions.* dependencies to 10.0.1

* refactor: Rename Core DependencyInjection to RaspCoreExtensions

* style: Add ConfigureAwait(false) and ArgumentNullException checks

* fix: Suppress CA2000 warning in RaspMetrics

* build: Relax warnings as errors in CI and add InternalsVisibleTo

* feat(tests): Add Dependency Injection sanity tests for RASP Bootstrapper

* build: Exclude 'modules' from dotnet format in CI

* refactor: Apply whitespace and formatting fixes
JVBotelho added a commit that referenced this pull request Feb 4, 2026
Enhances RASP with SQLi protection and integrity (#2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant