• Rules
  • Rulesets
  • Authors
  • Tags
  1. Home
  2. /
  3. Rules

gitlab.bar

go
unknown
Download Count*
MIT
License

Function bar detected

Run Locally

Run in CI

Semgrep CI docs

Defintion

Edit RuleView Source
Open in Playground
rules:
  - id: bar
    patterns:
      - pattern: func bar() {...}
    message: |
      Function bar detected
    metadata:
      cwe: "CWE-200: Exposure of Sensitive Information to an Unauthorized Actor"
      license: MIT
    severity: ERROR
    languages:
      - go
Short Link: https://sg.run/gB8J
Created with ❤️ by r2c