Skip to content

About

Zero-dependency 5-pillar codebase audit, secret hygiene scanner, PR annotations & executive PDF report for GitHub Actions.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AuditDeck GitHub Action

Zero-dependency 5-pillar repository health audit, secret scanner, PR annotation emitter, and executive PDF handover generator for GitHub Actions (node20).

Powered by AuditDeck · Try Zero-Install In-Browser Auditor

Features

  • Secret & Security Hygiene (30% weight): Scans source and config files for leaked AWS/Stripe/OpenAI/Anthropic/GitHub tokens, private keys, and committed .env files with masked values and PR annotations (::error / ::warning).
  • Dependencies & Supply Chain (20% weight): Checks deterministic lockfiles (package-lock.json, pnpm-lock.yaml, uv.lock, Cargo.lock, go.sum) and unpinned wildcard/latest dependency ranges.
  • Testing, CI/CD & Quality (20% weight): Audits test presence, TypeScript strictness, CI workflows, and oversized monolith files.
  • Git Bus-Factor & Maintainability (15% weight): Measures commit history concentration and single-maintainer handover risk.
  • Documentation & Handover (15% weight): Verifies README.md, LICENSE, architecture docs, and .env.example.
  • Job Summary & Artifact Exports: Writes rich Markdown directly into $GITHUB_STEP_SUMMARY and optionally generates PDF (pdf-out), CSV (csv-out), Markdown (md-out), and JSON (json-out).

Quickstart

name: AuditDeck Quality & Secret Gate
on: [push, pull_request]

jobs:
  audit:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 0 # Optional: enables full git bus-factor metrics

      - name: Run AuditDeck 5-Pillar Audit
        id: audit
        uses: danielneuron/auditdeck-action@v1
        with:
          fail-on-secrets: 'true'
          min-score: '70'
          pdf-out: 'audit-report.pdf'
          csv-out: 'audit-findings.csv'

      - name: Upload Audit Reports
        if: always()
        uses: actions/upload-artifact@v4
        with:
          name: auditdeck-reports
          path: |
            audit-report.pdf
            audit-findings.csv

Inputs

Input Default Description
path . Workspace path to audit
min-score 0 Fail step if score < min-score (0 = report-only)
fail-on-secrets false Fail step if CRITICAL/HIGH security findings are detected
pdf-out "" Write multi-page PDF handover report to path
csv-out "" Write formula-safe CSV remediation register to path
md-out "" Write Markdown scorecard report to path
json-out "" Write full structured JSON AuditReport to path
agency-name Repo owner Brand name displayed on PDF cover header
client-name Repo name Repository/client title in report
license-key "" Optional AuditDeck Pro ($29) / Agency ($69) Polar license key (${{ secrets.AUDITDECK_LICENSE_KEY }})

Outputs

  • score: Overall 0-100 score
  • grade: Letter grade (A–F)
  • critical: Number of CRITICAL findings
  • high: Number of HIGH findings
  • secrets-found: Number of CRITICAL/HIGH security findings
  • pdf-path: Path to the generated PDF (when pdf-out is set)

Free MIT vs Pro / Agency PDF

  • Free MIT Tier (default): Full 5-pillar scan, PR annotations, GitHub Step Summary, CSV/Markdown/JSON exports, and 2-page PDF.
  • AuditDeck Pro ($29 one-time) / Agency ($69 one-time): Removes PDF footer watermark and unlocks Page 3 30-Day Prioritized Remediation Roadmap & Client Sign-Off. Store your key in secrets.AUDITDECK_LICENSE_KEY.

License

MIT — see LICENSE.

About

Zero-dependency 5-pillar codebase audit, secret hygiene scanner, PR annotations & executive PDF report for GitHub Actions.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages