skills/mukul975/anthropic-cybersecurity-skills/detecting-typosquatting-packages-in-npm-pypi/Gen Agent Trust Hub
detecting-typosquatting-packages-in-npm-pypi
Pass
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: SAFE
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from public package registries (npm and PyPI) to analyze package metadata for suspicious signals.
- Ingestion points: Remote metadata is retrieved in
scripts/agent.pyviaquery_pypi_packageandquery_npm_packagefunctions. - Boundary markers: The skill does not implement explicit boundary markers or delimiters for the ingested metadata.
- Capability inventory: The skill performs network GET requests to well-known registry domains, reads local dependency files (e.g., package.json, requirements.txt), and writes analysis reports to the local filesystem.
- Sanitization: External data is parsed as structured JSON and used strictly for heuristic scoring and comparison logic, minimizing the surface for instruction injection.
- [DATA_EXFILTRATION]: The skill communicates with legitimate, well-known services including
pypi.org,npmjs.org, andpypistats.orgto retrieve package information and download statistics. These network operations are essential for the skill's stated purpose of supply chain security auditing and do not target unauthorized or suspicious domains.
Audit Metadata