Skip to content

feat: Add DevSecOps-7809 demo page with intentional vulnerabilities f…

8725935
Select commit
Loading
Failed to load commit list.
Draft

feat: Add DevSecOps-7809 demo page with intentional vulnerabilities for GHAS demonstration #137

feat: Add DevSecOps-7809 demo page with intentional vulnerabilities f…
8725935
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL failed Feb 12, 2026 in 3s

13 new alerts including 5 high severity security vulnerabilities

New alerts in code changed by this pull request

Security Alerts:

  • 5 high

Other Alerts:

  • 1 warning
  • 7 notes

See annotations below for details.

View all branch alerts.

Annotations

Check failure on line 48 in src/webapp01/Pages/DevSecOps-7809.cshtml.cs

See this annotation in the file changed.

Code scanning / CodeQL

Log entries created from user input High

This log entry depends on a
user-provided value
.

Check failure on line 61 in src/webapp01/Pages/DevSecOps-7809.cshtml.cs

See this annotation in the file changed.

Code scanning / CodeQL

Denial of Service from comparison of user input against expensive regex High

This regex operation with dangerous complexity depends on a
user-provided value
.

Check failure on line 62 in src/webapp01/Pages/DevSecOps-7809.cshtml.cs

See this annotation in the file changed.

Code scanning / CodeQL

Log entries created from user input High

This log entry depends on a
user-provided value
.

Check failure on line 67 in src/webapp01/Pages/DevSecOps-7809.cshtml.cs

See this annotation in the file changed.

Code scanning / CodeQL

Log entries created from user input High

This log entry depends on a
user-provided value
.

Check failure on line 73 in src/webapp01/Pages/DevSecOps-7809.cshtml.cs

See this annotation in the file changed.

Code scanning / CodeQL

Insecure SQL connection High

Connection string
flows to this SQL connection and does not specify Encrypt=True.

Check warning on line 146 in src/webapp01/Pages/DevSecOps-7809.cshtml.cs

See this annotation in the file changed.

Code scanning / CodeQL

Useless assignment to local variable Warning

This assignment to
deserializedData
is useless, since its value is never read.

Check notice on line 45 in src/webapp01/Pages/DevSecOps-7809.cshtml.cs

See this annotation in the file changed.

Code scanning / CodeQL

Inefficient use of ContainsKey Note

Inefficient use of 'ContainsKey' and
indexer
.

Check notice on line 57 in src/webapp01/Pages/DevSecOps-7809.cshtml.cs

See this annotation in the file changed.

Code scanning / CodeQL

Inefficient use of ContainsKey Note

Inefficient use of 'ContainsKey' and
indexer
.

Check notice on line 68 in src/webapp01/Pages/DevSecOps-7809.cshtml.cs

See this annotation in the file changed.

Code scanning / CodeQL

Generic catch clause Note

Generic catch clause.

Check notice on line 81 in src/webapp01/Pages/DevSecOps-7809.cshtml.cs

See this annotation in the file changed.

Code scanning / CodeQL

Generic catch clause Note

Generic catch clause.

Check notice on line 181 in src/webapp01/Pages/DevSecOps-7809.cshtml.cs

See this annotation in the file changed.

Code scanning / CodeQL

Generic catch clause Note

Generic catch clause.

Check notice on line 179 in src/webapp01/Pages/DevSecOps-7809.cshtml.cs

See this annotation in the file changed.

Code scanning / CodeQL

Redundant ToString() call Note

Redundant call to 'ToString' on a String object.

Check notice on line 216 in src/webapp01/Pages/DevSecOps-7809.cshtml.cs

See this annotation in the file changed.

Code scanning / CodeQL

Generic catch clause Note

Generic catch clause.