Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .github/aw/actions-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -274,11 +274,6 @@
"image": "python:alpine",
"digest": "sha256:26730869004e2b9c4b9ad09cab8625e81d256d1ce97e72df5520e806b1709f92",
"pinned_image": "python:alpine@sha256:26730869004e2b9c4b9ad09cab8625e81d256d1ce97e72df5520e806b1709f92"
},
"semgrep/semgrep:latest": {
"image": "semgrep/semgrep:latest",
"digest": "sha256:bdf7013b2c3634a487671158da77c554f531742326b543a9464d2adf6c433ac8",
"pinned_image": "semgrep/semgrep:latest@sha256:bdf7013b2c3634a487671158da77c554f531742326b543a9464d2adf6c433ac8"
}
}
}
49 changes: 7 additions & 42 deletions .github/workflows/daily-semgrep-scan.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion .github/workflows/daily-semgrep-scan.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ imports:
- shared/security-analysis-base.md
- shared/mcp/semgrep.md
- shared/otlp.md
# SECURITY: Daily schedule disabled — semgrep/semgrep has Critical/High CVEs with no upstream fix (issue #49520).
# Re-enable schedule when a patched semgrep image is available and the container definition in shared/mcp/semgrep.md is restored.
on:
schedule: daily
workflow_dispatch:
timeout-minutes: 30
permissions:
Expand Down
22 changes: 4 additions & 18 deletions .github/workflows/shared/mcp/semgrep.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
---
# Semgrep MCP Server
# Container-based MCP server for static analysis and security scanning
# SECURITY: semgrep/semgrep has Critical/High CVEs with no upstream fix available (issue #49520).
# The container definition has been removed until a patched image is published upstream.
# To re-enable, restore the mcp-servers block and update the pinned digest in actions-lock.json.
#
# Documentation: https://semgrep.dev/
# MCP Server: https://github.com/semgrep/semgrep
# Docker Image: https://hub.docker.com/r/semgrep/semgrep
#
# Available tools:
# Available tools (when enabled):
# - semgrep_rule_schema: Get the schema for writing Semgrep rules
# - get_supported_languages: List languages supported by Semgrep
# - semgrep_scan: Scan code files for security vulnerabilities and bugs
Expand All @@ -17,22 +19,6 @@
# Usage:
# imports:
# - shared/mcp/semgrep.md

mcp-servers:
semgrep:
container: "semgrep/semgrep"
version: "latest"
entrypointArgs: ["semgrep", "mcp", "-t", "stdio"]
env:
SEMGREP_SEND_METRICS: "off"
# Security decision (2026-05-19): explicit Semgrep tool allowlist (no wildcard).
allowed:
- semgrep_rule_schema
- get_supported_languages
- semgrep_scan
- semgrep_scan_local
- semgrep_scan_with_custom_rule
- semgrep_findings
---

<!--
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/smoke-checkout-pr-dispatch.lock.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 0 additions & 5 deletions pkg/actionpins/data/action_pins.json
Original file line number Diff line number Diff line change
Expand Up @@ -274,11 +274,6 @@
"image": "python:alpine",
"digest": "sha256:26730869004e2b9c4b9ad09cab8625e81d256d1ce97e72df5520e806b1709f92",
"pinned_image": "python:alpine@sha256:26730869004e2b9c4b9ad09cab8625e81d256d1ce97e72df5520e806b1709f92"
},
"semgrep/semgrep:latest": {
"image": "semgrep/semgrep:latest",
"digest": "sha256:bdf7013b2c3634a487671158da77c554f531742326b543a9464d2adf6c433ac8",
"pinned_image": "semgrep/semgrep:latest@sha256:bdf7013b2c3634a487671158da77c554f531742326b543a9464d2adf6c433ac8"
}
}
}
5 changes: 0 additions & 5 deletions pkg/workflow/data/action_pins.json
Original file line number Diff line number Diff line change
Expand Up @@ -274,11 +274,6 @@
"image": "python:alpine",
"digest": "sha256:26730869004e2b9c4b9ad09cab8625e81d256d1ce97e72df5520e806b1709f92",
"pinned_image": "python:alpine@sha256:26730869004e2b9c4b9ad09cab8625e81d256d1ce97e72df5520e806b1709f92"
},
"semgrep/semgrep:latest": {
"image": "semgrep/semgrep:latest",
"digest": "sha256:bdf7013b2c3634a487671158da77c554f531742326b543a9464d2adf6c433ac8",
"pinned_image": "semgrep/semgrep:latest@sha256:bdf7013b2c3634a487671158da77c554f531742326b543a9464d2adf6c433ac8"
}
}
}