| name | security-audit |
| description | Use when auth, env, secrets, fail-closed behavior, or sensitive API routes make a Hushhtech PR risky to patch or merge. |
Hushhtech Security Audit Skill
Purpose and Trigger
- Primary scope:
security-audit-intake
- Trigger on auth correctness, env wiring, secret handling, fail-closed behavior, and sensitive API route risk during PR review.
- Avoid overlap with
repo-operations, repo-context, and broad product implementation.
Coverage and Ownership
- Role:
owner
- Owner family:
security-audit
Owned repo surfaces:
src/auth
src/resources/config
api/delete-account-service.js
api/delete-account.js
api/public-investor-profile.js
api/send-email-notification.js
api/gemini-ephemeral-token.js
api/google-wallet-pass.js
api/wallet-pass.js
docs/HUSHH_TECH_SECRET_RUNBOOK.md
docs/OPEN_SOURCE_SECRET_AUDIT.md
docs/HUSHH_TECH_SECURITY_AUDIT.md
Non-owned surfaces:
repo-operations
oss-contribution-triage
frontend
backend
Do Use
- Deciding whether maintainer patching is unsafe.
- Reviewing auth/session, env contract, and secret exposure risk.
- Escalating risky PRs into
Request changes or Discard/close.
Do Not Use
- Generic CI lane debugging.
- Routine docs or UI review without security implications.
- Broad repo orientation.
Read First
SECURITY.md
docs/HUSHH_TECH_SECRET_RUNBOOK.md
docs/OPEN_SOURCE_SECRET_AUDIT.md
docs/HUSHH_TECH_SECURITY_AUDIT.md
scripts/ci/check-env-contract.mjs
Workflow
- Identify whether the PR changes auth correctness, secret handling, env contract, or privileged data access.
- Fail closed on maintainer patching when the risk is not obviously small and local.
- Route safe bounded follow-up only after the risk surface is clearly contained.
Handoff Rules
- Route final PR bucket selection back to
oss-contribution-triage.
- Route check-surface trust to
repo-operations.
- Route proof selection to
quality-contracts.
- Route bounded frontend or backend fixes only after the security boundary is deemed safe.
Required Checks
npm run env:check
npm run security:gitleaks
npm run security:audit
npm run test -- tests/communityApiRoute.test.ts tests/communityGcpRuntime.test.ts
npm run verify:sensitive-nda-gate -- --target=uat