FxSsh is a lightweight SSH server side application as SSH reinforcement of GitCandy. http://gitcandy.com This version is a mod on FxSsh that allows password authentication, and basic direct-tcpip tunnelling. All credit for this work goes to Aimeast.
Security static code analyzer for .NET based on Security Code Scan
Security middleware for XSS and SQL injection protection in ASP.NET Core
A utility to easily run string properties through Microsoft's AntiXSS library
Coverity Security Library (.NET Standard Version) The Coverity Security Library (CSL) is a lightweight set of escaping routines for fixing cross-site scripting (XSS), SQL injection, and other security defects in ASP.NET web applications. Users of Coverity Security Advisor get remediation guidance based on escaping routines in CSL. However, CSL is a standalone project with no dependencies on Security Advisor. To contact the Coverity Security Research Labs (SRL), please email us at <srl@coverity.com>.
Package description AntixssLibrary
Advanced Anti-XSS Helper. Usage example: app.UseAntiXss(o => o.excludedApis = new HashSet<string>(StringComparer.OrdinalIgnoreCase) { "/GetData", "/Controller/AddData" } );
Zero-trust security for every web app. Protect MVC web apps and RESTful APIs with a multi-stage security pipeline that includes XSS detection, authentication, IP firewall, two-factor, activity/data authorization, account verification and suspension checks. Available for all major platforms including .NET Framework MVC/Web API, .NET Core and Service Stack. To get started Visit https://ASPSecurityKit.net/docs/getting-started/ This is the base platform-agnostic package. To get started You should also install one of the platform specific packages such as ASPSecurityKit.NetCore, ASPSecurityKit.NetFramework.Mvc, ASPSecurityKit.NetFramework.WebApi or ASPSecurityKit.ServiceStack. Additionally, ASPSecurityKit also provides drop-in source code packages for both API and MVC web apps giving you end-to-end implementation of commonly needed functionality including login, register, forgot password, account settings (change email/password), user management, permission management, administration (impersonation), localization, production-grade graceful error handling etc. To download these source code packages into your project, install ASPSecurityKit.Tools package if you haven't already and execute start-ask command in Visual Studio Package Manager Console. For more information, visit https://ASPSecurityKit.net/docs/source-packages/ Commonly Used Types: ASPSecurityKit.ISecurityPipeline ASPSecurityKit.IUserService
Remote Tools (Debuggers) for Visual Studio.
Adds/removes conservative set of security minded HTTP headers and redirects HTTP requests to HTTPS while maintaining keep alive functionality. Now supports Application Insights. For full details see readme.md on project site.
Stand-alone .NET tool for DotnetariumSCS based on Security Code Scan
Support for Content Security Policy for ASP.NET applications. New in version 1.0.10 - Full support for the 1.0 version of CSP. Includes some breaking config changes in preparation for the 1.0. "options" is no longer available. The options have now been moved to allowedScriptSources unsafeAllowEval and unsafeAllowInline allowedXhrSources is now allowedConnectSources.
Uses HtmlAgilityPack parser to protect against cross-site scripting by sanitizing html text against unrecognized tags and attributes. HTML is matched against defined whitelisted tags and attributes to ensure only known safe markups are allowed. Basic usage: String inputValue = "<a onclick="javascript:alert('Gotcha!');" href="javascript:alert('Gotcha again!');">Click Me</a>"; String cleanValue = inputValue.SanitizeHtml(); Console.Writeline(cleanValue); More information is available in the project site's wiki. What's New? 1.4.0 - Added RemoveComments configuration property. This allows the retention of comments after cleaning. - Refactored Sanitize() function for code maintainability. - Added new SanitizeConfigurations class to allow cleaning with a different set of configurations from the global settings. - Added new TrySanitizeHtml() function to check whether the input was dirty and subsequently cleaned. 1.3.1 - Added RemoveMarkupTagsOnly configuration property. This provides the option to remove the invalid markup tag only, retaining the contents. - Fixed a bug where spaces in the value of Type attributes circumvents the script type checking. 1.2.0 - Added CustomBlacklistedTags configuration property. This removes tags from internal and custom whitelists, for cases when internal list is acceptable except for a few tags configured in it. 1.1.0 - Added Supplemental Tags and Attributes to add extra elements to the internal defaults, instead of having to add all defaults again to the customs lists just to add a few special ones. - Other internal improvements. 1.0.1 - Added a comprehensive list of default whitelisted tags and attributes.
Contains a rich set of security-related middlewares for ASP.NET Core with strongly-typed configuration.
Takes untrusted (X)HTML and massages it into real, trusted XHTML. While plenty of effort goes into preserving the original intent, markup validity and safety is the first priority. It's particularly useful with content management systems where users are in control of markup, but you want to target XHTML1.1.
FSec is a tool for automatically running security tests for .NET programs. The tool provides some basic security testing functionality to discover vulnerabilities in an application, including: XSS, XML Bomb, XPath injection, SQL injection, URL tampering, URL bogus, ...
Practical generic programming for C#
databinding.WebSecurity.HtmlSanitizer.AspNetCore provides ActionFilter for use in MVC and API applications. These remove HTML from user input to avoid XSS. Only simple HTML tags for rich text editors are allowed.
Zero-trust security for every web app. Protect your ServiceStack web services/APIs with a multi-stage security pipeline that includes XSS detection, authentication, IP firewall, two-factor, activity/data authorization, account verification and suspension checks. To get started Visit https://ASPSecurityKit.net/docs/getting-started/ ASPSecurityKit also provides drop-in source code packages for your web services giving you end-to-end implementation of commonly needed endpoints/functionality including login, register, forgot password, account settings (change email/password), user management, permission management, administration (impersonation), localization, production-grade graceful error handling etc. To download these source code packages into your project, install ASPSecurityKit.Tools package if you haven't already and execute start-ask command in Visual Studio Package Manager Console. For more information, visit https://ASPSecurityKit.net/docs/source-packages/ Commonly Used Types: ASPSecurityKit.ServiceStack.ProtectAttribute ASPSecurityKit.ServiceStack.ASPSecurityKitFeature
The databinding.WebSecurity.Headers package helps to prevent XSS and code injection attacks by providing content security policies and other security headers such as X-Content-Type-Options, Referrer-Policy and Permissions-Policy to secure web applications.
Lightweight, high-performance ASP.NET Core middleware that adds security headers targeting an A+ rating on securityheaders.com. Includes nonce-based CSP, Strict-Transport-Security, Permissions-Policy, Cross-Origin isolation, Trusted Types, and more — all configurable with a single line of code.
This is a simple BB code parser library that allows you to create your own BB-tags with several levels of XSS protection and some other cool features.
Zero-trust security for every web app. Protect your ASP.NET Core MVC web apps or RESTful APIs with a multi-stage security pipeline that includes XSS detection, authentication, IP firewall, two-factor, activity/data authorization, account verification and suspension checks. To get started Visit https://ASPSecurityKit.net/docs/getting-started/ ASPSecurityKit also provides drop-in source code packages for both API and MVC web apps giving you end-to-end implementation of commonly needed functionality including login, register, forgot password, account settings (change email/password), user management, permission management, administration (impersonation), localization, production-grade graceful error handling etc. To download these source code packages into your project, install ASPSecurityKit.Tools package if you haven't already and execute start-ask command in Visual Studio Package Manager Console. For more information, visit https://ASPSecurityKit.net/docs/source-packages/ Commonly Used Types: ASPSecurityKit.NetCore.ProtectAttribute ASPSecurityKit.NetCore.ASPSecurityKitFeature
Zero-trust security for every web app. Protect your ASP.NET MVC web apps with a multi-stage security pipeline that includes XSS detection, authentication, IP firewall, two-factor, activity/data authorization, account verification and suspension checks. To get started Visit https://ASPSecurityKit.net/docs/getting-started/ ASPSecurityKit also provides drop-in source code packages for both API and MVC web apps giving you end-to-end implementation of commonly needed functionality including login, register, forgot password, account settings (change email/password), user management, permission management, administration (impersonation), localization, production-grade graceful error handling etc. To download these source code packages into your project, install ASPSecurityKit.Tools package if you haven't already and execute start-ask command in Visual Studio Package Manager Console. For more information, visit https://ASPSecurityKit.net/docs/source-packages/ Commonly Used Types: ASPSecurityKit.NetFramework.Mvc.ProtectAttribute ASPSecurityKit.NetFramework.Mvc.ASPSecurityKitMvcFeature
Library that contains helpful implementation to reduce XSS risks.
Library that contains helpful implementation for your web app application to reduce XSS risks.