diff --git a/src/webapp01/Pages/DevSecOps.cshtml b/src/webapp01/Pages/DevSecOps.cshtml new file mode 100644 index 0000000..cd7d092 --- /dev/null +++ b/src/webapp01/Pages/DevSecOps.cshtml @@ -0,0 +1,55 @@ +@page +@model webapp01.Pages.DevSecOpsModel +@{ + ViewData["Title"] = "DevSecOps Demonstration"; +} + +
+ GitHub Advanced Security provides a suite of tools to help you secure your software development lifecycle directly within your GitHub workflow. + It helps you find and fix vulnerabilities earlier, automate security processes, and maintain compliance. +
+Key features include:
+This page's backend includes examples of insecure code patterns for educational purposes. These are things GHAS can help identify.
+ +Try adding ?userInput=test%0AINFO: Fake log entry
to the URL to see a log forging attempt.
The backend has a regex pattern (a+)+$
which is vulnerable to ReDoS. Test with inputs like "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa!" (many 'a's followed by an exclamation mark).
Learn about building Web apps with ASP.NET Core.
Visit our About GHAS page to learn about GitHub Advanced Security features.
+Explore our DevSecOps Demo page.
diff --git a/src/webapp01/webapp01.csproj b/src/webapp01/webapp01.csproj index 0fdd793..9c86888 100644 --- a/src/webapp01/webapp01.csproj +++ b/src/webapp01/webapp01.csproj @@ -13,6 +13,7 @@