GitHub Public Security Audit

PowerShell tool for auditing public GitHub repositories and GitHub Pages sites.

What it checks

Output

The tool generates CSV, TXT and an interactive HTML report. Temporary offline clone data is removed by default.

Usage

pwsh -NoProfile -ExecutionPolicy Bypass `
  -File .\scripts\Invoke-GitHubPublicSecurityAudit.ps1 `
  -Owner "YourGitHubUserOrOrg" `
  -Repositories @("repo-one","repo-two")

v1.1.0 Known-safe finding downgrades

Version 1.1.0 reduces false positives by downgrading documented sanitized examples such as example.com, contoso.local and GitHub Actions token permission references from WARN to INFO when they are known-safe public documentation values.