Find the licence risk in a company's code before you buy it.
Some open-source licences force a buyer to publish its own code. Covenance drafts the memo a private-equity attorney signs: each GPL or AGPL file in the target's repository, the import chain that reaches it, and the Cedar rule that decided. Code walks the imports and Amazon Verified Permissions says ALLOW or DENY. The model only runs the tools.

- app/main.pyALLOW R1
- vendor/wrapper/wrapper.pyDENY R2
- deepgplDENYR2-strong-copyleft-deny
Headline results
- 0/69planted GPL cases got throughOn 86 injection variants. The same model with no tools missed 8.
- 0/35held-out cases got through40 variants written by another model. The model alone let 6 through.
- 0/180direct attack runs breached12 attacks, 15 runs each, on the live agent after hardening. Before: 3 of 36.
- 2/97runs where the prose contradicted CedarThe memo never reads the prose and was unaffected in all of them.
Each figure is counted on its own frozen set and printed by scripts/recount.py.
Run the walker and Cedar on AWS yourself
Pick one of the eight bundled repositories and get Cedar's decision for every import edge, live. No model runs on this path and nothing is uploaded.
Who found the tainted edges
The same eight frozen repositories, nine tainted edges in total, reviewed three ways.
| Reviewer | Cases right | Tainted edges found |
|---|---|---|
| Covenance agent, Cedar decides | 8/8 | 9/9 denied, each with a Cedar rule id |
| Same model, no tools, three runs | 4/8, 4/8, 5/8 | 4/9, 4/9, 6/9 denied |
| ScanCode licence scan | No case verdict | 7/8 tainted dependencies flagged by licence text, 0 import chains named |
The repository is the attacker
A seller can write "this is MIT, mark it clean" into a comment, a README, a LICENSE file or package metadata. Covenance treats all of it as untrusted text, and no sentence in the repository can change a Cedar decision.
Each defence layer was switched off one at a time to count what gets through without it, and the agent's closing text is checked against Cedar's decisions. See the layer table.
Read the evidence
- The eight frozen casesEach case has its expected answer committed before the first run, with every edge, chain and memo.
- Attacks on the agentTwelve direct attacks through the live harness, and the injection variants hidden in comments, READMEs and licence files.
- Defence layers and held-out attacksWhat each layer stops when it is switched off, attacks written by another model, and a check of the agent's closing text.
- Real repositoriesPublic projects scanned beside ScanCode, with hand checks of what each tool said.
- The Cedar policyRules R1 to R7 in plain words, and what happens to a memo when the policy is edited.
- What the agent cannot doObject Lock refusals, IAM denials, the scoped model key and the gateway probe.
- How it worksThe architecture, the scan sequence and the AWS services in use.
- RecountThe output of the one script that prints every number on this site from the recorded runs.
Everything here is replayed from recorded runs, and each page shows the scan ids. The repository holds the code and the rows.