Phantom Dependency π» β Local AI Codebase Auditor for Forgotten & Haunted Packages
ΠΠΏΠΈΡΠ°Π½ΠΈΠ΅ ΠΈ ΠΏΡΠΈΠΌΠ΅Π½Π΅Π½ΠΈΠ΅
Phantom Dependency β Π»ΠΎΠΊΠ°Π»ΡΠ½ΡΠΉ ΠΈΠ½ΡΡΡΡΠΌΠ΅Π½Ρ Π°ΡΠ΄ΠΈΡΠ° Π·Π°Π²ΠΈΡΠΈΠΌΠΎΡΡΠ΅ΠΉ Π΄Π»Ρ JavaScript/TypeScript, ΠΈΡΠΏΠΎΠ»ΡΠ·ΡΡΡΠΈΠΉ ΠΌΠΎΠ΄Π΅Π»Ρ Gemmaβ―3β―1B ΡΠ΅ΡΠ΅Π· Ollama. ΠΠ½ ΠΊΠ»Π°ΡΡΠΈΡΠΈΡΠΈΡΡΠ΅Ρ ΠΏΠ°ΠΊΠ΅ΡΡ ΠΊΠ°ΠΊ Β«RestingΒ», Β«AgingΒ», Β«WhisperingΒ» ΠΈΠ»ΠΈ Β«HauntedΒ» Π½Π° ΠΎΡΠ½ΠΎΠ²Π΅ ΡΡΠ°ΡΠΈΡΠ΅ΡΠΊΠΎΠ³ΠΎ Π°Π½Π°Π»ΠΈΠ·Π° ΠΈΠΌΠΏΠΎΡΡΠΎΠ², lockfileβΠ²Π΅ΡΡΠΈΠΉ ΠΈ Π±Π°Π· Π΄Π°Π½Π½ΡΡ OSV/GHSA, Π²ΡΠ΄Π°Π²Π°Ρ ΠΏΠΎΠ΄ΡΠΎΠ±Π½ΡΠΉ ΠΎΡΡΡΡ Π±Π΅Π· ΠΏΠ΅ΡΠ΅Π΄Π°ΡΠΈ ΠΊΠΎΠ΄Π° Π²Π½Π΅ΡΠ½ΠΈΠΌ ΡΠ΅ΡΠ²ΠΈΡΠ°ΠΌ.
ΠΠ°Π΄Π°ΡΠ°
JavaScript/TypeScript projects often contain outdated, unused, or vulnerable dependencies that remain in package manifests, creating technical debt and security risks.
Π Π΅Π·ΡΠ»ΡΡΠ°Ρ
The tool identifies unused or vulnerable packages, provides evidence-backed classifications, and generates a local forensic report, enabling developers to clean up technical debt without exposing code to external services.
Π Π°Π±ΠΎΡΠΈΠΉ ΠΏΡΠΎΡΠ΅ΡΡ
- 1. Run the local CLI or web UI to scan the repository.
- 2. Backend parses .js/.ts/.vue/.svelte files to build an import inventory.
- 3. Lockfile resolver extracts exact versions from npm, pnpm, or yarn files.
- 4. Structured prompt with evidence is sent to local Gemmaβ―3β―1B via Ollama.
- 5. AI generates a JSON report classifying each dependency and flags vulnerabilities.
- 6. Frontend visualizes the Graveyard with filters and export options.
ΠΠΎΠΊΠ°Π·Π°ΡΠ΅Π»ΡΡΡΠ²Π°
Phantom Dependency is an open-source, local-first dependency investigation tool for JavaScript and TypeScript codebases.
Never label a package abandoned, malicious, or vulnerable without verifiable evidence.
Powered by Ollama and Google's lightweight gemma3:1b model.
If Ollama is offline or uninstalled, the tool automatically degrades to deterministic, rule-based templates so developer workflows are never blocked.
- ΠΠ°ΡΠ° Π·Π°ΠΏΠΈΡΠΈ: 2026-11-01T06:44:05.583Z