diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml deleted file mode 100644 index 02ba22c6..00000000 --- a/.github/workflows/build.yaml +++ /dev/null @@ -1,14 +0,0 @@ -name: Build -on: - pull_request: - branches: - - main - -jobs: - - build: - runs-on: ubuntu-22.04 - steps: - - uses: actions/checkout@v2 - - name: Gradle build - run: ./gradlew :build diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 00000000..a4c75c66 --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,91 @@ +# For most projects, this workflow file will not need changing; you simply need +# to commit it to your repository. +# +# You may wish to alter this file to override the set of languages analyzed, +# or to provide custom queries or build logic. +# +# ******** NOTE ******** +# We have attempted to detect the languages in your repository. Please check +# the `language` matrix defined below to confirm you have the correct set of +# supported CodeQL languages. +# +name: "CodeQL" + +on: + push: + branches: [ "main" ] + pull_request: + branches: [ "main" ] + +jobs: + analyze: + name: Analyze (${{ matrix.language }}) + # Runner size impacts CodeQL analysis time. To learn more, please see: + # - https://gh.io/recommended-hardware-resources-for-running-codeql + # - https://gh.io/supported-runners-and-hardware-resources + # - https://gh.io/using-larger-runners (GitHub.com only) + # Consider using larger runners or machines with greater resources for possible analysis time improvements. + runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }} + timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }} + permissions: + # required for all workflows + security-events: write + + # required to fetch internal or private CodeQL packs + packages: read + + # only required for workflows in private repositories + actions: read + contents: read + + strategy: + fail-fast: false + matrix: + include: + - language: java-kotlin + build-mode: autobuild + # CodeQL supports the following values keywords for 'language': 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' + # Use `c-cpp` to analyze code written in C, C++ or both + # Use 'java-kotlin' to analyze code written in Java, Kotlin or both + # Use 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both + # To learn more about changing the languages that are analyzed or customizing the build mode for your analysis, + # see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/customizing-your-advanced-setup-for-code-scanning. + # If you are analyzing a compiled language, you can modify the 'build-mode' for that language to customize how + # your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + # Initializes the CodeQL tools for scanning. + - name: Initialize CodeQL + uses: github/codeql-action/init@v3 + with: + languages: ${{ matrix.language }} + build-mode: ${{ matrix.build-mode }} + # If you wish to specify custom queries, you can do so here or in a config file. + # By default, queries listed here will override any specified in a config file. + # Prefix the list here with "+" to use these queries and those in the config file. + + # For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs + # queries: security-extended,security-and-quality + + # If the analyze step fails for one of the languages you are analyzing with + # "We were unable to automatically build your code", modify the matrix above + # to set the build mode to "manual" for that language. Then modify this step + # to build your code. + # ℹī¸ Command-line programs to run using the OS shell. + # 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun + - if: matrix.build-mode == 'manual' + shell: bash + run: | + echo 'If you are using a "manual" build mode for one or more of the' \ + 'languages you are analyzing, replace this with the commands to build' \ + 'your code, for example:' + echo ' make bootstrap' + echo ' make release' + exit 1 + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v3 + with: + category: "/language:${{matrix.language}}" diff --git a/.github/workflows/hawkscan-scan.yml b/.github/workflows/hawkscan-scan.yml new file mode 100644 index 00000000..ffc41e59 --- /dev/null +++ b/.github/workflows/hawkscan-scan.yml @@ -0,0 +1,47 @@ +name: "action-tests" +on: + pull_request: + branches: + - main + push: + branches: + - main + +jobs: + hawkscan: + name: Java Spring Vulny Test + runs-on: ubuntu-latest + permissions: + # required for all workflows + security-events: write + + # required to fetch internal or private CodeQL packs + packages: read + + # only required for workflows in private repositories + actions: read + contents: read + steps: + - name: Checkout javaspringvulny repository + uses: actions/checkout@v4 +# - name: Run javaspringvulny +# run: docker-compose up -d +# - name: Run Hawkscan +# uses: stackhawk/hawkscan-action@v2.1.3 +# with: +# apiKey: ${{ secrets.HAWK_API_KEY }} +# configurationFiles: stackhawk.d/stackhawk.yml stackhawk.d/stackhawk-jsv-json-token.yml stackhawk.d/github-tags.yml +# env: +# APP_ID: fe3b8948-0edb-4fa4-a3b7-6fa200461f78 +# ENV: action-scan +# SARIF_ARTIFACT: true +# COMMIT_SHA: ${{ github.event.pull_request.head.sha }} +# BRANCH_NAME: ${{ github.head_ref }} + - name: Upload SARIF file + uses: github/codeql-action/upload-sarif@v3 + with: + # Path to SARIF file relative to the root of the repository + sarif_file: stackhawk.sarif + # Optional category for the results + # Used to differentiate multiple results for one commit + category: StackHawk \ No newline at end of file diff --git a/.github/workflows/hawkscan.yml b/.github/workflows/hawkscan.yml deleted file mode 100644 index b0af59a4..00000000 --- a/.github/workflows/hawkscan.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: HawkScan -on: - repository_dispatch: - types: [integration-initial-test] -jobs: - hawkscan: - name: HawkScan - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Create ${{ github.event.client_payload.repoName }} app directory - run: mkdir -p common/build/integrationTests/hawkscan-action/apps/${{ github.event.client_payload.repoName }} - - name: Navigate to ${{ github.event.client_payload.repoName }} app directory - run: cd common/build/integrationTests/hawkscan-action/apps/${{ github.event.client_payload.repoName }} - - name: Checkout vulny repo - run: git clone https://github.com/${{ github.event.client_payload.repoOrg }}/${{ github.event.client_payload.repoName }}.git - - name: Run ${{ github.event.client_payload.repoName }} - run: docker-compose up -d - - name: Navigate to repo root directory - run: cd /home/runner/work/${{ github.event.client_payload.repoName }}/${{ github.event.client_payload.repoName }} - - name: Run HawkScan - id: run-hawkscan - uses: stackhawk/hawkscan-action@main - with: - apiKey: ${{ secrets.HAWK_API_KEY }} - configurationFiles: ${{ github.event.client_payload.configFile }} - sourceURL: ${{ github.event.client_payload.hawkscanSourceUrl }} - version: ${{ github.event.client_payload.hawkscanVersion }} - verbose: ${{ github.event.client_payload.verbose }} - env: - # APPLICATION_ID: ${{ github.event.client_payload.appId }} - APP_ID: ${{ github.event.client_payload.appId }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml deleted file mode 100644 index 48e6abdd..00000000 --- a/.github/workflows/release.yaml +++ /dev/null @@ -1,19 +0,0 @@ -name: Release Tag -on: - push: - tags: - - '*' - -jobs: - release: - if: startsWith(github.ref, 'refs/tags/') - runs-on: ubuntu-22.04 - steps: - - uses: actions/checkout@v2 - - name: Gradle assemble - run: './gradlew :assemble' - - uses: softprops/action-gh-release@v1 - name: release files - with: - files: | - build/libs/java-spring-vuly-0.2.0.jar diff --git a/stackhawk.d/github-tags.yml b/stackhawk.d/github-tags.yml new file mode 100644 index 00000000..3e0d223a --- /dev/null +++ b/stackhawk.d/github-tags.yml @@ -0,0 +1,5 @@ +tags: + - name: _STACKHAWK_GIT_COMMIT_SHA + value: ${COMMIT_SHA:} + - name: _STACKHAWK_GIT_BRANCH + value: ${BRANCH_NAME:} \ No newline at end of file diff --git a/stackhawk.d/stackhawk-jsv-json-token.yml b/stackhawk.d/stackhawk-jsv-json-token.yml index de2576d0..2da305af 100644 --- a/stackhawk.d/stackhawk-jsv-json-token.yml +++ b/stackhawk.d/stackhawk-jsv-json-token.yml @@ -1,15 +1,11 @@ hawk: spider: maxDurationMinutes: 2 + base: false app: - env: ${APP_ENV:dev} openApiConf: - path: /openapi.yml - env: dev - host: ${APP_HOST:https://localhost:9000} + path: /openapi authentication: - loggedInIndicator: "\\QSign Out\\E" - loggedOutIndicator: ".*Location:.*/login.*" usernamePassword: type: JSON loginPath: /api/jwt/auth/signin @@ -21,6 +17,7 @@ app: type: HEADER value: Authorization tokenType: Bearer + isJWT: true tokenExtraction: type: TOKEN_PATH value: "token" diff --git a/stackhawk.sarif b/stackhawk.sarif new file mode 100644 index 00000000..d7827f0d --- /dev/null +++ b/stackhawk.sarif @@ -0,0 +1,580 @@ +{ + "version": "2.1.0", + "$schema": "https://json.schemastore.org/sarif-2.1.0", + "runs": [{ + "tool": { + "driver": { + "version": "3.9.3", + "name": "StackHawk", + "informationUri": "https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359", + "properties": { + "scanId": "487b338b-52c4-425b-b47f-123543296359" + }, + "rules": [{ + "id": "487b338b-52c4-425b-b47f-123543296359-40018-0", + "name": "SqlInjectionPostgreSql", + "helpUri": "https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40018", + "help": { + "text": "Details for SQL Injection - PostgreSQL at https://localhost:9000/api/jwt/items/search can be found here: https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40018", + "markdown": "Details for [SQL Injection - PostgreSQL](https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40018) at `https://localhost:9000/api/jwt/items/search`" + }, + "properties": { + "tags": ["CWE-89", "WASC-19"], + "security-severity": "8.0" + }, + "shortDescription": { + "text": "SQL Injection - PostgreSQL" + }, + "fullDescription": { + "text": "SQL Injection - PostgreSQL" + } + }, { + "id": "487b338b-52c4-425b-b47f-123543296359-40018-1", + "name": "SqlInjectionPostgreSql", + "helpUri": "https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40018", + "help": { + "text": "Details for SQL Injection - PostgreSQL at https://localhost:9000/api/jwt/items/search/%27 can be found here: https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40018", + "markdown": "Details for [SQL Injection - PostgreSQL](https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40018) at `https://localhost:9000/api/jwt/items/search/%27`" + }, + "properties": { + "tags": ["CWE-89", "WASC-19"], + "security-severity": "8.0" + }, + "shortDescription": { + "text": "SQL Injection - PostgreSQL" + }, + "fullDescription": { + "text": "SQL Injection - PostgreSQL" + } + }, { + "id": "487b338b-52c4-425b-b47f-123543296359-40018-2", + "name": "SqlInjectionPostgreSql", + "helpUri": "https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40018", + "help": { + "text": "Details for SQL Injection - PostgreSQL at https://localhost:9000/api/jwt/items/search/%27 can be found here: https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40018", + "markdown": "Details for [SQL Injection - PostgreSQL](https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40018) at `https://localhost:9000/api/jwt/items/search/%27`" + }, + "properties": { + "tags": ["CWE-89", "WASC-19"], + "security-severity": "8.0" + }, + "shortDescription": { + "text": "SQL Injection - PostgreSQL" + }, + "fullDescription": { + "text": "SQL Injection - PostgreSQL" + } + }, { + "id": "487b338b-52c4-425b-b47f-123543296359-40018-3", + "name": "SqlInjectionPostgreSql", + "helpUri": "https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40018", + "help": { + "text": "Details for SQL Injection - PostgreSQL at https://localhost:9000/api/jwt/users/search/bad/%27 can be found here: https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40018", + "markdown": "Details for [SQL Injection - PostgreSQL](https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40018) at `https://localhost:9000/api/jwt/users/search/bad/%27`" + }, + "properties": { + "tags": ["CWE-89", "WASC-19"], + "security-severity": "8.0" + }, + "shortDescription": { + "text": "SQL Injection - PostgreSQL" + }, + "fullDescription": { + "text": "SQL Injection - PostgreSQL" + } + }, { + "id": "487b338b-52c4-425b-b47f-123543296359-40008-4", + "name": "ParameterTampering", + "helpUri": "https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40008", + "help": { + "text": "Details for Parameter Tampering at https://localhost:9000/api/jwt/items/search can be found here: https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40008", + "markdown": "Details for [Parameter Tampering](https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40008) at `https://localhost:9000/api/jwt/items/search`" + }, + "properties": { + "tags": ["CWE-472", "WASC-20"], + "security-severity": "5.0" + }, + "shortDescription": { + "text": "Parameter Tampering" + }, + "fullDescription": { + "text": "Parameter Tampering" + } + }, { + "id": "487b338b-52c4-425b-b47f-123543296359-40025-5", + "name": "ProxyDisclosure", + "helpUri": "https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40025", + "help": { + "text": "Details for Proxy Disclosure at https://localhost:9000/api/jwt/items/search can be found here: https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40025", + "markdown": "Details for [Proxy Disclosure](https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40025) at `https://localhost:9000/api/jwt/items/search`" + }, + "properties": { + "tags": ["CWE-200", "WASC-45"], + "security-severity": "5.0" + }, + "shortDescription": { + "text": "Proxy Disclosure" + }, + "fullDescription": { + "text": "Proxy Disclosure" + } + }, { + "id": "487b338b-52c4-425b-b47f-123543296359-40025-6", + "name": "ProxyDisclosure", + "helpUri": "https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40025", + "help": { + "text": "Details for Proxy Disclosure at https://localhost:9000 can be found here: https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40025", + "markdown": "Details for [Proxy Disclosure](https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40025) at `https://localhost:9000`" + }, + "properties": { + "tags": ["CWE-200", "WASC-45"], + "security-severity": "5.0" + }, + "shortDescription": { + "text": "Proxy Disclosure" + }, + "fullDescription": { + "text": "Proxy Disclosure" + } + }, { + "id": "487b338b-52c4-425b-b47f-123543296359-40025-7", + "name": "ProxyDisclosure", + "helpUri": "https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40025", + "help": { + "text": "Details for Proxy Disclosure at https://localhost:9000/api/jwt/auth/signin can be found here: https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40025", + "markdown": "Details for [Proxy Disclosure](https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40025) at `https://localhost:9000/api/jwt/auth/signin`" + }, + "properties": { + "tags": ["CWE-200", "WASC-45"], + "security-severity": "5.0" + }, + "shortDescription": { + "text": "Proxy Disclosure" + }, + "fullDescription": { + "text": "Proxy Disclosure" + } + }, { + "id": "487b338b-52c4-425b-b47f-123543296359-40025-8", + "name": "ProxyDisclosure", + "helpUri": "https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40025", + "help": { + "text": "Details for Proxy Disclosure at https://localhost:9000/api can be found here: https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40025", + "markdown": "Details for [Proxy Disclosure](https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40025) at `https://localhost:9000/api`" + }, + "properties": { + "tags": ["CWE-200", "WASC-45"], + "security-severity": "5.0" + }, + "shortDescription": { + "text": "Proxy Disclosure" + }, + "fullDescription": { + "text": "Proxy Disclosure" + } + }, { + "id": "487b338b-52c4-425b-b47f-123543296359-40025-9", + "name": "ProxyDisclosure", + "helpUri": "https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40025", + "help": { + "text": "Details for Proxy Disclosure at https://localhost:9000/api/basic can be found here: https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40025", + "markdown": "Details for [Proxy Disclosure](https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40025) at `https://localhost:9000/api/basic`" + }, + "properties": { + "tags": ["CWE-200", "WASC-45"], + "security-severity": "5.0" + }, + "shortDescription": { + "text": "Proxy Disclosure" + }, + "fullDescription": { + "text": "Proxy Disclosure" + } + }, { + "id": "487b338b-52c4-425b-b47f-123543296359-40025-10", + "name": "ProxyDisclosure", + "helpUri": "https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40025", + "help": { + "text": "Details for Proxy Disclosure at https://localhost:9000/api/basic/items/search/ can be found here: https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40025", + "markdown": "Details for [Proxy Disclosure](https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40025) at `https://localhost:9000/api/basic/items/search/`" + }, + "properties": { + "tags": ["CWE-200", "WASC-45"], + "security-severity": "5.0" + }, + "shortDescription": { + "text": "Proxy Disclosure" + }, + "fullDescription": { + "text": "Proxy Disclosure" + } + }, { + "id": "487b338b-52c4-425b-b47f-123543296359-40025-11", + "name": "ProxyDisclosure", + "helpUri": "https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40025", + "help": { + "text": "Details for Proxy Disclosure at https://localhost:9000/api/basic/items/search can be found here: https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40025", + "markdown": "Details for [Proxy Disclosure](https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40025) at `https://localhost:9000/api/basic/items/search`" + }, + "properties": { + "tags": ["CWE-200", "WASC-45"], + "security-severity": "5.0" + }, + "shortDescription": { + "text": "Proxy Disclosure" + }, + "fullDescription": { + "text": "Proxy Disclosure" + } + }, { + "id": "487b338b-52c4-425b-b47f-123543296359-40025-12", + "name": "ProxyDisclosure", + "helpUri": "https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40025", + "help": { + "text": "Details for Proxy Disclosure at https://localhost:9000/api/jwt/auth can be found here: https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40025", + "markdown": "Details for [Proxy Disclosure](https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40025) at `https://localhost:9000/api/jwt/auth`" + }, + "properties": { + "tags": ["CWE-200", "WASC-45"], + "security-severity": "5.0" + }, + "shortDescription": { + "text": "Proxy Disclosure" + }, + "fullDescription": { + "text": "Proxy Disclosure" + } + }, { + "id": "487b338b-52c4-425b-b47f-123543296359-40025-13", + "name": "ProxyDisclosure", + "helpUri": "https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40025", + "help": { + "text": "Details for Proxy Disclosure at https://localhost:9000/api/jwt can be found here: https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40025", + "markdown": "Details for [Proxy Disclosure](https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40025) at `https://localhost:9000/api/jwt`" + }, + "properties": { + "tags": ["CWE-200", "WASC-45"], + "security-severity": "5.0" + }, + "shortDescription": { + "text": "Proxy Disclosure" + }, + "fullDescription": { + "text": "Proxy Disclosure" + } + }, { + "id": "487b338b-52c4-425b-b47f-123543296359-40025-14", + "name": "ProxyDisclosure", + "helpUri": "https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40025", + "help": { + "text": "Details for Proxy Disclosure at https://localhost:9000/api/basic/items/search/text can be found here: https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40025", + "markdown": "Details for [Proxy Disclosure](https://app.test.stackhawk.com/scans/487b338b-52c4-425b-b47f-123543296359/finding/40025) at `https://localhost:9000/api/basic/items/search/text`" + }, + "properties": { + "tags": ["CWE-200", "WASC-45"], + "security-severity": "5.0" + }, + "shortDescription": { + "text": "Proxy Disclosure" + }, + "fullDescription": { + "text": "Proxy Disclosure" + } + }], + "fullName": "HawkScan 3.9.3" + } + }, + "results": [{ + "ruleId": "487b338b-52c4-425b-b47f-123543296359-40018-0", + "message": { + "text": "SQL Injection - PostgreSQL", + "markdown": "SQL Injection - PostgreSQL" + }, + "locations": [{ + "physicalLocation": { + "artifactLocation": { + "uri": "hawkscan/https://localhost:9000/api/jwt/items/search" + }, + "region": { + "startLine": 1 + } + } + }], + "partialFingerprints": { + "3.9.3": "487b338b-52c4-425b-b47f-123543296359-40018-0" + } + }, { + "ruleId": "487b338b-52c4-425b-b47f-123543296359-40018-1", + "message": { + "text": "SQL Injection - PostgreSQL", + "markdown": "SQL Injection - PostgreSQL" + }, + "locations": [{ + "physicalLocation": { + "artifactLocation": { + "uri": "hawkscan/https://localhost:9000/api/jwt/items/search/%27" + }, + "region": { + "startLine": 1 + } + } + }], + "partialFingerprints": { + "3.9.3": "487b338b-52c4-425b-b47f-123543296359-40018-1" + } + }, { + "ruleId": "487b338b-52c4-425b-b47f-123543296359-40018-2", + "message": { + "text": "SQL Injection - PostgreSQL", + "markdown": "SQL Injection - PostgreSQL" + }, + "locations": [{ + "physicalLocation": { + "artifactLocation": { + "uri": "hawkscan/https://localhost:9000/api/jwt/items/search/%27" + }, + "region": { + "startLine": 1 + } + } + }], + "partialFingerprints": { + "3.9.3": "487b338b-52c4-425b-b47f-123543296359-40018-2" + } + }, { + "ruleId": "487b338b-52c4-425b-b47f-123543296359-40018-3", + "message": { + "text": "SQL Injection - PostgreSQL", + "markdown": "SQL Injection - PostgreSQL" + }, + "locations": [{ + "physicalLocation": { + "artifactLocation": { + "uri": "hawkscan/https://localhost:9000/api/jwt/users/search/bad/%27" + }, + "region": { + "startLine": 1 + } + } + }], + "partialFingerprints": { + "3.9.3": "487b338b-52c4-425b-b47f-123543296359-40018-3" + } + }, { + "ruleId": "487b338b-52c4-425b-b47f-123543296359-40008-4", + "message": { + "text": "Parameter Tampering", + "markdown": "Parameter Tampering" + }, + "locations": [{ + "physicalLocation": { + "artifactLocation": { + "uri": "hawkscan/https://localhost:9000/api/jwt/items/search" + }, + "region": { + "startLine": 1 + } + } + }], + "partialFingerprints": { + "3.9.3": "487b338b-52c4-425b-b47f-123543296359-40008-4" + } + }, { + "ruleId": "487b338b-52c4-425b-b47f-123543296359-40025-5", + "message": { + "text": "Proxy Disclosure", + "markdown": "Proxy Disclosure" + }, + "locations": [{ + "physicalLocation": { + "artifactLocation": { + "uri": "hawkscan/https://localhost:9000/api/jwt/items/search" + }, + "region": { + "startLine": 1 + } + } + }], + "partialFingerprints": { + "3.9.3": "487b338b-52c4-425b-b47f-123543296359-40025-5" + } + }, { + "ruleId": "487b338b-52c4-425b-b47f-123543296359-40025-6", + "message": { + "text": "Proxy Disclosure", + "markdown": "Proxy Disclosure" + }, + "locations": [{ + "physicalLocation": { + "artifactLocation": { + "uri": "hawkscan/https://localhost:9000" + }, + "region": { + "startLine": 1 + } + } + }], + "partialFingerprints": { + "3.9.3": "487b338b-52c4-425b-b47f-123543296359-40025-6" + } + }, { + "ruleId": "487b338b-52c4-425b-b47f-123543296359-40025-7", + "message": { + "text": "Proxy Disclosure", + "markdown": "Proxy Disclosure" + }, + "locations": [{ + "physicalLocation": { + "artifactLocation": { + "uri": "hawkscan/https://localhost:9000/api/jwt/auth/signin" + }, + "region": { + "startLine": 1 + } + } + }], + "partialFingerprints": { + "3.9.3": "487b338b-52c4-425b-b47f-123543296359-40025-7" + } + }, { + "ruleId": "487b338b-52c4-425b-b47f-123543296359-40025-8", + "message": { + "text": "Proxy Disclosure", + "markdown": "Proxy Disclosure" + }, + "locations": [{ + "physicalLocation": { + "artifactLocation": { + "uri": "hawkscan/https://localhost:9000/api" + }, + "region": { + "startLine": 1 + } + } + }], + "partialFingerprints": { + "3.9.3": "487b338b-52c4-425b-b47f-123543296359-40025-8" + } + }, { + "ruleId": "487b338b-52c4-425b-b47f-123543296359-40025-9", + "message": { + "text": "Proxy Disclosure", + "markdown": "Proxy Disclosure" + }, + "locations": [{ + "physicalLocation": { + "artifactLocation": { + "uri": "hawkscan/https://localhost:9000/api/basic" + }, + "region": { + "startLine": 1 + } + } + }], + "partialFingerprints": { + "3.9.3": "487b338b-52c4-425b-b47f-123543296359-40025-9" + } + }, { + "ruleId": "487b338b-52c4-425b-b47f-123543296359-40025-10", + "message": { + "text": "Proxy Disclosure", + "markdown": "Proxy Disclosure" + }, + "locations": [{ + "physicalLocation": { + "artifactLocation": { + "uri": "hawkscan/https://localhost:9000/api/basic/items/search/" + }, + "region": { + "startLine": 1 + } + } + }], + "partialFingerprints": { + "3.9.3": "487b338b-52c4-425b-b47f-123543296359-40025-10" + } + }, { + "ruleId": "487b338b-52c4-425b-b47f-123543296359-40025-11", + "message": { + "text": "Proxy Disclosure", + "markdown": "Proxy Disclosure" + }, + "locations": [{ + "physicalLocation": { + "artifactLocation": { + "uri": "hawkscan/https://localhost:9000/api/basic/items/search" + }, + "region": { + "startLine": 1 + } + } + }], + "partialFingerprints": { + "3.9.3": "487b338b-52c4-425b-b47f-123543296359-40025-11" + } + }, { + "ruleId": "487b338b-52c4-425b-b47f-123543296359-40025-12", + "message": { + "text": "Proxy Disclosure", + "markdown": "Proxy Disclosure" + }, + "locations": [{ + "physicalLocation": { + "artifactLocation": { + "uri": "hawkscan/https://localhost:9000/api/jwt/auth" + }, + "region": { + "startLine": 1 + } + } + }], + "partialFingerprints": { + "3.9.3": "487b338b-52c4-425b-b47f-123543296359-40025-12" + } + }, { + "ruleId": "487b338b-52c4-425b-b47f-123543296359-40025-13", + "message": { + "text": "Proxy Disclosure", + "markdown": "Proxy Disclosure" + }, + "locations": [{ + "physicalLocation": { + "artifactLocation": { + "uri": "hawkscan/https://localhost:9000/api/jwt" + }, + "region": { + "startLine": 1 + } + } + }], + "partialFingerprints": { + "3.9.3": "487b338b-52c4-425b-b47f-123543296359-40025-13" + } + }, { + "ruleId": "487b338b-52c4-425b-b47f-123543296359-40025-14", + "message": { + "text": "Proxy Disclosure", + "markdown": "Proxy Disclosure" + }, + "locations": [{ + "physicalLocation": { + "artifactLocation": { + "uri": "hawkscan/https://localhost:9000/api/basic/items/search/text" + }, + "region": { + "startLine": 1 + } + } + }], + "partialFingerprints": { + "3.9.3": "487b338b-52c4-425b-b47f-123543296359-40025-14" + } + }], + "automationDetails": { + "id": "HawkScan 487b338b-52c4-425b-b47f-123543296359", + "description": { + "text": "This is a Scan 487b338b-52c4-425b-b47f-123543296359 of Application: 5ab4e12e-eade-416f-87f8-ec1ca3120fa7" + } + } + }] +} \ No newline at end of file