What problem does it solve?
AI-generated code frequently contains non-existent package imports, fictional API calls, and plausible fake package names that attackers register for supply chain attacks, leading to runtime failures, security breaches, and costly post-deployment fixes.
Core Features & Use Cases
- Registry Verification: Confirms every import exists on official package registries (npm, PyPI, Maven Central, NuGet, Cargo, Go modules) and checks for trusted provenance signatures.
- API Accuracy Validation: Verifies function names, method signatures, and import paths match the actual library version to catch deprecated, renamed, or fictional calls.
- Slopsquatting Risk Detection: Flags plausible hallucinated package names that attackers often register within hours of being suggested by LLMs, per 2026 supply chain threat research.
- Use Case: When a developer uses AI to generate a payment processing module, this Skill catches hallucinated imports like 'stripe-checkout-pro' and incorrect Stripe API method signatures before code is merged, preventing runtime errors and supply chain compromises.
Quick Start
Run a full hallucination check on the AI-generated code in your project's src directory to verify all imports and API calls are valid and safe to merge.