ScannerConsoleApp 1.0.1
dotnet add package ScannerConsoleApp --version 1.0.1
NuGet\Install-Package ScannerConsoleApp -Version 1.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ScannerConsoleApp" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ScannerConsoleApp" Version="1.0.1" />
<PackageReference Include="ScannerConsoleApp" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add ScannerConsoleApp --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: ScannerConsoleApp, 1.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package ScannerConsoleApp@1.0.1
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ScannerConsoleApp&version=1.0.1
#tool nuget:?package=ScannerConsoleApp&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
APISecurityScanner (Updated 12/06/2024)
APISecurityScanner is a .NET 8 NuGet package that provides automated scanning of API endpoints to detect common security vulnerabilities. Designed specifically for ASP.NET projects, it integrates seamlessly with Swagger and CI/CD pipelines, leveraging AI-powered recommendations to help developers secure their APIs.
Features
- Automated Scanning: Detects vulnerabilities like SQL Injection, XSS, CSRF, IDOR, and Broken Authentication.
- AI Recommendations: Utilizes Google Gemini AI to provide tailored, actionable recommendations for remediating vulnerabilities.
- Swagger Integration: Automatically collects API endpoints from Swagger documentation, simplifying the setup process.
- CI/CD Compatibility: Easily integrates with GitHub Actions to enable automated security checks during builds and deployments.
- Detailed Reporting: Generates comprehensive, developer-friendly reports, with clear insights and remediation suggestions.
Supported Vulnerabilities
- SQL Injection: Identifies malicious SQL payloads that may compromise the database.
- Cross-Site Scripting (XSS): Detects vulnerabilities where malicious scripts could be injected into API responses.
- Cross-Site Request Forgery (CSRF): Checks for the absence of CSRF tokens, which protect APIs from unauthorized commands.
- Insecure Direct Object References (IDOR): Verifies if endpoints improperly expose internal object references to unauthorized users.
- Broken Authentication: Tests API endpoints for weak or missing authentication mechanisms.
Project Structure
Scanners/: Contains specialized scanner modules for detecting vulnerabilities.- SQLInjectionScanner.cs
- XSSScanner.cs
- CSRFScanner.cs
- IDORScanner.cs
- BrokenAuthenticationScanner.cs
Reports/: Manages report generation, providing actionable insights viaReportGenerator.cs.Helper/: Utilities likeEndpointData.csfor managing endpoint metadata.Utils/: Includes tools likeSwaggerEndpointFetcher.csfor fetching and managing API endpoints.AI Recommendation Service/: Provides AI-powered recommendations by analyzing scan results using Google Gemini AI.Tests/: Unit tests for individual scanner modules, ensuring accuracy and stability.ScannerConsoleApp/: A console-based app to run scans and generate reports.
Installation
Install the package from NuGet using the following command:
dotnet add package APISecurityScanner
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- APISecurityScanner (>= 1.0.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.0.1 | 179 | 12/7/2024 |