AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary
Python ai-promptsai-skillblueskyclaudeclaude-codeclawhubdeep-researchhackernewsinstagramopenclawpolymarketrecencyredditresearchsocial-mediatiktoktrendstwitterweb-searchyoutube
fix: drop unused SAST security-events permission
Trevin Chow9a9d735ef978
diff --git a/.github/workflows/security.yml b/.github/workflows/security.ymlindex 382855e3..afd93f5d 100644--- a/.github/workflows/security.yml+++ b/.github/workflows/security.yml@@ -54,7 +54,6 @@ jobs:runs-on: ubuntu-latestpermissions:contents: read- security-events: writecontainer:image: semgrep/semgrep@sha256:06938c1f365d3f67b8cedd8bc117607ae64253f88a0e768e9da9408548927dd6 # v1.167.0steps:diff --git a/tests/test_security_workflow.py b/tests/test_security_workflow.pyindex a9663ab0..bebb4080 100644--- a/tests/test_security_workflow.py+++ b/tests/test_security_workflow.py@@ -42,6 +42,20 @@ def test_security_workflow_runs_secret_scan_for_pull_requests_and_main_pushes()assert "path: ./" not in secret_scan_job+def test_security_workflow_runs_sast_without_unused_code_scanning_permission() -> None:+ text = _workflow_text()+ sast_job = text.split("sast-scan:", 1)[1]++ assert "semgrep/semgrep@sha256:" in sast_job+ assert "semgrep scan --config=auto" in sast_job+ assert "SEMGREP_SEND_METRICS: off" in sast_job+ assert "continue-on-error: true" in sast_job+ assert "contents: read" in sast_job+ assert "security-events: write" not in sast_job+ assert "--sarif" not in sast_job+ assert "upload-sarif" not in sast_job++def test_agent_guidance_mentions_secret_hygiene() -> None:text = AGENTS.read_text(encoding="utf-8")