# 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.
  - Can two readers identify the same obligation? [Contribute evidence](https://github.com/seikika/seikika/issues/new?title=Evidence+review+%C2%B7+Semgrep+%C2%B7+Definition&body=Practice%3A+semgrep%0ACriterion%3A+definition+%28rubric+v1%29%0ACan+two+readers+identify+the+same+obligation%3F%0A%0APublished+judgment%3A+unknown%0ANo+reviewed+evidence+is+recorded+for+this+dimension.%0A%0AProposed+judgment+and+rationale%3A%0A%0APublic+source+or+reproduction+%28include+version%2C+inputs+and+observed+result%29%3A)
- **Measurement** (verified) — The scan command can emit JSON or SARIF with findings per rule and source location. Reviewed 2026-11-28. [Cited 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. [Cited 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. [Cited source](https://semgrep.dev/docs/cli-reference)
- **Getting started** (unknown) — No reviewed evidence is recorded for this dimension.
  - Can a newcomer complete a first run? [Contribute evidence](https://github.com/seikika/seikika/issues/new?title=Evidence+review+%C2%B7+Semgrep+%C2%B7+Getting+started&body=Practice%3A+semgrep%0ACriterion%3A+firstRun+%28rubric+v1%29%0ACan+a+newcomer+complete+a+first+run%3F%0A%0APublished+judgment%3A+unknown%0ANo+reviewed+evidence+is+recorded+for+this+dimension.%0A%0AProposed+judgment+and+rationale%3A%0A%0APublic+source+or+reproduction+%28include+version%2C+inputs+and+observed+result%29%3A)
- **Real-world adoption** (unknown) — No reviewed evidence is recorded for this dimension.
  - Has another team put it to work? [Contribute evidence](https://github.com/seikika/seikika/issues/new?title=Evidence+review+%C2%B7+Semgrep+%C2%B7+Real-world+adoption&body=Practice%3A+semgrep%0ACriterion%3A+adoption+%28rubric+v1%29%0AHas+another+team+put+it+to+work%3F%0A%0APublished+judgment%3A+unknown%0ANo+reviewed+evidence+is+recorded+for+this+dimension.%0A%0AProposed+judgment+and+rationale%3A%0A%0APublic+source+or+reproduction+%28include+version%2C+inputs+and+observed+result%29%3A)
- **Agent guidance** (unknown) — No reviewed evidence is recorded for this dimension.
  - Can an agent act on a specific finding? [Contribute evidence](https://github.com/seikika/seikika/issues/new?title=Evidence+review+%C2%B7+Semgrep+%C2%B7+Agent+guidance&body=Practice%3A+semgrep%0ACriterion%3A+guidance+%28rubric+v1%29%0ACan+an+agent+act+on+a+specific+finding%3F%0A%0APublished+judgment%3A+unknown%0ANo+reviewed+evidence+is+recorded+for+this+dimension.%0A%0AProposed+judgment+and+rationale%3A%0A%0APublic+source+or+reproduction+%28include+version%2C+inputs+and+observed+result%29%3A)
- **Agent portability** (unknown) — No reviewed evidence is recorded for this dimension.
  - Does the practice work in two agent harnesses? [Contribute evidence](https://github.com/seikika/seikika/issues/new?title=Evidence+review+%C2%B7+Semgrep+%C2%B7+Agent+portability&body=Practice%3A+semgrep%0ACriterion%3A+portability+%28rubric+v1%29%0ADoes+the+practice+work+in+two+agent+harnesses%3F%0A%0APublished+judgment%3A+unknown%0ANo+reviewed+evidence+is+recorded+for+this+dimension.%0A%0AProposed+judgment+and+rationale%3A%0A%0APublic+source+or+reproduction+%28include+version%2C+inputs+and+observed+result%29%3A)

## 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)
