Skip to content
This repository was archived by the owner on Jan 15, 2026. It is now read-only.
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,12 @@ on:
pull_request:

jobs:
security:
name: Scan apps security
uses: ./.github/workflows/security.yml

build:
needs: security
name: Build apps
uses: ./.github/workflows/build.yml

Expand Down
97 changes: 97 additions & 0 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
name: Security

on:
workflow_call:

jobs:
py-security:
defaults:
run:
working-directory: python
name: Python Security Scan
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.13'

- name: Install dependencies
run: |
pip install bandit safety
pip install -r requirements.txt

- name: Run Bandit
run: bandit -r src

- name: Run Safety check
run: safety check -r requirements.txt

ts-security:
defaults:
run:
working-directory: typescript
name: TypeScript Security Scan
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22'

- name: Install dependencies
run: |
npm ci

- name: Run npm audit
run: npm audit --audit-level=high

go-security:
defaults:
run:
working-directory: rust
name: Go Security Scan
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: '1.24'

- name: Download dependencies
run: go mod download

- name: Run Gosec Security Scanner
uses: securego/gosec@master
with:
args: ./...

rs-security:
name: Rust Security Scan
runs-on: ubuntu-latest
defaults:
run:
working-directory: rust
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
rust-version: '1.87'

- name: Install cargo-audit
run: cargo install cargo-audit

- name: Run cargo audit
run: cargo audit
Loading