# Semgrep

Track structural findings and suppressions

Scan with a versioned rule set and retain the rule ID, source location and suppression status. Review any increase in ignored findings alongside active findings.

Category: Security
Languages: Multiple languages

## Standard evidence

Rubric v1 · 3/8 verified · 5 unknown · 0 contrary · reviewed 2026-11-28

- **Definition** (unknown) — No reviewed evidence is recorded for this dimension.
- **Measurement** (verified) — The scan command can emit JSON or SARIF with findings per rule and source location. Reviewed 2026-11-28. [Source](https://semgrep.dev/docs/cli-reference)
- **Conformance** (verified) — Semgrep's rule-test runner compares positive and negative source annotations against actual matches. This tests an authored rule on its associated fixtures. Reviewed 2026-11-28. [Source](https://semgrep.dev/docs/writing-rules/testing-rules)
- **CI enforcement** (verified) — For a local policy check in CI, semgrep scan --error exits 1 for findings. The default scan does not fail on findings. Reviewed 2026-11-28. [Source](https://semgrep.dev/docs/cli-reference)
- **Getting started** (unknown) — No reviewed evidence is recorded for this dimension.
- **Real-world adoption** (unknown) — No reviewed evidence is recorded for this dimension.
- **Agent guidance** (unknown) — No reviewed evidence is recorded for this dimension.
- **Agent portability** (unknown) — No reviewed evidence is recorded for this dimension.

## Adoption

Use Semgrep in this repository to meet this standard: Track structural findings and suppressions. Scan with a versioned rule set and retain the rule ID, source location and suppression status. Review any increase in ignored findings alongside active findings. Inspect the repository configuration, record the baseline and exact reproduction steps, then add the smallest repeatable check that detects a regression.

### Seikika package

[semgrep (Seikika kit)](https://github.com/seikika/seikika/tree/89eb0a2fcd2ffe67151df43f2a062ebc8a1e497c/packages/semgrep)

Add github:seikika/seikika/packages/semgrep@89eb0a2fcd2ffe67151df43f2a062ebc8a1e497c to the include list in .seikika/seikika.yaml. Set the config parameter to a reviewed repository rule file or directory. Run seikika install .seikika from the checkout root.

## References

- [Tool documentation](https://semgrep.dev/docs/)
- [Agent skill](/skills/semgrep/SKILL.md)
