Skip to content

Commit 2f0fc8a

Browse files
committed
feat: add qb-security workflow, remove mobsfscan and nuclei
Adds reusable QB Security workflow that scans for invisible Unicode characters (GlassWorm / Trojan Source supply chain attacks) using the new QuickBirdEng/actions/detect-invisible-unicode action. Removes the unused mobsfscan-json and nuclei-scan workflow definitions.
1 parent abbfa34 commit 2f0fc8a

3 files changed

Lines changed: 40 additions & 40 deletions

File tree

.github/actions/mobsfscan-json.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

.github/actions/nuclei-scan.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

.github/workflows/qb-security.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: QB Security
2+
3+
on:
4+
workflow_call:
5+
inputs:
6+
runs-on:
7+
description: 'Runner label for the scan job.'
8+
type: string
9+
default: 'ubuntu-latest'
10+
search-directory:
11+
description: 'Directory to scan recursively for invisible Unicode characters.'
12+
type: string
13+
default: '.'
14+
exclude-dirs:
15+
description: 'Comma-separated directory names to exclude from the scan.'
16+
type: string
17+
default: '.git,node_modules,.idea,build,dist'
18+
exclude-patterns:
19+
description: 'Comma-separated file glob patterns to exclude from the scan.'
20+
type: string
21+
default: '*.png,*.jpg,*.jpeg,*.gif,*.ico,*.pdf,*.zip,*.tar,*.gz,*.bin,*.dill'
22+
fail-on-found:
23+
description: 'Fail the workflow when invisible Unicode characters are found.'
24+
type: boolean
25+
default: true
26+
27+
jobs:
28+
unicode-security-scan:
29+
runs-on: ${{ inputs.runs-on }}
30+
steps:
31+
- name: Checkout
32+
uses: actions/checkout@v4
33+
34+
- name: Detect Invisible Unicode
35+
uses: QuickBirdEng/actions/detect-invisible-unicode@main
36+
with:
37+
search-directory: ${{ inputs.search-directory }}
38+
exclude-dirs: ${{ inputs.exclude-dirs }}
39+
exclude-patterns: ${{ inputs.exclude-patterns }}
40+
fail-on-found: ${{ inputs.fail-on-found }}

0 commit comments

Comments
 (0)