sast-scanner
Skill1 starsChanged 19 days agoMITView on GitHub
Runs Static Application Security Testing via Semgrep MCP (or Semgrep CLI / OWASP checklist fallback) in Phases 6-7, saving results to docs/tasks/logs/sast-[timestamp].log and blocking on HIGH or CRITICAL findings.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- AtulPurohit/Antigravity-Awesome-Skillstheir own version, first seen Nov 29, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- AtulPurohit/Antigravity-Awesome-Skills★ 6same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository40 other files it gives its agents.
- AGENTS.mdAGENTS.md
- platform-cliSkill
- platform-desktopSkill
- platform-mobileSkill
- platform-pluginSkill
- platform-webSkill
- agentic-security-guardSkill
- architecture-guardSkill
- artifact-analyzerSkill
- boundary-guardSkill
- code-quality-gateSkill
- cognitive-load-auditorSkill
- context-groundingSkill
- copy-auditSkill
- cost-estimatorSkill
- dast-scannerSkill
- database-architectSkill
- design-auditSkill
- design-system-generatorSkill
- design-system-integratorSkill
- environment-preflightSkill
- evidence-gated-blockingSkill
- human-in-the-loopSkill
- lessons-learnedSkill
- mcp-discoverySkill
- meta-judgeSkill
- ponytail-wrapperSkill
- prd-generatorSkill
- prompt-historySkill
- sca-secret-scannerSkill
- security-context-managerSkill
- security-gateSkill
- security-hardeningSkill
- snapshot-rollbackSkill
- stack-advisorSkill
- task-breakdownSkill
- tech-spec-writerSkill
- test-suite-auditorSkill
- ui-interaction-authoritySkill
- viewport-qaSkill
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
If Semgrep MCP is available, invoke semgrep_scan or scan_directory against all application source directories (for example src/, app/, …
- Very specific: line 17
If Semgrep MCP is unavailable, attempt to run the Semgrep CLI (semgrep scan --config auto).
- Very specific: line 18
If neither Semgrep MCP nor Semgrep CLI is installed in the environment, perform a systematic manual SAST review against …
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
SAST Scanner
Trigger
Phase 6 (Implementation) and Phase 7 (Audit).
Process
- Run Semgrep MCP (Preferred):
- If Semgrep MCP is available, invoke
semgrep_scanorscan_directoryagainst all application source directories (for examplesrc/,app/,cmd/,crates/,lib/) to detect OWASP Top 10 and CWE Top 25 vulnerabilities (SQL injection, XSS, path traversal, command injection, SSRF, insecure deserialization, broken crypto).
- If Semgrep MCP is available, invoke
- CLI & Manual Fallback:
- If Semgrep MCP is unavailable, attempt to run the Semgrep CLI (
semgrep scan --config auto). - If neither Semgrep MCP nor Semgrep CLI is installed in the environment, perform a systematic manual SAST review against
.agents/skills/security-hardening/references/owasp-checklist.mdand.agents/skills/security-hardening/references/secure-coding-rules.md, noting the fallback explicitly in the log.
- If Semgrep MCP is unavailable, attempt to run the Semgrep CLI (
- Save Scan Evidence:
- Save raw scan output and categorized findings to
docs/tasks/logs/sast-[timestamp].log.
- Save raw scan output and categorized findings to
- Block on HIGH/CRITICAL Findings:
- Block Phase 7 completion immediately if any
HIGHorCRITICALvulnerability is detected. Return to Phase 6, fix the issue, and re-run the SAST scan until zeroHIGH/CRITICALfindings remain.
- Block Phase 7 completion immediately if any
Output Contract
Raw scan log saved at docs/tasks/logs/sast-[timestamp].log showing zero unresolved HIGH or CRITICAL findings before Phase 7 can pass.
Checklist
- Source directories scanned with Semgrep MCP (
semgrep_scan/scan_directory), Semgrep CLI, or documented OWASP checklist fallback - Raw scan output saved to
docs/tasks/logs/sast-[timestamp].log - Zero unresolved
HIGHorCRITICALSAST findings remain
Prohibitions
- Marking Phase 7 complete without a saved SAST scan log.
- Suppressing, deleting, or ignoring
HIGHorCRITICALSAST findings without verified code fixes.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

