{"slug": "shard-every-finding-says-how-far-it-is-proven", "title": "Shard: Every Finding Says How Far It Is Proven", "summary": "Lucent has launched Shard in private preview, a GitHub code scanner that grades every finding by how far it is proven — Lead, Reviewed, or Verified: reproduced — and charges €0.10 per Shard Token with no seats or subscription. In a test run, Shard read pre-fix Starlette code, identified CVE-2023-29159, a path traversal in StaticFiles' use of os.path.commonprefix, and wrote the same one-line fix to os.path.commonpath that the maintainers shipped, with Starlette's own static-files tests passing offline. Shard's GitHub app has read-only access, works on a temporary copy of the repository that is deleted when the scan ends, and lets coding agents read findings over MCP; checking a proposed fix against a project's own tests is planned, not yet available.", "body_md": "The posts on this blog so far are Lucent research on other people's code. This post is about Shard, the product, which you point at your own repository.\n\n**TL;DR:** Shard reads your GitHub repository and flags each flaw with its file, line and reason. Every finding carries a grade for how far it is proven. You pay per scan in Shard Tokens, with no seats and no subscription. It is in private preview; [request early access](https://blog.attacks.ai/shard).\n\n## A finding you can't check is noise\n\nRead any public thread about code scanners and the first complaint is false positives. Alerts nobody can rank get muted.\n\nShard's answer is a grade on every finding, so you know which ones to read first:\n\n| Grade | What it means | When | \n|---|---|---|\n| **Lead** | Shard flagged it, with its file, line and reason. Nothing has checked it yet. | Every scan | \n| **Reviewed** | Shard read it a second time, without the first reasoning, and it held up. | Paid scans | \n| **Verified: reproduced** | A test case triggered the flaw in a sandbox, and the same case on clean code did not. | On some findings of a paid scan, in preview | \n\nThe second look is Shard rereading its own finding. The same reader rereads each lead without the reasoning that raised it, and marks it upheld, challenged or undecided. A Reviewed finding held up under that second read. The scan says which leads got no second look.\n\n## The Starlette run\n\nStarlette's `StaticFiles` checked that a requested file sat inside the static folder like this:\n\n```\n- if os.path.commonprefix([full_path, directory]) != directory:\n+ if os.path.commonpath([full_path, directory]) != directory:\n```\n\n`commonprefix` compares the two paths character by character, not folder by folder. A folder named like the static one plus a few letters passes the check, so its files can be served. That is CVE-2023-29159, a path traversal.\n\nShard read Starlette's code from before the fix, found this published bug and wrote the same one-line fix the maintainers shipped. Starlette's own static-files tests passed on it in Shard's contained fix check, run offline.\n\nThat run replayed a known CVE on old code. On your repository, a proposed fix is a diff you review; running your project's own tests on it is planned.\n\n## What Shard does with your code\n\n- **Read-only access.** Shard's GitHub app reads your code, its metadata and its pull requests. It has no write permission.\n- **A temporary copy.** Shard works on a temporary copy of your repository and deletes it when the scan ends.\n- **Only the findings stay:** the file and line of each finding and, while a proposed fix is in the app, its diff with a few lines around it.\n- **Public repositories show counts only,** so no flaw is published before it is fixed.\n- **\"No findings\" covers the part Shard read.** Every scan reports which part of your code it read.\n\n## Your coding agent reads the findings\n\nYour coding agent reads Shard's findings over MCP, with its own token. Shard's agent docs tell it what it may say about your code and what it may not. When a scan finds nothing, the agent says \"No findings in the scanned part.\" A token that may start scans needs approval from a person allowed to spend. Without that scope, an agent can only read.\n\n## What it costs\n\nYou pay in Shard Tokens, bought in advance. One Shard Token costs €0.10. There are no seats and no subscription. A scan uses Shard Tokens according to the size of your code and the scan type, shows its estimate before you spend, and stops at the cap you set. Today a proposed fix uses no Shard Tokens of its own.\n\n## Where it stands\n\nShard is in private preview and opens to the public at launch. Planned, and said as planned: checking a fix with your project's tests, a second GitHub app for fix pull requests on the repositories you choose, and scans with your own provider key. New accounts will get a welcome gift of Shard Tokens when scans open.\n\nIf you ship code without a security team, [request early access](https://blog.attacks.ai/shard) and we'll write when scans open.", "url": "https://wpnews.pro/news/shard-every-finding-says-how-far-it-is-proven", "canonical_source": "https://blog.attacks.ai/introducing-shard", "published_at": "2026-12-06 00:00:00+00:00", "updated_at": "2026-12-06 18:45:43.957352+00:00", "lang": "en", "topics": ["ai-tools", "ai-agents", "agent-protocols", "developer-tools", "ai-safety"], "entities": ["Shard", "Lucent", "Starlette", "GitHub", "CVE-2023-29159", "MCP"], "also_reported_by": [], "takeaway": "Shard grades each finding as Lead, Reviewed or Verified: reproduced, and in its Starlette run it matched CVE-2023-29159's one-line os.path.commonprefix to os.path.commonpath fix, which passed Starlette's own static-files tests offline.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/shard-every-finding-says-how-far-it-is-proven", "markdown": "https://wpnews.pro/news/shard-every-finding-says-how-far-it-is-proven.md", "text": "https://wpnews.pro/news/shard-every-finding-says-how-far-it-is-proven.txt", "jsonld": "https://wpnews.pro/news/shard-every-finding-says-how-far-it-is-proven.jsonld"}}