slopsquat_scanner__scan_pip
Scans Python dependency files against PyPI to flag nonexistent package names (possible LLM hallucinations) and dependencies first published recently, helping detect slopsquatting risks.
Instructions
Check every dependency declared in requirements.txt or pyproject.toml against the real PyPI registry -- flags any package name that doesn't exist at all (a likely LLM-hallucinated dependency an attacker may have pre-registered), and separately notes any that exist but were only first published very recently.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| directory | Yes | Path to the directory containing requirements.txt or pyproject.toml |