# Shard: Every Finding Says How Far It Is Proven

> Source: <https://blog.attacks.ai/introducing-shard>
> Published: 2026-12-06 00:00:00+00:00

**Key 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.

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.

**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).

## A finding you can't check is noise

Read any public thread about code scanners and the first complaint is false positives. Alerts nobody can rank get muted.

Shard's answer is a grade on every finding, so you know which ones to read first:

| Grade | What it means | When | 
|---|---|---|
| **Lead** | Shard flagged it, with its file, line and reason. Nothing has checked it yet. | Every scan | 
| **Reviewed** | Shard read it a second time, without the first reasoning, and it held up. | Paid scans | 
| **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 | 

The 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.

## The Starlette run

Starlette's `StaticFiles` checked that a requested file sat inside the static folder like this:

```
- if os.path.commonprefix([full_path, directory]) != directory:
+ if os.path.commonpath([full_path, directory]) != directory:
```

`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.

Shard 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.

That 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.

## What Shard does with your code

- **Read-only access.** Shard's GitHub app reads your code, its metadata and its pull requests. It has no write permission.
- **A temporary copy.** Shard works on a temporary copy of your repository and deletes it when the scan ends.
- **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.
- **Public repositories show counts only,** so no flaw is published before it is fixed.
- **"No findings" covers the part Shard read.** Every scan reports which part of your code it read.

## Your coding agent reads the findings

Your 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.

## What it costs

You 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.

## Where it stands

Shard 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.

If you ship code without a security team, [request early access](https://blog.attacks.ai/shard) and we'll write when scans open.
