Skip to content

Ci/harden scanner - #9

Merged
AllanOps merged 2 commits into
mainfrom
ci/harden-scanner
Jul 22, 2026
Merged

Ci/harden scanner#9
AllanOps merged 2 commits into
mainfrom
ci/harden-scanner

Conversation

@AllanOps

Copy link
Copy Markdown
Owner

What this changes

Type of change

  • New trick
  • Fix / sharpening of an existing trick
  • Docs / CI / tooling

Checklist

  • Commit messages follow Conventional Commits (feat:, fix:, docs:…)
  • Ran node scripts/validate-repo.mjs and node scripts/scan-content.mjs locally — both passed
  • Content follows the trap-vs-fix format in CONTRIBUTING.md

Security checklist (required for any change under skills/)

  • No new external URLs — or they're added to scripts/url-allowlist.json with a justification
  • No invisible / bidirectional Unicode or encoded blobs
  • Nothing that would direct an agent to fetch or run remote content, or to read or transmit environment variables or secrets

AllanOps added 2 commits July 22, 2026 17:31
- scan-content.mjs: detect homoglyph / mixed-script words (a Latin word
  with a Cyrillic or Greek lookalike letter), closing the biggest gap in the
  injection scanner. Accept an optional root arg for testing.
- Add scripts/test-scanners.mjs: fixture-based tests asserting every rule
  (invisible chars, injection, pipe-to-shell, secret exfil, homoglyph, opaque
  blob, raw-IP, un-allowlisted URL) fires and clean content passes. Runs in CI.
- ci.yml: exclude release-please's generated CHANGELOG.md from markdownlint,
  and make the unpinned Claude CLI validation informational (continue-on-error)
  so a CLI release can't fail unrelated PRs. validate-repo.mjs stays the gate.
@AllanOps
AllanOps merged commit c887404 into main Jul 22, 2026
6 checks passed
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