December 2026 Summaries

1 posts from Semgrep

Filter
Month: Year:
Post Summaries Back to Blog
The article presents a lengthy agent prompt for configuring Semgrep Guardian to fit a repository, test its rules, and verify that the Guardian hook runs. It describes combining Guardian’s default rules with organization-wide custom rules and repository-specific developer rules informed by security helpers, team conventions, existing findings, and confidential bug bounty or penetration-test reports. The proposed workflow profiles the codebase, checks for existing coverage, drafts and validates rules against sample and repository code, reports false positives and known gaps, and waits for approval before making changes. It also tests the installed hook using temporary files, while aiming to keep changes out of CI and pull-request scans and to protect sensitive report details. The author illustrates the process with OWASP Juice Shop and argues that this preparation can make Guardian more relevant to a codebase, while acknowledging limits such as flows across files that rule validation may miss.
Dec 03, 2026 4,999 words in the original blog post.