GS/BS
← Standards directory
Security

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.

Multiple languages

Community rubric · v1

The evidence

Evidence coverage3 / 8
3 supported · 5 unresolved

One point for each verified check. Unknown means we still need evidence. Contrary evidence records an observed result that goes against the criterion.

Latest evidence review ·

  • Definition

    Unknown

    No reviewed evidence is recorded for this dimension.

    Can two readers identify the same obligation? Contribute evidence ↗

  • Measurement

    Verified

    The scan command can emit JSON or SARIF with findings per rule and source location.

    Cited source ↗
  • 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.

    Cited source ↗
  • 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.

    Cited source ↗
  • Getting started

    Unknown

    No reviewed evidence is recorded for this dimension.

    Can a newcomer complete a first run? Contribute evidence ↗

  • Real-world adoption

    Unknown

    No reviewed evidence is recorded for this dimension.

    Has another team put it to work? Contribute evidence ↗

  • Agent guidance

    Unknown

    No reviewed evidence is recorded for this dimension.

    Can an agent act on a specific finding? Contribute evidence ↗

  • Agent portability

    Unknown

    No reviewed evidence is recorded for this dimension.

    Does the practice work in two agent harnesses? Contribute evidence ↗

Use this standard

Agent prompt

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.
Read the agent skill ↗

Optional Seikika integration

semgrep (Seikika kit) ↗

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.

Primary source

Semgrep documentation ↗