Skip to content

Commit

Permalink
Create codescan.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sust4in committed Feb 9, 2024
1 parent f0fd0fd commit b910bb5
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/codescan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
run-name: CodeThreat Scan Task

on:
# Trigger scan when pushing in master or pull requests, and when creating
# a pull request.
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
jobs:
codethreat_scanner:
runs-on: ubuntu-latest
name: Codethreat Scan
steps:
- name: Check Out Source Code
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v1
- name: CodeThreat Github Action Scanner
uses: CodeThreat/codethreat-scan-action@master

env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CT_SERVER: ${{ secrets.CT_SERVER }}
ORGNAME: ${{ secrets.ORGNAME }}
with:
FAILED_ARGS: |
- max_number_of_critical: 15
- max_number_of_high: 15
- weakness_is: ".*injection"
- condition: 'OR'
- automerge: false
- sync_scan: true
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: codethreat.sarif.json

1 comment on commit b910bb5

@ysf-ct
Copy link

@ysf-ct ysf-ct commented on b910bb5 Jul 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Logo

CodeThreat Scan Summary

The scan for IssueBlot.NET has been finalized. The CodeThreat scan has been successfully completed. Below, you can find detailed results and corresponding data visualizations. The number of issues fixed in your project is 0


Duration: 00:31:30

Risk Score: F

Fixed Issue: 0


New Issues Severity Breakdown:

  • Critical: 0
  • High: 0
  • Medium: 0
  • Low: 0

Total Vulnerabilities:

  • Total Issues: 312
  • New Issues: 0

Vulnerabilities:

Weakness Name Severity Count
Hardcoded Credentials Low 25
Insecure Random Number Generator High 9
Cross Site Request Forgery Medium 10
Disabled Request Validation High 1
Inadequate Input Validation Mvc Web Api Medium 4
Mass Assignment Critical 1
Http Cookie Injection High 3
Insecure File Upload Critical 4
Using Persistent Cookies Low 1
Insecure Cors Configuration Critical 1
Http Parameter Pollution Critical 3
Server Side Request Forgery Critical 5
Empty Catch Block Low 8
Writable Public Static Fields Medium 2
Network Connection Identifier Injection High 13
Exposing Unmasked Sensitive Data High 2
Sql Injection Critical 23
Open Redirect High 3
Http Response Splitting Critical 3
Unnecessary Code Entrance Low 3
Inadequate Input Validation Webforms Medium 8
Potential Unsafe Decoding Medium 5
Resource Denial Of Service Critical 3
Sensitive Information Exposure Medium 1
Insecure Leakage Of System Information Low 2
Insecure Deserialization Binary Critical 3
Insecure Ldap Simplebind Critical 2
Possibly Insecure Use Of Gethostbyaddress Low 1
Insecure Basic Authentication Critical 2
Nhibernate Sql Injection Critical 1
Ldap Resource Injection Medium 4
Connection String Injection Critical 3
Log Forging For Apache Log4net Medium 3
Ldap Injection Critical 5
Credential Exposure Log Files High 2
Code Injection Critical 1
Executable Injection Medium 1
Json Injection Critical 1
Xml Injection High 1
Unsafe Database Resource Release High 2
Xpath Injection Critical 1
Lack Of Equals Implementation Low 3
Incorrect Call To Equals With Array Low 2
Possible Divide By Zero Low 2
Insecure Native Code Interaction Low 1
Directory Traversal Critical 3
Unsafe Filesystem Resource Release High 1
Insecure Deserialization Xml Critical 1
Incorrect Readonly Member Low 1
Insecure Reflection Medium 7
Inadequate Deserialization Validation Low 3
Implementing Icloneable Interface Low 1
Use Of Dangerous Regular Expressions High 5
Insecure Serialization Delegate Critical 1
Insecure Cryptographic Hash Critical 15
User Driven Insecure Hash Algorithm Critical 1
Insecure Symmetric Encryption Mode Cbc Without Hmac High 9
Custom Ssl Validation Critical 1
Insecure Pbe Work Factor High 3
Insecure Rsa Padding Critical 2
Insufficient Encryption Key Size Critical 1
Possibly Insecure Use Of Path Combine High 4
Unsafe Dynamic Method Call Critical 42
Prevent Dynamic Prototype Modification High 21
Node Js Property Injection Defense High 6

SCA

Vulnerabilities:

Dependency Issues License
Antlr Critical:0 - High:0 - Medium:0 - Low:0
EntityFramework Critical:0 - High:0 - Medium:0 - Low:0
Microsoft.AspNet.Cors Critical:0 - High:0 - Medium:0 - Low:0
Microsoft.AspNet.Identity.Core Critical:0 - High:0 - Medium:0 - Low:0
Microsoft.AspNet.Identity.EntityFramework Critical:0 - High:0 - Medium:0 - Low:0
Microsoft.AspNet.Identity.Owin Critical:0 - High:1 - Medium:0 - Low:0
Microsoft.AspNet.Mvc Critical:0 - High:0 - Medium:0 - Low:0
Microsoft.AspNet.Razor Critical:0 - High:0 - Medium:0 - Low:0
Microsoft.AspNet.Web.Optimization Critical:0 - High:0 - Medium:0 - Low:0
Microsoft.AspNet.WebApi Critical:0 - High:0 - Medium:0 - Low:0
Microsoft.AspNet.WebApi.Client Critical:0 - High:0 - Medium:0 - Low:0
Microsoft.AspNet.WebApi.Core Critical:0 - High:0 - Medium:0 - Low:0
Microsoft.AspNet.WebApi.Cors Critical:0 - High:0 - Medium:0 - Low:0
Microsoft.AspNet.WebApi.WebHost Critical:0 - High:0 - Medium:0 - Low:0
Microsoft.AspNet.WebPages Critical:0 - High:0 - Medium:0 - Low:0
Microsoft.CodeDom.Providers.DotNetCompilerPlatform Critical:0 - High:0 - Medium:0 - Low:0
Microsoft.Owin Critical:0 - High:2 - Medium:0 - Low:0
Microsoft.Owin.Host.SystemWeb Critical:0 - High:0 - Medium:0 - Low:0
Microsoft.Owin.Security Critical:0 - High:0 - Medium:0 - Low:0
Microsoft.Owin.Security.Cookies Critical:0 - High:1 - Medium:0 - Low:0
Microsoft.Owin.Security.OAuth Critical:0 - High:0 - Medium:0 - Low:0
Microsoft.SharePoint.Client Critical:0 - High:0 - Medium:0 - Low:0
Microsoft.SharePoint.dll Critical:0 - High:0 - Medium:0 - Low:0
Microsoft.Web.Infrastructure Critical:0 - High:0 - Medium:0 - Low:0
Microsoft.WebSockets Critical:0 - High:0 - Medium:0 - Low:0
Microsoft.jQuery.Unobtrusive.Validation Critical:0 - High:0 - Medium:0 - Low:0
Modernizr Critical:0 - High:0 - Medium:0 - Low:0
Newtonsoft.Json Critical:0 - High:2 - Medium:0 - Low:0
Owin Critical:0 - High:0 - Medium:0 - Low:0
RazorEngine Critical:0 - High:0 - Medium:1 - Low:0
SharePoint Critical:0 - High:0 - Medium:0 - Low:0
SharePoint.Client.Search Critical:0 - High:0 - Medium:0 - Low:0
SharePoint.Client.ServerRuntime Critical:0 - High:0 - Medium:0 - Low:0
SharePoint.Search Critical:0 - High:0 - Medium:0 - Low:0
System.Net.WebSockets Critical:0 - High:0 - Medium:0 - Low:0
WebGrease Critical:0 - High:0 - Medium:0 - Low:0
bootstrap Critical:0 - High:0 - Medium:0 - Low:0
jQuery Critical:0 - High:0 - Medium:4 - Low:0
jQuery.Validation Critical:0 - High:1 - Medium:0 - Low:1
Antlr Critical:0 - High:0 - Medium:0 - Low:0
AspNet.ScriptManager.bootstrap Critical:0 - High:0 - Medium:0 - Low:0
AspNet.ScriptManager.jQuery Critical:0 - High:0 - Medium:0 - Low:0
Microsoft.AspNet.FriendlyUrls Critical:0 - High:0 - Medium:0 - Low:0
Microsoft.AspNet.FriendlyUrls.Core Critical:0 - High:0 - Medium:0 - Low:0
Microsoft.AspNet.ScriptManager.MSAjax Critical:0 - High:0 - Medium:0 - Low:0
Microsoft.AspNet.ScriptManager.WebForms Critical:0 - High:0 - Medium:0 - Low:0
Microsoft.AspNet.Web.Optimization Critical:0 - High:0 - Medium:0 - Low:0
Microsoft.AspNet.Web.Optimization.WebForms Critical:0 - High:0 - Medium:0 - Low:0
Microsoft.CodeDom.Providers.DotNetCompilerPlatform Critical:0 - High:0 - Medium:0 - Low:0
Microsoft.Web.Infrastructure Critical:0 - High:0 - Medium:0 - Low:0
Modernizr Critical:0 - High:0 - Medium:0 - Low:0
Newtonsoft.Json Critical:0 - High:2 - Medium:0 - Low:0
WebGrease Critical:0 - High:0 - Medium:0 - Low:0
bootstrap Critical:0 - High:0 - Medium:0 - Low:0
jQuery Critical:0 - High:0 - Medium:4 - Low:0

See all results

Please sign in to comment.