Tool Platform
Workspace

Semgrep 规则 Playground

动态工具路由来自自动生成的 Tool Registry。

网络安全

Semgrep 规则 Playground

用轻量本地匹配预览 Semgrep YAML 规则、样例代码命中和规则元数据。

本地简单运行
运行方式
本地简单运行
标签
semgrepsastrulesecuritystatic-analysis
工具标识
semgrep-rule-playground
Worker
无需启用
权限
无需额外权限

使用指南

开始使用

编写 Semgrep 规则和测试代码,在浏览器中预览匹配结果。

使用步骤

  1. 在左侧编辑 Semgrep YAML 规则。
  2. 在右侧粘贴待匹配的代码。
  3. 查看匹配结果和规则元数据。

使用例子

  • 编写检测硬编码密钥的 Semgrep 规则。
  • 测试 SQL 注入检测规则的效果。

Loading

Semgrep 规则 Playground

工具组件加载中。