Skip to content

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

Rejected by the server even if a CLI tried
Your source codeNo field can hold a file: every string is length-capped and unknown fields reject the whole upload.
Secrets in the clearEvery string is checked for live key shapes (Stripe, OpenAI, Anthropic, AWS, GitHub, Google, Slack, private keys, JWTs); an unmasked one rejects the upload.
.env valuesA leaked server-only variable is reported by its name. Its value never leaves the function that compared it.
Cookie and storage valuesThe runtime pass reports cookie names and flags and storage key names only.
Absolute pathsLocations are project-relative; the folder itself is identified by a sha256 hash of its path.
Your app loginSaved by app-login under .scanlyfix/auth/ (mode 0600, git-ignored) and used only on your machine.

When anything is sent

Network calls
scanlyfix.comOnly for a folder linked to a project (--link from the project page, or --project). --no-upload never contacts it.
OSV.dev, npm registryPackage names and versions, to check for known vulnerabilities and fake packages. --offline turns both off.
Your app on localhostOnly with --runtime or --url, and only localhost or a private network address.
TelemetryOff 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)

Generated from the schema the server enforces
versionconstant · scanlyfix.code-evidence.v1
scanIdstring
metaobject
meta.cliobject
meta.cli.versionstring · ≤ 50 chars
meta.cli.osenum · one of: darwin, linux, win32, other
meta.cli.nodestring · ≤ 30 chars
meta.gitobject | null
meta.git.commitShastring | null
meta.git.branchstring | null · ≤ 255 chars
meta.git.dirtyboolean
meta.rootHashstring
meta.generatedAtstring
inventoryobject
inventory.packageManagerenum · one of: npm, pnpm, yarn, bun, unknown
inventory.workspacesarray · ≤ 100 items
inventory.workspaces[]object
inventory.workspaces[].pathstring · ≤ 500 chars
inventory.workspaces[].frameworksarray · ≤ 20 items
inventory.workspaces[].frameworks[]string · ≤ 60 chars
inventory.processorsarray · ≤ 100 items
inventory.processors[]object
inventory.processors[].idstring · ≤ 60 chars
inventory.processors[].namestring · ≤ 100 chars
inventory.processors[].locationsarray · ≤ 20 items
inventory.processors[].locations[]string · ≤ 500 chars
inventory.piiarray · ≤ 500 items
inventory.pii[]object
inventory.pii[].kindenum · one of: email, phone, name, address, dob, government_id, payment, location, ip, other
inventory.pii[].locationstring · ≤ 500 chars
findingsarray · ≤ 5000 items
findings[]object
findings[].checkIdstring · ≤ 120 chars
findings[].categoryenum · one of: deps, secrets, code, infra, supply, license, access, privacy, ai
findings[].severityenum · one of: critical, high, medium, low, info
findings[].certaintyenum · one of: observed, needs_review
findings[].sourceenum · one of: code, build, git, deps, runtime
findings[].titlestring · ≤ 200 chars
findings[].descriptionstring · ≤ 2000 chars
findings[].remediationstring · ≤ 4000 chars
findings[].fixPromptstring · ≤ 8000 chars
findings[].locationstring | null · ≤ 500 chars
findings[].workspacestring | null · ≤ 500 chars
findings[].pkgNamestring | null · ≤ 214 chars
findings[].pkgVersionstring | null · ≤ 100 chars
findings[].isDevboolean
findings[].evidenceobject
findings[].evidence.<key>one of several (optional)
findings[].evidence.<key>[]string · ≤ 300 chars
runtimeobject (optional)
runtime.baseUrlstring · ≤ 500 chars
runtime.profilesarray · ≤ 60 items
runtime.profiles[]object
runtime.profiles[].routestring · ≤ 500 chars
runtime.profiles[].consentModeenum · one of: none, accepted, declined
runtime.profiles[].authenticatedboolean
runtime.profiles[].statusinteger | null · ≤ 599
runtime.profiles[].cookiesarray · ≤ 300 items
runtime.profiles[].cookies[]object
runtime.profiles[].cookies[].namestring · ≤ 256 chars
runtime.profiles[].cookies[].domainstring · ≤ 255 chars
runtime.profiles[].cookies[].pathstring · ≤ 500 chars
runtime.profiles[].cookies[].secureboolean
runtime.profiles[].cookies[].httpOnlyboolean
runtime.profiles[].cookies[].sameSiteenum · one of: Strict, Lax, None
runtime.profiles[].cookies[].sessionboolean
runtime.profiles[].cookies[].firstPartyboolean
runtime.profiles[].storageKeysarray · ≤ 300 items
runtime.profiles[].storageKeys[]object
runtime.profiles[].storageKeys[].areaenum · one of: local, session
runtime.profiles[].storageKeys[].keystring · ≤ 256 chars
runtime.profiles[].thirdPartyDomainsarray · ≤ 300 items
runtime.profiles[].thirdPartyDomains[]string · ≤ 255 chars
runtime.profiles[].trackerDomainsarray · ≤ 300 items
runtime.profiles[].trackerDomains[]string · ≤ 255 chars
runtime.profiles[].securityHeadersobject
runtime.profiles[].securityHeaders.<key>string | null (optional) · ≤ 4000 chars
policiesarray (optional) · ≤ 10 items
policies[]object
policies[].urlstring · ≤ 500 chars
policies[].typeenum · one of: privacy, cookie, terms, unknown
policies[].sourceenum · one of: rendered, fetched
policies[].textstring · ≤ 24000 chars
policies[].looksLikePolicyboolean
scopeobject (optional)
scope.notRunarray · ≤ 500 items
scope.notRun[]string · ≤ 160 chars
scope.suppressedarray · ≤ 5000 items
scope.suppressed[]object
scope.suppressed[].fingerprintstring
scope.suppressed[].checkIdstring · ≤ 120 chars
scope.suppressed[].viaenum · one of: baseline, inline
scope.suppressed[].reasonstring · ≤ 300 chars
diagnosticsobject
diagnostics.filesScannedinteger · ≤ 9007199254740991
diagnostics.filesSkippedarray · ≤ 1000 items
diagnostics.filesSkipped[]object
diagnostics.filesSkipped[].pathstring · ≤ 500 chars
diagnostics.filesSkipped[].reasonenum · one of: too_large, binary, ignored, unreadable
diagnostics.checksarray · ≤ 1000 items
diagnostics.checks[]object
diagnostics.checks[].checkIdstring · ≤ 120 chars
diagnostics.checks[].statusenum · one of: ok, passed, failed, skipped
diagnostics.checks[].reasonstring (optional) · ≤ 300 chars
diagnostics.warningsarray · ≤ 200 items
diagnostics.warnings[]string · ≤ 500 chars
diagnostics.durationMsinteger · ≤ 9007199254740991

Read the rules
it checks

Every check the CLI runs, with why it matters and how to fix it.