Description
Integrate Semgrep as a static application security testing (SAST) tool to catch security vulnerabilities, anti-patterns, and dangerous code patterns in the OpenScan codebase.
Part of the Quality Tooling Rollout (#369).
Tasks
Motivation
Biome handles code style but doesn't cover security patterns. Semgrep catches:
- Hardcoded secrets and API keys
- SQL injection, XSS vectors
- Insecure crypto patterns (relevant for a blockchain explorer)
- Dependency supply-chain risks (via Semgrep Supply Chain)
Notes
- Start with error level only in CI to avoid noise, then expand.
- Consider running on a schedule (nightly) in addition to PR triggers for supply chain checks.
Description
Integrate Semgrep as a static application security testing (SAST) tool to catch security vulnerabilities, anti-patterns, and dangerous code patterns in the OpenScan codebase.
Part of the Quality Tooling Rollout (#369).
Tasks
Motivation
Biome handles code style but doesn't cover security patterns. Semgrep catches:
Notes