Skip to content
Back to skills

Sast

ASecurity

确定性 semgrep 静态扫描(SAST)+ 结构化报告。零 LLM 零成本,规则命中即事实。Trigger:/sast、静态扫描、semgrep、扫一下代码。

  • 44 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 9, 2026
ai-agentsbashsecurity

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned November 9, 2026

npx -y skills add AbyssCN/oh-my-dag --skill sast --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sast?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Sast
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/abysscn-sast/badge)](https://www.skillsdirectory.com/skills/abysscn-sast)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: sast
description: 确定性 semgrep 静态扫描(SAST)+ 结构化报告。零 LLM 零成本,规则命中即事实。Trigger:/sast、静态扫描、semgrep、扫一下代码。
---

# /sast — semgrep 静态扫描

对应 pi TUI 的 `/sast`。确定性工具,直接 Bash 跑 semgrep(装了才可用;没装提示 `pip install semgrep` 或 brew):

```bash
semgrep scan --config auto --json --quiet <目标路径> 2>/dev/null
```

- 解析 JSON 输出,按严重度分组转述:`file:line` + 规则 id + 一句话问题 + 修复方向;
- 零命中就说零命中,不要脑补;规则误报常见——对高严重度命中读代码确认真实可达再定性;
- 与 /security-review 互补:sast 是规则事实(便宜、确定),security-review 是语义审查(贵、覆盖设计层)。先 sast 后 security-review 是省钱顺序。

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.