Skip to content

sec: implement OpenSSF compliance and crypto policy #1

sec: implement OpenSSF compliance and crypto policy

sec: implement OpenSSF compliance and crypto policy #1

Workflow file for this run

name: Security Checks
on:
push:
branches: [ main ]
schedule:
- cron: '0 0 * * *'
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
jobs:
static-analysis:
runs-on: ubuntu-latest
permissions:
security-events: write
steps:
- uses: actions/checkout@v4
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: javascript
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
crypto-audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Ban Insecure RNG
run: ! grep -r "Math.random" . --include="*.js"
- name: Ban Broken Hashes
run: ! grep -riE "md5|sha1" . --include="*.js"