Skip to content

Add compliance plugin with CASA Tier 2 audit skill - #426

Merged
fcakyon merged 1 commit into
mainfrom
feat/compliance-plugin
Nov 22, 2026
Merged

fcakyon merged 1 commit into
mainfrom
feat/compliance-plugin

Conversation

@fcakyon

@fcakyon fcakyon commented Nov 22, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add a modular compliance plugin (plugins/compliance/) with the casa-audit skill and zero-dependency Node ESM scripts (scripts/checks/{common,http,repo,privacy}.mjs and scripts/casa-audit.mjs) reusable across OAuth web repos and public HTTPS URLs.
  • Check HTTPS/redirect, HSTS, CSP, clickjacking, nosniff, Referrer-Policy, Permissions-Policy, Set-Cookie attributes, CORS origin reflection / credentialed wildcard, sensitive path exposure, .env hygiene, hardcoded credentials, token encryption indicators, revocation/deletion flows, Dockerfile hardening, govulncheck, npm audit --omit=dev, and Google Limited Use privacy disclosures.
  • Register compliance across Claude, Codex, Cursor, Antigravity, site/src/lib/catalog-seo.json, and README.md, and add .agents/config.json disabling ultralytics-dev overrides in this repo.

Code review fixes applied

  • Reuse git ls-files inventory for dependency scanning and tracked .env detection instead of walking the repository twice.
  • Reject empty or metadata-free npm audit --json output as WARN rather than reporting a false pass.
  • Cancel unread sensitive-paths HTTP probe response bodies on non-200 replies and trim X-Content-Type-Options.
  • Require human-access/transfer context in privacy-human-access checks instead of matching bare security.

Verification

  • node --test plugins/compliance/tests/*.test.mjs -> 4/4 pass
  • bash .github/scripts/sync-versions.sh -> all manifests in sync
  • python3 .github/scripts/validate_plugins.py -> all plugins validated
  • python3 .github/scripts/antigravity.py validate -> validation passed
  • python3 .github/scripts/validate_providers.py -> claude and codex load cleanly
  • npm run build --prefix site -> 188 pages built, 49 plugin and 127 skill pages verified

Add the compliance plugin with modular HTTP, repo hygiene, dependency
vulnerability, Dockerfile, and privacy policy checks plus documentation,
unit tests, marketplace registration, SEO metadata, and repo-local
ultralytics-dev disable config.

Code review fixes applied:
- Reuse git ls-files inventory for dependency scanning and tracked env files
- Reject empty or metadata-free npm audit JSON as WARN rather than false pass
- Cancel unread sensitive-path HTTP response bodies and trim header values
- Tighten privacy human-access matching beyond bare security mentions

Verification:
- node --test plugins/compliance/tests/*.test.mjs (4/4 pass)
- bash .github/scripts/sync-versions.sh (all manifests in sync)
- python3 .github/scripts/validate_plugins.py (all plugins validated)
- python3 .github/scripts/antigravity.py validate (validation passed)
- python3 .github/scripts/validate_providers.py (claude and codex load cleanly)
- npm run build --prefix site (188 pages built, 49 plugin and 127 skill pages verified)

verification: node compliance tests 4/4 pass, sync-versions and plugin/antigravity/provider validators pass, site build 188 pages verified
@fcakyon
fcakyon merged commit 05c32dc into main Nov 22, 2026
4 checks passed
@fcakyon
fcakyon deleted the feat/compliance-plugin branch November 22, 2026 14:14
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