Scan with code
What leavesyour machine
The CLI scans on your computer. When a folder is linked to your dashboard, it uploads findings — never your code. The server rejects any upload with a field not listed below.
- In force Contract scanlyfix.code-evidence.v1
- 3 clauses
Never uploaded
| Your source code | No field can hold a file: every string is length-capped and unknown fields reject the whole upload. |
|---|---|
| Secrets in the clear | Every string is checked for live key shapes (Stripe, OpenAI, Anthropic, AWS, GitHub, Google, Slack, private keys, JWTs); an unmasked one rejects the upload. |
| .env values | A leaked server-only variable is reported by its name. Its value never leaves the function that compared it. |
| Cookie and storage values | The runtime pass reports cookie names and flags and storage key names only. |
| Absolute paths | Locations are project-relative; the folder itself is identified by a sha256 hash of its path. |
| Your app login | Saved by app-login under .scanlyfix/auth/ (mode 0600, git-ignored) and used only on your machine. |
When anything is sent
| scanlyfix.com | Only for a folder linked to a project (--link from the project page, or --project). --no-upload never contacts it. |
|---|---|
| OSV.dev, npm registry | Package names and versions, to check for known vulnerabilities and fake packages. --offline turns both off. |
| Your app on localhost | Only with --runtime or --url, and only localhost or a private network address. |
| Telemetry | Off unless you run scanlyfix telemetry on: rule ids and counts, versions, OS family. feedback --fp shows its payload before sending. |
Every field an upload may contain (107)
| version | constant · scanlyfix.code-evidence.v1 |
|---|---|
| scanId | string |
| meta | object |
| meta.cli | object |
| meta.cli.version | string · ≤ 50 chars |
| meta.cli.os | enum · one of: darwin, linux, win32, other |
| meta.cli.node | string · ≤ 30 chars |
| meta.git | object | null |
| meta.git.commitSha | string | null |
| meta.git.branch | string | null · ≤ 255 chars |
| meta.git.dirty | boolean |
| meta.rootHash | string |
| meta.generatedAt | string |
| inventory | object |
| inventory.packageManager | enum · one of: npm, pnpm, yarn, bun, unknown |
| inventory.workspaces | array · ≤ 100 items |
| inventory.workspaces[] | object |
| inventory.workspaces[].path | string · ≤ 500 chars |
| inventory.workspaces[].frameworks | array · ≤ 20 items |
| inventory.workspaces[].frameworks[] | string · ≤ 60 chars |
| inventory.processors | array · ≤ 100 items |
| inventory.processors[] | object |
| inventory.processors[].id | string · ≤ 60 chars |
| inventory.processors[].name | string · ≤ 100 chars |
| inventory.processors[].locations | array · ≤ 20 items |
| inventory.processors[].locations[] | string · ≤ 500 chars |
| inventory.pii | array · ≤ 500 items |
| inventory.pii[] | object |
| inventory.pii[].kind | enum · one of: email, phone, name, address, dob, government_id, payment, location, ip, other |
| inventory.pii[].location | string · ≤ 500 chars |
| findings | array · ≤ 5000 items |
| findings[] | object |
| findings[].checkId | string · ≤ 120 chars |
| findings[].category | enum · one of: deps, secrets, code, infra, supply, license, access, privacy, ai |
| findings[].severity | enum · one of: critical, high, medium, low, info |
| findings[].certainty | enum · one of: observed, needs_review |
| findings[].source | enum · one of: code, build, git, deps, runtime |
| findings[].title | string · ≤ 200 chars |
| findings[].description | string · ≤ 2000 chars |
| findings[].remediation | string · ≤ 4000 chars |
| findings[].fixPrompt | string · ≤ 8000 chars |
| findings[].location | string | null · ≤ 500 chars |
| findings[].workspace | string | null · ≤ 500 chars |
| findings[].pkgName | string | null · ≤ 214 chars |
| findings[].pkgVersion | string | null · ≤ 100 chars |
| findings[].isDev | boolean |
| findings[].evidence | object |
| findings[].evidence.<key> | one of several (optional) |
| findings[].evidence.<key>[] | string · ≤ 300 chars |
| runtime | object (optional) |
| runtime.baseUrl | string · ≤ 500 chars |
| runtime.profiles | array · ≤ 60 items |
| runtime.profiles[] | object |
| runtime.profiles[].route | string · ≤ 500 chars |
| runtime.profiles[].consentMode | enum · one of: none, accepted, declined |
| runtime.profiles[].authenticated | boolean |
| runtime.profiles[].status | integer | null · ≤ 599 |
| runtime.profiles[].cookies | array · ≤ 300 items |
| runtime.profiles[].cookies[] | object |
| runtime.profiles[].cookies[].name | string · ≤ 256 chars |
| runtime.profiles[].cookies[].domain | string · ≤ 255 chars |
| runtime.profiles[].cookies[].path | string · ≤ 500 chars |
| runtime.profiles[].cookies[].secure | boolean |
| runtime.profiles[].cookies[].httpOnly | boolean |
| runtime.profiles[].cookies[].sameSite | enum · one of: Strict, Lax, None |
| runtime.profiles[].cookies[].session | boolean |
| runtime.profiles[].cookies[].firstParty | boolean |
| runtime.profiles[].storageKeys | array · ≤ 300 items |
| runtime.profiles[].storageKeys[] | object |
| runtime.profiles[].storageKeys[].area | enum · one of: local, session |
| runtime.profiles[].storageKeys[].key | string · ≤ 256 chars |
| runtime.profiles[].thirdPartyDomains | array · ≤ 300 items |
| runtime.profiles[].thirdPartyDomains[] | string · ≤ 255 chars |
| runtime.profiles[].trackerDomains | array · ≤ 300 items |
| runtime.profiles[].trackerDomains[] | string · ≤ 255 chars |
| runtime.profiles[].securityHeaders | object |
| runtime.profiles[].securityHeaders.<key> | string | null (optional) · ≤ 4000 chars |
| policies | array (optional) · ≤ 10 items |
| policies[] | object |
| policies[].url | string · ≤ 500 chars |
| policies[].type | enum · one of: privacy, cookie, terms, unknown |
| policies[].source | enum · one of: rendered, fetched |
| policies[].text | string · ≤ 24000 chars |
| policies[].looksLikePolicy | boolean |
| scope | object (optional) |
| scope.notRun | array · ≤ 500 items |
| scope.notRun[] | string · ≤ 160 chars |
| scope.suppressed | array · ≤ 5000 items |
| scope.suppressed[] | object |
| scope.suppressed[].fingerprint | string |
| scope.suppressed[].checkId | string · ≤ 120 chars |
| scope.suppressed[].via | enum · one of: baseline, inline |
| scope.suppressed[].reason | string · ≤ 300 chars |
| diagnostics | object |
| diagnostics.filesScanned | integer · ≤ 9007199254740991 |
| diagnostics.filesSkipped | array · ≤ 1000 items |
| diagnostics.filesSkipped[] | object |
| diagnostics.filesSkipped[].path | string · ≤ 500 chars |
| diagnostics.filesSkipped[].reason | enum · one of: too_large, binary, ignored, unreadable |
| diagnostics.checks | array · ≤ 1000 items |
| diagnostics.checks[] | object |
| diagnostics.checks[].checkId | string · ≤ 120 chars |
| diagnostics.checks[].status | enum · one of: ok, passed, failed, skipped |
| diagnostics.checks[].reason | string (optional) · ≤ 300 chars |
| diagnostics.warnings | array · ≤ 200 items |
| diagnostics.warnings[] | string · ≤ 500 chars |
| diagnostics.durationMs | integer · ≤ 9007199254740991 |
Read the rules
it checks
Every check the CLI runs, with why it matters and how to fix it.
ScanlyFix
Security, privacy pages, SEO and AI visibility checked in one scan, with fixes your AI editor can apply.
Home