Inspiration

Every JavaScript project is a haunted house. The average package.json pins dependencies nobody has looked at in years: packages deprecated by their own authors, releases with known CVEs, libraries that haven't shipped a commit since before some of your teammates graduated. Tools like npm audit output a wall of text that nobody reads and nobody remembers.

We wanted the audit you can't forget. Dependency Graveyard wears a costume — literally the theme of the Costume Contest — dressing a serious dependency-health analyzer as a haunted graveyard. Every dependency becomes a creature, and the creature tells you what's wrong before you read a single word.

What it does

Paste a package.json (or upload one, or point at any public GitHub repo, or click one of the bundled sample projects) and watch the graveyard fill in, grave by grave, as live data streams in:

  • 🧟 Zombies — packages deprecated on npm but still shuffling around your dependency tree, deprecation message and all.
  • 🧛 Vampires — pinned versions with real CVEs from OSV.dev; the coffin's size and menace follow the CVSS severity, computed from the actual vector string.
  • 🪦 Tombstones — no release in three years or more, engraved with the date of the last publish.
  • 👻 Ghosts — two or more major versions behind; the further behind, the more transparent.
  • 🏮 Lanterns — healthy packages, glowing warm.

A moon-phase gauge fills into a blood moon as the haunting score (0–100) rises, with verdicts from "Peaceful meadow" to "Abandon all hope". Every creature clicks open an autopsy report: weekly downloads, last publish date, exact CVE list with scores, deprecation message — and, when one exists, a resurrection ritual: the maintained drop-in replacement with a copyable npm install command.

The signature moment: hit Perform the ritual and the creature dissolves into light, a lantern rises where it stood, and the haunting score visibly drops. The Rituals tray collects every fix you've rehearsed — copy all the commands at once, or download the patched package.json with replacements actually swapped in (old package removed, replacement inserted, existing pins respected). Undo any ritual and the creature claws its way back.

Everything is shareable: the URL fragment encodes the scan, so a link reproduces the exact graveyard. Export the death certificate — a Markdown report of the dead — for your issue tracker. Mort, the gravedigger ghost, keeps you company in the header, digs graves during scans, and his lantern changes color with the score. Sound design is synthesized live with the Web Audio API: wind drones, a shovel thud per exhumed grave, a creak when the autopsy opens, a shimmer when a ritual succeeds — off by default, one click to enable.

No accounts, no backend, no API keys: the browser talks directly to the npm registry, the npm downloads API, OSV.dev, and raw.githubusercontent.com. It's a static site, so the demo stays up forever.

How we built it — with Kiro

This project is unapologetically Kiro-built, end to end:

  • Spec-driven development. Before any UI code existed, we drove Kiro through a full spec in .kiro/specs/dependency-graveyard/: a 433-line requirements.md with acceptance criteria, a 484-line design.md with typed interfaces, the exact scoring formula, error model, and 13 correctness properties, and a tasks.md implementation plan with ~60 checkboxed sub-tasks that Kiro executed and ticked off as it went.
  • Steering documents. .kiro/steering/ holds four docs that shaped every generation: the product taxonomy (exact creature thresholds and display priority), the tech constraints (pure framework-free core, injected fetchers), the repo structure, and a full haunted design system (color tokens, motion rules, reduced-motion behavior) file-matched to src/ui/**.
  • Custom agents. .kiro/agents/gravedigger.json is a write-capable implementer with a post-write hook that runs npm run typecheck after every file write, catching type errors within seconds of their creation. .kiro/agents/coroner.json is a read-only reviewer. Both validated with kiro-cli agent validate.
  • Property-based testing. fast-check properties encode the spec's correctness properties — classification ordering, score bounds and monotonicity, share-codec round trips. fast-check found two real counterexamples in our own spec (a calendar-year edge case in the tombstone threshold, and a too-strong monotonicity claim), which we corrected in design.md — the spec and the code evolved together. 191 tests pass.
  • Kiro hooks. The typecheck-on-write hook meant the red never accumulated: every task ended green.
  • MCP server. The project ships its own Kiro MCP server (mcp/) exposing exhume_dependencies and autopsy tools over the same pure core, so you can scan a package.json from inside any Kiro conversation.

The architecture the spec enforced paid off: a pure TypeScript core (semver, parsing, classification, scoring, rituals, reporting) with zero DOM or React imports, injected fetchers for total testability, and a React/UI layer that only renders what the core decides.

Challenges

  • OSV's data is messier than its schema. Batch responses sometimes return bare advisory IDs with no severity, and severities hide inside CVSS vector strings. We implemented a full CVSS 3.x base-score calculator, layered GitHub's qualitative labels on top, and hydrate bare IDs with detail lookups under bounded concurrency.
  • Making "what-if" honest. A ritual must never fake improvement: upgrading a package that's already at its latest version is a no-op, so the button hides; replacing request with got must actually remove request from the downloaded manifest, respect existing pins elsewhere in the file, and never copy a local file: fixture path into the output.
  • 150+ creatures without visual chaos. Depth-row layout with diminishing scale, wrapping, and scroll, plus a filter-chip system keyed to the score gauge.
  • Security of the export paths. Manifest data is attacker-controlled, so package names are validated against npm's rules before they can reach a copyable shell command, and publisher-controlled text is Markdown-escaped in exported certificates.

Accomplishments we're proud of

  • The resurrection ritual is genuinely novel: a what-if remediation simulator with an animated payoff, one-click copy of every fix, and a downloadable patched manifest — not another read-only audit dashboard.
  • Real sound design and real animation in a dev tool, both rare in hackathon entries: synthesized wind, digging, creaks and chimes, creature-level motion, all honoring prefers-reduced-motion.
  • Zero-setup judging: the live demo needs nothing but a browser, and three bundled sample projects produce every creature kind from live data in one click.
  • The spec-driven Kiro workflow produced property-test-covered core logic we trust — including catching two of our own spec bugs before users could.

What we learned

Spec-first development changes what AI-generated code looks like: the correctness properties in design.md became fast-check tests almost mechanically, and the classification/separation rules in steering docs meant the core stayed pure enough to reuse verbatim in the MCP server. We also learned more than we ever wanted about the CVSS specification, npm packument structure, and the exact semantics of dependencies vs devDependencies duplication.

What's next

  • requirements.txt and go.mod graveyards — the core is ecosystem-agnostic by design.
  • An npx CLI emitting the death certificate in CI, with a score threshold that fails the build.
  • Graveyard history: watch your score rise and fall commit by commit.
  • A GitHub Action that comments on PRs with the creatures you're about to adopt.

Built with

Kiro (spec-driven development, steering, custom agents, hooks, MCP) · Vite · React 18 · TypeScript strict · Vitest · fast-check · Web Audio API · hand-written SVG/CSS · npm registry API · npm downloads API · OSV.dev · GitHub raw content API

Built With

Share this project:

Updates

Submission history