Skip to content

security: add secret + code-injection scanner#39

Merged
shawnmuggle merged 2 commits into
masterfrom
security/add-scanner
Jun 18, 2026
Merged

security: add secret + code-injection scanner#39
shawnmuggle merged 2 commits into
masterfrom
security/add-scanner

Conversation

@shawnmuggle

Copy link
Copy Markdown
Member

Adds the RozoAI one-file security gate to this repo as part of the org-wide supply-chain hardening.

What this adds

  • scripts/security.sh — one-file pre-commit / CI gate (secret-leak + build-config code-injection checks). Secret values are never printed, only file:line.
  • scripts/SECURITY.md — usage and remediation docs.
  • .github/workflows/security-scan.yml — runs the gate on every push and PR.
  • .github/skills/security-review/SKILL.md — review rules for high-risk diffs (force-added; .github/skills/ is gitignored here).

Scan result: 1 pre-existing finding, a false positive — a NEXTAUTH_SECRET=test-secret-local placeholder in a playwright docs example. Annotated with a security.sh:allow marker. No real secret present, nothing to rotate. No code-injection patterns found.

shawnmuggle and others added 2 commits June 18, 2026 12:42
Adds scripts/security.sh (one-file security gate), scripts/SECURITY.md,
a GitHub Actions security-scan workflow, and the security-review skill.

The scanner flagged one pre-existing finding, a false positive: a
NEXTAUTH_SECRET=test-secret-local placeholder in a playwright docs
example (.agents/skills/.../nextjs.md). Annotated with a
'security.sh:allow' marker. No real secret present; nothing to rotate.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…tignored)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
intent-example Building Building Preview, Comment Jun 18, 2026 4:43am

Request Review

@shawnmuggle shawnmuggle merged commit 85025d5 into master Jun 18, 2026
3 of 4 checks passed
@shawnmuggle shawnmuggle deleted the security/add-scanner branch June 18, 2026 04:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant