{"id":41844594,"url":"https://github.com/g-wilson/action-semgrep","last_synced_at":"2026-01-25T09:42:51.791Z","repository":{"id":43483800,"uuid":"298289237","full_name":"g-wilson/action-semgrep","owner":"g-wilson","description":"reviewdog action for semgrep - lightweight static analysis for many languages with rules that look like source code.","archived":false,"fork":false,"pushed_at":"2022-10-31T10:10:15.000Z","size":20,"stargazers_count":2,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-09T18:06:53.722Z","etag":null,"topics":["reviewdog","semgrep"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/g-wilson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-09-24T13:34:52.000Z","updated_at":"2023-06-22T02:31:36.000Z","dependencies_parsed_at":"2023-01-04T12:26:11.383Z","dependency_job_id":null,"html_url":"https://github.com/g-wilson/action-semgrep","commit_stats":{"total_commits":17,"total_committers":3,"mean_commits":5.666666666666667,"dds":"0.11764705882352944","last_synced_commit":"17b8bb7e7e42395cac39548fe732df3a816351bc"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":"reviewdog/action-template","purl":"pkg:github/g-wilson/action-semgrep","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g-wilson%2Faction-semgrep","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g-wilson%2Faction-semgrep/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g-wilson%2Faction-semgrep/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g-wilson%2Faction-semgrep/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/g-wilson","download_url":"https://codeload.github.com/g-wilson/action-semgrep/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/g-wilson%2Faction-semgrep/sbom","scorecard":{"id":415818,"data":{"date":"2025-08-11","repo":{"name":"github.com/g-wilson/action-semgrep","commit":"17b8bb7e7e42395cac39548fe732df3a816351bc"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":1,"reason":"Found 2/17 approved changesets -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/depup.yml:1","Warn: no topLevel permission defined: .github/workflows/dockerimage.yml:1","Warn: no topLevel permission defined: .github/workflows/release.yml:1","Warn: no topLevel permission defined: .github/workflows/reviewdog.yml:1","Warn: no topLevel permission defined: .github/workflows/test.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/depup.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/g-wilson/action-semgrep/depup.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/depup.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/g-wilson/action-semgrep/depup.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/depup.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/g-wilson/action-semgrep/depup.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dockerimage.yml:11: update your workflow using https://app.stepsecurity.io/secureworkflow/g-wilson/action-semgrep/dockerimage.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/g-wilson/action-semgrep/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/g-wilson/action-semgrep/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/g-wilson/action-semgrep/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/g-wilson/action-semgrep/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:27: update your workflow using https://app.stepsecurity.io/secureworkflow/g-wilson/action-semgrep/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/g-wilson/action-semgrep/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:41: update your workflow using https://app.stepsecurity.io/secureworkflow/g-wilson/action-semgrep/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/reviewdog.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/g-wilson/action-semgrep/reviewdog.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/reviewdog.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/g-wilson/action-semgrep/reviewdog.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/reviewdog.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/g-wilson/action-semgrep/reviewdog.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/reviewdog.yml:29: update your workflow using https://app.stepsecurity.io/secureworkflow/g-wilson/action-semgrep/reviewdog.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/reviewdog.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/g-wilson/action-semgrep/reviewdog.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/reviewdog.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/g-wilson/action-semgrep/reviewdog.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/reviewdog.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/g-wilson/action-semgrep/reviewdog.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/reviewdog.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/g-wilson/action-semgrep/reviewdog.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/reviewdog.yml:58: update your workflow using https://app.stepsecurity.io/secureworkflow/g-wilson/action-semgrep/reviewdog.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/reviewdog.yml:59: update your workflow using https://app.stepsecurity.io/secureworkflow/g-wilson/action-semgrep/reviewdog.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:12: update your workflow using https://app.stepsecurity.io/secureworkflow/g-wilson/action-semgrep/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/g-wilson/action-semgrep/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:37: update your workflow using https://app.stepsecurity.io/secureworkflow/g-wilson/action-semgrep/test.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:51: update your workflow using https://app.stepsecurity.io/secureworkflow/g-wilson/action-semgrep/test.yml/master?enable=pin","Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating alpine:3.14 to alpine:3.14@sha256:0f2d5c38dd7a4f4f733e688e3a6733cb5ab1ac6e3cb4603a5dd564e5bfb80eed","Warn: downloadThenRun not pinned by hash: Dockerfile:10","Warn: pipCommand not pinned by hash: Dockerfile:12","Info:   0 out of  13 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of  12 third-party GitHubAction dependencies pinned","Info:   0 out of   1 containerImage dependencies pinned","Info:   0 out of   1 downloadThenRun dependencies pinned","Info:   0 out of   1 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 2 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T23:50:00.063Z","repository_id":43483800,"created_at":"2025-08-18T23:50:00.063Z","updated_at":"2025-08-18T23:50:00.063Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28750900,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T09:00:19.176Z","status":"ssl_error","status_checked_at":"2026-01-25T09:00:04.131Z","response_time":113,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["reviewdog","semgrep"],"created_at":"2026-01-25T09:42:51.079Z","updated_at":"2026-01-25T09:42:51.778Z","avatar_url":"https://github.com/g-wilson.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# action-semgrep\n\n[![Test](https://github.com/g-wilson/action-semgrep/workflows/Test/badge.svg)](https://github.com/g-wilson/action-semgrep/actions?query=workflow%3ATest)\n[![reviewdog](https://github.com/g-wilson/action-semgrep/workflows/reviewdog/badge.svg)](https://github.com/g-wilson/action-semgrep/actions?query=workflow%3Areviewdog)\n[![depup](https://github.com/g-wilson/action-semgrep/workflows/depup/badge.svg)](https://github.com/g-wilson/action-semgrep/actions?query=workflow%3Adepup)\n[![release](https://github.com/g-wilson/action-semgrep/workflows/release/badge.svg)](https://github.com/g-wilson/action-semgrep/actions?query=workflow%3Arelease)\n[![GitHub release (latest SemVer)](https://img.shields.io/github/v/release/g-wilson/action-semgrep?logo=github\u0026sort=semver)](https://github.com/g-wilson/action-semgrep/releases)\n[![action-bumpr supported](https://img.shields.io/badge/bumpr-supported-ff69b4?logo=github\u0026link=https://github.com/haya14busa/action-bumpr)](https://github.com/haya14busa/action-bumpr)\n\n[reviewdog](https://github.com/reviewdog/reviewdog) action for [semgrep](https://github.com/returntocorp/semgrep) - lightweight static analysis for many languages with rules that look like source code.\n\n## Usage\n\n```yaml\nname: reviewdog-semgrep\non: [pull_request]\njobs:\n  # TODO: change `linter_name`.\n  linter_name:\n    name: runner / \u003clinter_name\u003e\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: g-wilson/action-semgrep@v1\n        with:\n          github_token: ${{ secrets.github_token }}\n          # Change reviewdog reporter if you need [github-pr-check,github-check,github-pr-review].\n          reporter: github-pr-review\n          # Change reporter level if you need. GitHub Status Check won't become failure with warning.\n          level: warning\n          # Change filter mode if you need [added,diff_context,file,nofilter].\n          filter_mode: file\n          # Semgrep config string (URL, path to file, or policy)\n          semgrep_config: p/gosec\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg-wilson%2Faction-semgrep","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fg-wilson%2Faction-semgrep","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fg-wilson%2Faction-semgrep/lists"}