Skip to content

Add new sample files

a93d0af
Select commit
Loading
Failed to load commit list.
Open

Add DevSecOps page with security news and examples; update project dependencies #67

Add new sample files
a93d0af
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL failed May 12, 2025 in 2s

12 new alerts including 1 high severity security vulnerability

New alerts in code changed by this pull request

Security Alerts:

  • 1 high

Other Alerts:

  • 11 notes

See annotations below for details.

View all branch alerts.

Annotations

Check notice on line 10 in samples/insecure-01.py

See this annotation in the file changed.

Code scanning / CodeQL

Empty except Note

'except' clause does nothing but pass and there is no explanatory comment.

Check notice on line 10 in samples/insecure-01.py

See this annotation in the file changed.

Code scanning / CodeQL

Except block handles 'BaseException' Note

Except block directly handles BaseException.

Check notice on line 16 in samples/insecure-01.py

See this annotation in the file changed.

Code scanning / CodeQL

Except block handles 'BaseException' Note

Except block directly handles BaseException.

Check notice on line 19 in samples/insecure-01.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note

Import of 'telnetlib' is not used.

Check notice on line 20 in samples/insecure-01.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note

Import of 'ftplib' is not used.

Check notice on line 2 in samples/routes-01.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused import Note

Import of 'make_response' is not used.

Check notice on line 12 in samples/routes-01.py

See this annotation in the file changed.

Code scanning / CodeQL

Unused local variable Note

Variable read is not used.

Check notice on line 33 in src/webapp01/Pages/DevSecOps.cshtml.cs

See this annotation in the file changed.

Code scanning / CodeQL

Poor error handling: empty catch block Note

Poor error handling: empty catch block.

Check notice on line 33 in src/webapp01/Pages/DevSecOps.cshtml.cs

See this annotation in the file changed.

Code scanning / CodeQL

Generic catch clause Note

Generic catch clause.

Check notice on line 8 in src/webapp01/Pages/Privacy.cshtml.cs

See this annotation in the file changed.

Code scanning / CodeQL

Missed 'readonly' opportunity Note

Field 'adminUserName' can be 'readonly'.

Check notice on line 25 in src/webapp01/Pages/Privacy.cshtml.cs

See this annotation in the file changed.

Code scanning / CodeQL

Inefficient use of ContainsKey Note

Inefficient use of 'ContainsKey' and
indexer
.

Check failure on line 28 in src/webapp01/Pages/Privacy.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
.