Phase 3 (0.5.0): recon and fingerprinting #24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Security | |
| # Runs Bandit static analysis on every push. This works on public and private | |
| # repositories with no extra settings (unlike CodeQL, which needs code scanning | |
| # or GitHub Advanced Security enabled). Dependency vulnerabilities are tracked | |
| # separately by Dependabot (.github/dependabot.yml). | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| bandit: | |
| name: SAST (bandit) | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: "3.12" | |
| - name: Install bandit | |
| run: python -m pip install --upgrade pip bandit | |
| - name: Run bandit | |
| run: bandit -r src -c pyproject.toml |