mcp-server-semgrep
Version:
MCP Server for Semgrep Integration - static code analysis with AI
17 lines • 416 B
YAML
rules:
- id: detect-pytorch
languages:
- python
severity: INFO
message: "Possibly found usage of AI tooling: PyTorch"
pattern-either:
- pattern: import torch
- pattern: torch.$FUNC(...)
metadata:
references:
- https://semgrep.dev/blog/2024/detecting-shadow-ai
category: maintainability
technology:
- genAI
- LLMs
confidence: LOW