Repository Public
1# =============================================================================2# SP BOUCHER | SOFTWARE & RESEARCH3# ARTIFICIAL INTELLIGENCE • FINANCE • ENGINEERING4# =============================================================================5#6# Project : QYVORA7# File : .github/workflows/security-audit.yml8# Module : CI9# Repository : https://git.spboucher.ai/qyvora10# Project Website : Not specified11# Created : 2026-12-0412# Last Modified : 2026-12-0413#14# Author : Simon-Pierre Boucher15# Position : Professor of Finance16# Institution : Université du Québec en Outaouais (UQO)17# Organization : SP Boucher18# Website : https://spboucher.ai19# Git : https://git.spboucher.ai20#21# Preferred Contact: contact@spboucher.ai22# Development : dev@spboucher.ai23# Support : support@spboucher.ai24# Security/Admin : admin@spboucher.ai25#26# Copyright (c) 202627# Simon-Pierre Boucher28# All rights reserved where applicable. This file is governed by the29# applicable project license, copyright notices and relevant law.30# Existing third-party rights and notices remain unaffected.31#32# License : None specified (no license file in this repository)33#34# Do not embed credentials, private keys, access tokens,35# certificates or confidential personal information.36#37# =============================================================================38# END OF SP BOUCHER SOURCE HEADER39# =============================================================================4041# UNUSED EXAMPLE — the QYVORA forge is self-hosted (spbgit, bare repositories on the gateway M1M32) and42# has no hosted CI runner. The integration actually provided is in security/README.md:43# - a Git pre-push hook (security/audit/install-hooks.sh), and44# - a server-side script for the forge's post-receive hook (security/audit/ci/post-receive-audit.sh).45# This file only shows what the equivalent would be if the repository were mirrored to a forge with46# macOS runners. It is not enabled anywhere, has never run, and must not be read as evidence of anything.47#48# Notes for whoever would enable it:49# - a self-hosted macOS runner is required for the differential oracle of the Rust library and for the50# cluster options; on a hosted runner those campaigns are recorded as NOT RUN and the gate reports it;51# - no secret is needed: the audit uploads nothing and uses no account.5253name: security-audit (example, unused)5455on:56 workflow_dispatch:57 push:58 branches: [main]59 paths:60 - "Sources/**"61 - "Tests/**"62 - "App/**"63 - "security/**"64 - "Package.swift"65 - "Scripts/security-audit.sh"6667permissions:68 contents: read6970jobs:71 quick-audit:72 runs-on: macos-latest73 timeout-minutes: 6074 steps:75 - uses: actions/checkout@v476 with:77 fetch-depth: 0 # the secret scan reads the whole history78 - name: Install the pinned audit tools79 run: security/audit/install-tools.sh80 - name: Quick security audit81 run: Scripts/security-audit.sh --quick82 - name: Keep the reports83 if: always()84 uses: actions/upload-artifact@v485 with:86 name: security-audit-reports87 path: |88 security/reports/SECURITY_AUDIT_RESULTS.json89 security/reports/SECURITY_AUDIT_REPORT.md90 security/reports/SECURITY_AUDIT_REPORT.html91 security/reports/SECURITY_AUDIT_REPORT.pdf92 security/reports/CRYPTOGRAPHIC_VALIDATION_REPORT.pdf93