Skip to content
whisk
FeaturesExamplesGuidesDocsPricingStatus
Sign inStart free
whisk

Websites, shops, apps, portals and tools, built with AI. Run your own.

ProductFeaturesExamplesPricingUsage allowancesStatus
LearnDocsGuidesComparisonsLearnResearchSkill
CompanyAboutContactSecurity
LegalTermsAcceptable usePrivacyData processingTakedown
System statusPrices in US dollars.

Docs

  • Getting started
  • The rules
  • Manifest
  • Headers
  • Environment
  • Errors
  • Doctor rules
  • CLI reference

Files

  • SKILL.md
  • whisk.schema.json
  • graph.schema.json
  • webhook-presets.yaml
  1. Docs
  2. Doctor rules

Doctor rules

From doctor-rules.md, the same document your agent reads.

whisk doctor checks a repository against the conventions before anything is pushed. The manifest rules (W00x, W04x, W05x) also run in the git pre-receive hook, so a push cannot bypass them. Every finding has a stable rule ID, a level, a file and line where one applies, a message, and a fix. Errors exit 3; warnings exit 0.

Output shape, one entry per finding:

{"rule":"W030","level":"warning","file":"src/xero.ts","line":8,"message":"XERO_TENANT_ID is read from the environment but not declared.","fix":"Add XERO_TENANT_ID under secrets or env in whisk.yaml."}

whisk doctor --fix applies the fixes marked safe below and reports what it changed.

A warning reported at a line of code can be kept out of the report on purpose with a comment doctor: allow <rule> on that line or the line above it, saying why (// doctor: allow W093 the person asked for this mail service by name); one comment may name several rules (doctor: allow W140 W141 …). Doctor lists it under skipped instead. Errors cannot be allowed.

Detection is by convention, not by executing the app: string and pattern search over tracked files, per language. "Where detectable" means the check is skipped, not failed, when the language or framework is not one doctor understands. The idioms doctor recognises are listed under each rule so an agent can write code doctor will read correctly.

Code rules read the code the deployed app runs. A top-level folder is left out when the build never ships it (a Dockerfile that copies other folders only, or .dockerignore), or when its name says it is for working on the app (dev, tools, scripts, bin, examples, docs, bench, playground, sandbox, scratch, experiments, inactive, archive, old, unused, deprecated, disabled, legacy and the like) and nothing the deploy runs names or imports it: whisk.yaml, the Dockerfile, a Procfile, the package.json scripts a build and start run, and the app's own imports and paths written in its code.

W001

Level: error Check: whisk.yaml is missing from the repository root or does not parse as YAML. Fix: Run whisk init to write one, or fix the YAML syntax error at the line reported. Safe fix: no

Details: the file must be exactly whisk.yaml at the root. whisk.yml and nested copies are reported by name so the mistake is obvious. Doctor reads every file as text the way Windows tools write it too: a UTF-8 byte-order mark is dropped and UTF-16 with a byte-order mark (what Windows PowerShell's > writes) is read as the text it is. whisk.yaml itself must be UTF-8, which is what the platform reads: one saved as UTF-16 is reported with how to save it as UTF-8, and one that is not text at all is reported as such, not as missing.

W002

Level: error Check: whisk.yaml fails the schema for its conventions version or breaks a manifest rule. Fix: Fix each listed problem; whisk schema prints the schema with a description for every field. Safe fix: no

Details: one finding per problem, with the JSON path. Beyond the schema, the manifest rules are: every routes.challenge entry must also match routes.public; function names are unique; webhook names are unique; no name under secrets, env or build.secrets begins with WHISK_ or is one of PORT, DATABASE_URL, SENTRY_DSN, TZ; functions[].tz is a known IANA zone; functions[].cron has five fields with valid ranges; webhooks[].preset is a known preset, hmac or token. Unknown keys are reported as MANIFEST_UNKNOWN_KEY with the nearest known key.

W003

Level: error Check: name in whisk.yaml differs from the app slug in .whisk/app.json. Fix: Set name to the slug in .whisk/app.json, or run whisk use <org>/<app> to rebind the directory. Safe fix: no

Details: skipped when .whisk/app.json does not exist yet, because whisk init writes both. A name the platform takes for the app also passes when the platform can be asked: a slug the app had before it was renamed, and, for an app made from one of Whisk's products as the business's own code, the name the product's releases carry.

W004

Level: warning Check: a static folder in whisk.yaml holds no file the commit will carry. Fix: Commit the folder (take it out of .gitignore), or serve build output from the app instead of static; static files are read from the commit, not from the built image. Safe fix: no

Details: for each static[].dir, in a git repository at least one file under it must be tracked; outside one, at least one file under it must not be git-ignored. The message says whether the folder does not exist, is empty or ignored, or holds only files git does not track. Build output such as dist/ is normally git-ignored, so a static entry pointing into it fails the deploy with MANIFEST_INVALID naming the folder.

W005

Level: warning Check: health.timeout is set above 60 seconds and the app is neither alwayson nor promoted. Fix: Make the app answer its health check within 60 seconds (doctor W100 to W104 name the usual causes), or set alwayson: true so it never sleeps. Safe fix: no

Details: a deploy waits health.timeout seconds for the health check, but a wake waits 60 (NODE-AGENT.md §A8): an app that needs longer deploys, then fails every wake after it sleeps with WAKE_TIMEOUT. Only a timeout written in whisk.yaml is read; the default (90) is not reported, since most apps answer in a few seconds. An app with promoted: true runs only as a Promoted app, which never sleeps.

W006

Level: warning Check: .whisk/app.json is tracked by git and the remote whisk points at another app's repository than the one it binds. Fix: If the binding is right, run whisk use <org>/<app> to confirm it, which points the remote whisk at that app; otherwise run whisk use with the app this checkout pushes to. Safe fix: no

Details: a binding can arrive with the repository, while the remote whisk is what this machine cloned from or last deployed to, so a disagreement means the binding was not chosen here. The bound app's git_url comes from the platform, so the check runs only when the directory is bound, a token is available and a remote whisk exists; offline it is skipped. whisk deploy refuses the same disagreement with INVALID_REQUEST unless --org and --app name the target.

W010

Level: error Check: a tracked file contains a value matching a secret rule. Fix: Remove the value, declare a name under secrets, read it from the environment, and rotate the leaked value with the provider. Safe fix: no

Details: the same gitleaks rule set the pre-receive hook uses, so a repository that passes doctor passes the push. The finding names the rule, file and line; the value itself is never printed.

W011

Level: error Check: a .env or .env. file, or a file under .whisk/dev/, is tracked by git. Fix: Remove it from the index with git rm --cached (git rm -r --cached .whisk/dev for the folder) and add .env, .whisk/dev/ to .gitignore. Safe fix: yes, the .gitignore entries; the git rm is reported, not performed

Details: .env.example with no values is allowed when every line is NAME= or a comment. .whisk/dev/ is whisk dev's local folder; its secrets.env holds secret values. Outside a git repository a file counts as tracked when .gitignore does not exclude it. The fix adds every missing entry of .whisk/dev/, .env, .env.* and !.env.example.

W020

Level: warning Check: PORT is not read from the environment. Fix: Listen on the port in the PORT environment variable, on all interfaces. Safe fix: no

Details: idioms recognised. TypeScript and JavaScript: process.env.PORT, Bun.env.PORT, Deno.env.get("PORT"). Python: os.environ["PORT"], os.environ.get("PORT"), os.getenv("PORT"), and a uvicorn/gunicorn command in the Dockerfile that uses $PORT. Go: os.Getenv("PORT"), os.LookupEnv("PORT"). Any language: a helper whose name contains env called with the name as its first literal argument (env("PORT"), mustEnv("PORT")), a Dockerfile CMD or ENTRYPOINT that references $PORT, or a package.json script that does. A Next.js app (next in package.json) reads it itself, in next start and its standalone server.js. A literal 8080 with none of these is the warning; listening on 127.0.0.1 or localhost is a second finding on the same rule.

W021

Level: warning Check: the code writes files outside /tmp. Fix: Write temporary files under /tmp and durable files to storage. Safe fix: no

Details: idioms flagged. Paths ./data, ./uploads, ./tmp, ./cache, ./logs or ./db in a write call: fs.writeFile, fs.mkdir, open(..., "w"), os.WriteFile, os.MkdirAll, sqlite file paths. Writes under /tmp and reads of any path are fine.

W022

Level: warning Check: the health path is not found as a route in code. Fix: Add a route for the health path that returns 200 when the app can serve. Safe fix: yes, when a /health route exists in code: health.path in whisk.yaml is set to /health

Details: the string of health.path (default /health) must appear as a route literal: app.get("/health", @app.get("/health"), r.Get("/health", HandleFunc("/health", HandleFunc("GET /health", a plain node:http comparison (req.url === "/health", pathname == "/health", case "/health":), or a file-system route (app/health/route.ts, pages/api/health.ts, Medusa's src/api/health/route.ts). When the code declares no route in any of these forms (a route table held in an object, for instance) the check is skipped, and the skip names the route it could not confirm and the forms doctor reads.

W023

Level: warning Check: the app runs a timer or scheduler inside itself. Fix: Declare a function with cron in whisk.yaml and move the work into it; the platform runs it on schedule, once, whether the app is awake or not. Safe fix: no

Details: an app sleeps when idle and may run in more than one container, so a timer inside it stops when it sleeps and runs once per container while it is awake. Matched in server code. Code that runs in the browser is left out: a static folder, a public/ or client/ folder, a browser bundle's folder (one with a bundler configuration such as vite.config.ts, or an index.html that loads a script, or the root a top-level bundler configuration names), and a JavaScript file that says "use client" or uses document, window, localStorage or React's useEffect and useState. Matched: JavaScript setInterval( and imports of node-cron, cron, node-schedule, toad-scheduler, agenda, bree and croner; Python imports of apscheduler, schedule, crontab and rocketry, and threading.Timer(; Go imports of github.com/robfig/cron and github.com/go-co-op/gocron, and time.NewTicker( and time.Tick(. One finding per file, at its first match.

W024

Level: warning Check: the app keeps session state on the database connection: LISTEN, an advisory lock, or SET outside a transaction. Fix: Use the transaction forms (pgadvisoryxactlock, SET LOCAL inside the transaction) or an event to the app instead of LISTEN; DATABASEURL is a transaction pool. Safe fix: no

Details: the pooled connection hands each transaction whatever server connection is free, so state set on one is gone, or on someone else's, by the next statement. Matched in server code other than what runs on a connection that keeps it: migrations (a path containing migrat, or alembic/), and, when a Promoted app's worker says database: direct (CONTRACT.md §3.2), a path containing worker, job or queue or a file that worker's command names (src/listen.ts for node dist/listen.js). Matched: a string starting with LISTEN ; pg_advisory_lock(, pg_try_advisory_lock( and their _shared forms; and a string starting with SET (or SET SESSION) for search_path, role, statement_timeout, timezone, time zone, application_name, lock_timeout or a dotted custom setting. SET LOCAL and pg_advisory_xact_lock are fine and not matched. One finding per file, at its first match.

W030

Level: warning Check: an environment name is read in code but not declared in secrets, env or the platform set. Fix: Add the name under secrets (values a human sets) or env (plain configuration) in whisk.yaml. Safe fix: no

Details: reads recognised: process.env.NAME, process.env["NAME"], Bun.env.NAME, Deno.env.get("NAME"), os.environ["NAME"], os.environ.get("NAME"), os.getenv("NAME"), os.Getenv("NAME"), os.LookupEnv("NAME"), and a helper whose name contains env called with the name as its first literal argument (env("NAME"), mustEnv("NAME")). Test files (including fuzz targets under a fuzz/ folder) and vendored directories are not read. The platform set is every name in environment.md plus WHISK_* (reserved for the platform, so a key newer than the CLI is never reported), INNGEST_*, NODE_ENV, NEXT_RUNTIME (Next.js sets it), PYTHONPATH, HOME, PATH. Names read with a default value (?? "x", .get("NAME", "x")) are still reported, at the same level.

W031

Level: warning Check: a declared secret is never referenced in code. Fix: Remove the name from secrets, or read it where it is needed. Safe fix: no

Details: uses the same read idioms as W030, and also counts a secret as read when its name is a whole string literal anywhere in code ("HUBSPOT_API_KEY", 'HUBSPOT_API_KEY'), which covers reading secrets through a table of names (env[KEYS.hubspot]). A secret referenced only in webhooks[].secret or build.secrets is not unused.

W032

Level: warning Check: code reads a connection's secret from the environment, where it never arrives. Fix: Call the connection's address in WHISKCONNECTION<NAME>URL with the app's WHISKSERVICE_TOKEN in the Whisk-Service-Token header; Whisk's broker adds the key, so the app never needs it. Safe fix: no

Details: a connection's secrets are the names its recipe reads as secret.NAME (CONTRACT.md §3.1). Whisk's broker holds them and never delivers them to a container, so code that reads one gets nothing. Uses the same read idioms as W030 and reports each name once, at its first read; a name that only appears as a string literal is not reported. W030 does not report such a name, since the connection declares it.

W040

Level: error Check: a functions[].graph file is missing or does not validate against graph.schema.json. Fix: Create the graph file with one step per step name used in the function, or fix the listed problem. Safe fix: yes, a scaffold graph is written from the step names found in code when the file is missing

Details: the graph rules beyond the schema: step ids are unique; every next and every branch target names a step in the file or end; every step is reachable from the first step; a decision node (?) has at least two branches.

W041

Level: warning Check: a graph step id is not found as a string literal in code. Fix: Name the step in code exactly as the graph id, or remove the id from the graph. Safe fix: no

Details: decision nodes (ids ending ?) are exempt. A step of kind approval is satisfied by the id alone; the /request step the approval helper creates is not expected in the graph. The literal must appear in the file that defines the function or a file it imports; an id that only appears in a comment does not count. Strings are read as strings, so a cron such as "*/3 * * * *" or a glob such as "src/**" does not open a comment. A name built at runtime stands for the id when what is written before its first hole is the id (` send-orders-${id} , f"send-orders-{id}", fmt.Sprintf("send-orders-%d", id) for send-orders`) or the id fills its holes.

W042

Level: warning Check: a step name used in code is not present in the graph. Fix: Add the step to the graph where it runs, or rename it to a declared id. Safe fix: no

Details: step calls recognised: step.run("name", step.sleep("name", step.sleepUntil("name", step.waitForEvent("name", step.sendEvent("name", step.approval("name", and their Python (step.run("name", step.wait_for_event("name", step.send_event("name", step.sleep("name") and Go (step.Run(ctx, "name", step.WaitForEvent[...](ctx, "name", step.Sleep(ctx, "name", step.Send(ctx, "name") forms. Names ending /request are folded into the approval they belong to. A name built at runtime (a template literal with ${}) is not a literal and is not checked. A name found in a file that no declared function uses is reported once, naming the file.

W043

Level: warning Check: a function declared in whisk.yaml has no function with that id in code. Fix: Make the name under functions in whisk.yaml the id the code gives the function, or the reverse. Safe fix: no

Details: the platform registers each declared function by matching its name with the id the app's code serves; one that matches nothing is never registered, so its cron or event starts nothing (a deploy reports FUNCTIONS_NOT_REGISTERED). Ids read: JavaScript createFunction({ id: "<id>" ..., Python create_function(fn_id="<id>" ..., Go FunctionOpts{ID: "<id>" .... Skipped, with the forms it reads, when no id is found in code.

W050

Level: warning Check: a webhook handler path, or the inbox handler, is not found as a route in code. Fix: Add a POST route at the handler path, or change webhooks[].handler (or inbox.handler) to the route that exists. Safe fix: no

Details: same route idioms as W022, for POST. A route with parameters or built from a name counts for every path it matches: ` app.post(/hooks/${name}) , app.post("/hooks/" + name), app.post("/hooks/:name"), @router.post("/{name}"), r.Post("/{name}"), HandleFunc("POST /hooks/{name}"), alone or under a prefix the code mounts (app.route("/hooks", hooks), app.use("/hooks", …), APIRouter(prefix="/hooks"), r.Route("/hooks", …)`). A route that is only parameters counts only under a prefix.

W051

Level: error Check: a webhook secret is not listed under secrets. Fix: Add the name to secrets in whisk.yaml. Safe fix: yes

Details: token presets have no secret and are exempt.

W052

Level: warning Check: a webhook handler or the queue endpoint is listed under routes.public. Fix: Remove it from routes.public; the platform delivers to these routes itself and the edge refuses other callers. Safe fix: yes

Details: listing them does not open them, because the edge refuses internet requests to service routes regardless, but it signals a misunderstanding and is removed. The queue endpoint counts only when the app declares functions, so a Promoted app's ["/**"] passes when it has none.

W053

Level: warning Check: a webhook handler, or the inbox handler, does not verify the delivery through the template helper or X-Whisk-Delivery-Signature. Fix: Wrap the handler in the template's deliveries helper (deliveries.Handle in Go, deliveries.handle in TypeScript and Python), or verify X-Whisk-Delivery-Signature under WHISKDELIVERYKEY yourself before doing any work. Safe fix: no

Details: for each webhooks[].handler and inbox.handler, the file that registers the route (same route idioms as W050) must reference deliveries.Handle, deliveries.handle or the literal X-Whisk-Delivery-Signature. Without the check a handler trusts the network: any same-org app that can reach it could post a forged delivery. Skipped when no route for the handler is found (W050 reports that).

W060

Level: error Check: the Dockerfile runs as root, or neither exposes 8080 nor reads PORT. Fix: Add a USER instruction with a non-root user and either EXPOSE 8080 or a CMD that reads PORT. Safe fix: no

Details: the last USER instruction must be present and not root or 0. The platform starts containers as uid 65534 when no user is set, which breaks images whose files are owned by another user, so an explicit non-root USER is required. EXPOSE 8080 or $PORT in CMD or ENTRYPOINT satisfies the port half.

W061

Level: warning Check: no lockfile exists for the detected package manager. Fix: Generate one and commit it: package-lock.json, pnpm-lock.yaml, bun.lock, uv.lock, poetry.lock, requirements.txt with pins, or go.sum. Safe fix: no

Details: detection by manifest file: package.json expects one of the Node lockfiles, pyproject.toml one of the Python lockfiles or a pinned requirements.txt, go.mod expects go.sum. Without a lockfile builds are slow and not reproducible.

W062

Level: warning Check: the migrate command needs a shell or package manager the final image does not have. Fix: Write migrate as one plain command such as node dist/migrate.js, or base the Dockerfile's last stage on an image with a shell (for Node, FROM node:24-trixie-slim with USER node and CMD ["node", "dist/index.js"]). Safe fix: no

Details: an image without /bin/sh runs migrate split into words, so npm, npx, yarn, pnpm, bun, sh or bash as the first word, or shell syntax (&&, |, ;, <, >, $, backticks, *), fails at deploy with "not found". Images known to have no shell: scratch and gcr.io/distroless/* other than their :debug tags, as the last stage's FROM. The templates' Node image is distroless; an app that needs system programs (ffmpeg, ImageMagick, a browser) moves its last stage to node:24-trixie-slim and installs them with apt-get.

W063

Level: warning Check: a local lockfile, or the live app's image, has a critical or high package finding with a fix that the app's code may call (Business plan). Fix: Move the package to the fixed version or newer in the lockfile (an image package by moving to a newer base image), deploy, then whisk scan --now. Safe fix: no

Details: known only when the directory is bound to an app on a plan with package scanning (GET /apps/:app/packages, CONTROL-PLANE.md §6.28). Doctor sends the local lockfiles to POST /apps/:app/packages/check, so lockfile findings are about the files as they are now, before any deploy, and the list shrinks as the agent updates them. When that check cannot be made, the lockfile findings come from the app's newest scan instead, each left out once the local lockfile no longer holds that version (for package-lock.json, no node_modules/<package> entry at it; for other lockfiles, no line naming both), and the check's failure is listed as skipped. Image findings come from the newest scan, name the Dockerfile and stay until the next deploy is scanned. One finding per package version and place, with how many known vulnerabilities it has, the worst severity, one ID and the highest fixed version. A finding that call analysis found the live code does not call (reach: not_called) is left out; the check of the local lockfiles sees no code, so each of its findings takes the newest scan's answer for the same vulnerability (by any of its names) in the same package version and lockfile, and is otherwise reported. Nothing is reported on other plans.

W064

Level: warning Check: a build secret is not mounted by the Dockerfile. Fix: Mount it where the build needs it, for example RUN --mount=type=secret,id=NPMTOKEN,env=NPMTOKEN npm ci, or remove it from build.secrets. Safe fix: no

Details: build secrets reach the build only as BuildKit secret mounts, so a name in build.secrets that no --mount=type=secret in the Dockerfile names (id=<name> or env=<name>) is never seen by the build. Skipped without a Dockerfile: Railpack reads the build secrets itself.

W070

Level: warning Check: the repository's history is over 500 MB. Fix: Move media, downloads and other large files into the app's storage, then squash or clean up the history that holds them. Safe fix: no

Details: measured as the packed size of all tracked history (git count-objects), against the same 500 MB the platform warns at on a push (REPO_LARGE). No plan limits a repository's size: it counts towards the storage allowance. The five largest blobs are listed. Skipped when the directory is not a git repository yet.

W080

Level: warning Check: alwayson, customeridentity, storage, kv, email, inbox or flags needs a plan the org does not have. Fix: Ask an owner to upgrade, or remove the setting; the deploy will be refused otherwise. Safe fix: no

Details: known only when the directory is bound to an app, because the answer comes from /apps/:app/validate. Reported as a warning here and as an error at deploy, except kv: an app on a plan without it (the free app) deploys without a cache and without WHISK_KV_URL, unless it already had a cache, which it keeps. The push and the deploy's logs then carry the line whisk: W080 kv: the <plan> plan includes no key-value store, …; the fix is to remove kv from whisk.yaml or move to Starter or above. inbox is not refused either: an app on Free or Starter deploys with its inbox declared, every message to it is dropped as not_on_plan, and the push carries whisk: W080 inbox: the <plan> plan includes no inbox, …; the fix is to remove inbox from whisk.yaml or move to Team or above. Nor is flags: an app on Free deploys with its flags declared, no request carries X-Whisk-Flags, so every flag reads as off, and the push carries whisk: W080 flags: the <plan> plan includes no feature flags, …; the fix is to remove flags from whisk.yaml or move to Starter or above.

W090

Level: warning Check: the app renders its own password field. Fix: Remove the login form and read who is signed in from the X-Whisk-* headers; set customer_identity for the app's own users, and declare another system's password as a secret. Safe fix: no

Details: the platform signs people in before a request reaches the app, so an app that asks for a password is either rebuilding sign-in or collecting someone else's, and a page that asks for a password is what the abuse scan holds for review. Matched in code and in templates and markup (.html, .jinja, .ejs, .hbs, .njk, .svelte, .vue, .astro, .tmpl, .gohtml, .templ, .erb, .mustache): type="password" in any quoting or none, type: "password", .type = "password", and Python's PasswordField and PasswordInput. Tests and vendored folders are left out. One finding per file, at its first match. Skipped for a Promoted app, which may keep its own sign-in: known when the directory is bound to an app and /apps/:app/validate answers promoted: true, or when whisk.yaml says promoted: true, since such an app never goes live otherwise. Skipped too for a shop (whisk.yaml's commerce: medusa, as in the shop template, ownsignin.Shop), whose customers sign in to the shop on any plan.

W092

Level: warning Check: the app reads who the caller is from the Authorization header or a token it verifies itself. Fix: Read identity from the X-Whisk-* headers the platform sets (X-Whisk-User-Id, X-Whisk-Email, X-Whisk-Roles); call other apps with a service token and let the platform vouch for the caller. Safe fix: no

Details: the platform signs people in before a request reaches the app and strips any X-Whisk-* header from the internet, so its headers are the only identity it vouches for; an Authorization header or a token the app decodes is whatever the caller sent. Matched in server code: reading the incoming Authorization header (c.req.header("Authorization"), req.headers.authorization, request.headers.get("Authorization"), HTTP_AUTHORIZATION, r.Header.Get("Authorization")), and verifying a token (jwt.verify(, jwtVerify(, jwt.decode(, jwt.Parse(). Setting the header on an outgoing request is not matched. One finding per file, at its first match.

W093

Level: warning Check: the app uses an outside service for sign-in, email or a cache that Whisk already provides. Fix: Use the built-in instead (the platform's login, email: true, kv: true), unless the person asked for that service by name. Safe fix: no

Details: matched by import in server code. Sign-in: JavaScript @auth0/*, auth0, @clerk/*, next-auth, @auth/core, @supabase/auth-js, @supabase/auth-helpers-*, firebase/auth, lucia; Python auth0, clerk_backend_api, flask_login, allauth; Go github.com/clerk/*, github.com/auth0/*, github.com/markbates/goth. Email: JavaScript nodemailer, @sendgrid/mail, resend, mailgun.js, mailgun-js, postmark, @aws-sdk/client-ses; Python smtplib, sendgrid, resend, postmarker, mailgun; Go net/smtp, github.com/sendgrid/*, github.com/resend/*, github.com/wneessen/go-mail, gopkg.in/gomail.v2. Cache: @upstash/redis, @upstash/ratelimit, upstash_redis, github.com/upstash/*. One finding per library.

W094

Level: warning Check: the app has customer sign-in (customer_identity app or org) but its code never limits what a customer sees to the signed-in person. Fix: Store each record's owner from X-Whisk-User-Id and filter with the template helpers (scopeFor, canSee, canChange; skill §4, "Who may see and change what"), or compare X-Whisk-Audience with "customer" and filter by X-Whisk-User-Id yourself. Safe fix: no

Details: with customers signed in, every query an app runs for a customer must be limited to that customer's records, or one customer can read another's by changing an id. Doctor looks in server code for any sign that the app tells customers apart: a call to the template helpers (scopeFor(, canSee(, canChange(, scope_for(, can_see(, can_change(, ScopeFor(, .CanSee(, .CanChange() or a comparison of the audience with "customer" (=== "customer", == "customer", "customer" ==). With none of them, one finding is reported at customer_identity in whisk.yaml. Finding one does not prove every query is limited; the template's access tests and a test per kind of record do that.

W095

Level: warning Check: the app serves customers and a migration creates a table without row-level security. Fix: Give the table a policy in a migration (enable and force row level security, then the policy in SKILL.md §5) and query it through the template's dbFor; for a table no customer owns, such as a price list, add doctor: allow W095 with the reason on the line above the create. Safe fix: no

Details: runs when customer_identity is app or org. Tables are found in migrations: a create table (any case, if not exists, schema-qualified or quoted names) in a .sql file, and Alembic's op.create_table("name" in Python. A table is covered when any of them holds alter table … <name> force row level security, inside an op.execute string or not. Tests and vendored folders are left out. One finding per table, at its create.

W096

Level: warning Check: the app builds SQL by joining text instead of sending values as parameters. Fix: Send each value as a parameter: a tagged template (sql... ${x}), $1 placeholders with a values list, %s with a params tuple in Python, $1 with arguments in Go. Never put a value into the SQL text. Safe fix: no

Details: matched in server code outside migrations, only where the text is shaped like a statement (select … from, insert into, update … set, delete from), so ordinary sentences are not matched. JavaScript: an untagged template literal with ${…} passed to .unsafe(, .query(, .execute(, .raw(, .run(, .all(, .get( or .prepare(, or a statement string joined with + there; a tagged template (postgres.js, Drizzle's sql) sends parameters and is not matched. Python: an f-string statement with {…}, or a statement string followed by %, .format( or +; execute(sql, params) is not matched. Go, read from the file's syntax tree: fmt.Sprintf of a statement with %s, %v, %d or %q, or a statement string joined with + to anything but a string literal or a name the app declares with const. One finding per file, at its first match.

W097

Level: warning Check: the app inserts text into a page as raw HTML. Fix: Let the framework escape text (JSX, Jinja's {{ }}, html/template), set textContent instead of innerHTML, and when HTML a person wrote must be shown, clean it with an allow-list sanitiser first. Safe fix: no

Details: matched in server code, browser code and page templates. JavaScript: dangerouslySetInnerHTML, assigning innerHTML or outerHTML anything but a plain string literal, insertAdjacentHTML(, document.write(. Python: Markup(, mark_safe(, autoescape=False. Go: template.HTML(. Page templates: | safe, v-html=, {@html , {{{. Clearing an element (innerHTML = "") is not matched. One finding per file, at its first match.

W098

Level: warning Check: the app has customer sign-in and a SQL statement reads or changes a table of people's records without limiting it to the record's owner. Fix: Add the owner column to the statement (where customer_id = $1 with X-Whisk-User-Id), or build it from scopeFor (skill §4, "Who may see and change what"). Safe fix: no

Details: runs only with customer_identity: app or org. A table belongs to people when its definition has a column named owner_id, author_id, customer_id, user_id or created_by: read from create table in .sql files, Drizzle's pgTable(…) and Alembic's create_table(…). A string literal in server code, outside migrations and schema files, shaped like a statement that names such a table after from, join or update is reported when it does not mention the owner column and does not pick one row by id (a row fetched by id is checked with canSee before it is used). ORM query builders are not read; the template's access tests cover them. One finding per table, at its first match.

W099

Level: warning Check: a public route takes writes without a challenge, or a route named for staff is public. Fix: Keep the route private, or for a form strangers fill in, list it under routes.challenge; take admin, manage, internal and staff paths out of routes.public. Safe fix: no

Details: a POST route whose path matches routes.public and not routes.challenge, or a PUT, PATCH or DELETE route whose path matches routes.public, as registered in code (JavaScript .post(, .put(, .patch(, .delete(; Python @app.post( and the like; Go .Post( and the like and HandleFunc("POST /…")), with path parameters (:id, {id}, <id>) read as one segment. Webhook handlers and the queue endpoint are service routes and not matched. Also any routes.public entry with a segment admin, administrator, manage, internal or staff, reported at its line in whisk.yaml. The routes in code are not read for an app with promoted: true, or for a shop, which keeps its own sign-in and so lists every route as public.

W100

Level: warning Check: the app's typical start, measured by the platform, is over 3 seconds. Fix: Bundle Node apps into one file at build time, build TypeScript at deploy time, move database changes to whisk.yaml migrate, and load heavy libraries only when first used. Safe fix: no

Details: the platform records how long the app's production container takes to answer its health check each time it starts, on a wake and on a deploy; the typical start is the median of the last 10. Doctor reads it from /apps/:app/validate (its start), so the rule is known only when the directory is bound to an app and the platform answered, and it is skipped, with the reason, when the directory is unbound, the platform was not asked, or no start is recorded yet. The message names the app, the time and how many starts it is the typical of: customer-health takes 7.3 s to start (typical of the last 10 starts). Visitors wait that long after it sleeps. Most apps start in about a second. W101, W102, W103 and W104 name the usual causes.

W101

Level: warning Check: the start command compiles TypeScript as the app starts (tsx, ts-node). Fix: Compile with tsc or a bundler in the build (a build script, or a RUN step in the Dockerfile) and start the built JavaScript with node. Safe fix: no

Details: the start command is the final stage's CMD and ENTRYPOINT when the build uses a Dockerfile, else package.json's start and prestart scripts (what the build runs without one). A package script the command runs (npm start, npm run <name>, pnpm <name>, yarn <name>, bun run <name>, with its pre script) and a shell script it runs (./start.sh, /app/scripts/start.sh) are read too, up to three levels. Matched as a command word: tsx, ts-node, ts-node-dev, ts-node-esm, babel-node, node --import tsx, node -r ts-node/register, node --loader ts-node/esm; a file name ending .tsx is not one. Scripts other than the start command (dev, test) are not read. Bun and Deno run TypeScript without compiling it and are not reported. One finding per file, at the line of the command.

W102

Level: warning Check: migrations run every time the app starts, in the start command or the entry code. Fix: Move the migration to migrate in whisk.yaml, which runs it once per deploy with a restore point first, and start only the app. Safe fix: no

Details: the start command is read as for W101. Commands matched, each a tool with its migrate verb: prisma migrate deploy, prisma db push, drizzle-kit migrate, drizzle-kit push, knex migrate:latest, knex migrate:up, sequelize db:migrate, typeorm migration:run, alembic upgrade, manage.py migrate, django-admin migrate, goose ... up, migrate -path ... up, a package script whose name contains migrat (npm run migrate, yarn db:migrate), and a migrate file run directly (node dist/migrate.js, python migrate.py). In the entry files (W103): Drizzle's migrate(db, { migrationsFolder }), Knex's .migrate.latest(), Kysely's .migrateToLatest(), umzug.up(), Alembic's command.upgrade( and Django's call_command("migrate"), and the commands above in a string. Comments are not read. A separate migrate file that only the manifest's migrate runs is not an entry and is never reported. The message says whether whisk.yaml already has migrate. One finding per file, at its first match.

W103

Level: warning Check: the app's entry file loads a heavy library when the app starts. Fix: Import the library inside the function that uses it, so it loads on first use rather than at every start. Safe fix: no

Details: the entry files are the code files the start command names (built JavaScript such as dist/index.js is read as its source, src/index.ts; uvicorn app.main:app as app/main.py; python -m app as app.py or app/__main__.py), package.json's main, and the conventional names src/index, src/server, src/main, index, server, main (.ts, .js, .mjs), main.py, app.py, server.py, app/main.py, src/main.py, wsgi.py and asgi.py. Libraries reported, each a second or more to load: TypeScript and JavaScript aws-sdk (version 2; the version 3 clients are small), googleapis, firebase-admin, puppeteer, playwright, @tensorflow/tfjs-node, @tensorflow/tfjs, @huggingface/transformers, @xenova/transformers, by exact package name; Python pandas, torch, tensorflow, transformers, sklearn, scipy, matplotlib, spacy, and their submodules. Loads matched: a top-level static import ... from "pkg" or import "pkg" (not import type) and a top-level const x = require("pkg") at the start of a line; in Python an import pkg or from pkg import at the start of a line. An import indented inside a function, a dynamic import(), and comments are not reported. One finding per file, at its first match.

W104

Level: warning Check: a Node app starts unbundled, loading its libraries from node_modules file by file. Fix: Bundle the app into one file at build time (for example esbuild src/index.ts --bundle --platform=node --format=esm --outfile=dist/index.mjs), and run that. Safe fix: no

Details: Node resolves and reads each file of each library as the app starts, thousands of file lookups for an ordinary app, and every lookup is slow inside the sandbox an app runs in. One measured app made about 4,450 lookups and opened about 430 files before it listened; bundled into one file it made 60 and used a third of the CPU. Reported when all three hold: the start command (read as for W101) runs a JavaScript file with node (node dist/index.js, node --enable-source-maps server.mjs); the running image holds nodemodules (a Dockerfile whose final stage copies `nodemodules in or runs npm ci, npm install, yarn, pnpm install or bun install, or, without a Dockerfile, a package.json with dependencies); and the build does not bundle. A build bundles when a package.json script or a Dockerfile RUN runs esbuild, tsup, rollup, webpack, ncc, bun build, or vite build --ssr, when a package.json script runs a file with node (node build.mjs, as the TypeScript template does) that loads esbuild, rollup, tsup, webpack or @vercel/ncc, or when an esbuild.config., tsup.config., rollup.config. or webpack.config. is at the root. One finding, at the line of the start command. The message names the app: <name> loads its libraries file by file at start, which is slow inside Whisk's sandbox.`

An ESM bundle that includes CommonJS dependencies (pg, pino and many others call require) needs require defined, which esbuild adds with a banner:

esbuild src/index.ts --bundle --platform=node --format=esm --outfile=dist/index.mjs \
  --banner:js="import { createRequire as whiskCreateRequire } from 'node:module'; const require = whiskCreateRequire(import.meta.url);"

Then copy only dist/ into the final image, not node_modules, and start with node dist/index.mjs. A library that loads files of its own at run time (native addons, some template engines) is marked external (--external:<name>) and installed in the image alone.

W105

Level: warning Check: the app runs with databaserole restricted and its server code changes the schema outside the migrations or switches role. Fix: Move the schema change into a migration that the manifest's migrate command runs, which connects as the owner, and remove SET ROLE: with databaserole restricted the app already connects as a login that cannot change tables, and that login is a member of no role. Safe fix: no

Details: runs when database_role is restricted. In server code (tests and vendored folders left out, comments not read): any set role, set local role or set session role, at its line; and the first schema change in each file that is not part of the migrations (create, alter or drop of a table, index, schema, policy, function, trigger, view, sequence or type, and create extension). A file is part of the migrations when its path names migrat, alembic or a drizzle/ folder, it is a .sql file, the manifest's migrate command runs it (src/setup.ts for node dist/setup.js), or one of those imports it, directly or through other files, since the migration then runs its statements as the owner. Migrations run when the app starts are W102's finding, which says that under this setting they stop the app from starting.

W106

Level: warning Check: every route is public and the app asks for a password, so it runs its own sign-in, and it is neither a Promoted app nor a shop. Fix: If the app must keep its own sign-in, set promoted: true in whisk.yaml and ask an owner or billing contact to make it a Promoted app in the dashboard (it is charged, so it is their choice); otherwise remove the password field and list under routes.public only the routes that must be public. Safe fix: no

Details: every route is public when routes.public matches every path: "/**", or any entries that together match every path ("/**/**"; "/", "/*" and "/*/**"). A pattern with a literal in a segment ("/blog/**", "/a*") never counts, since it matches only some names. The app asks for a password when W090 would find a password field: the same files and patterns. The edge then lets every request through and the app's own login decides who gets in, which only a Promoted app may do (CONTROL-PLANE.md §6.15, "Promoted apps"). A website whose every page is public asks for no password and is not reported. The app is not blocked: it deploys and serves, and every deploy of it carries the same warning as OWN_SIGNIN_NOT_PROMOTED, until it is a Promoted app or stops. Reported at the routes.public entry that makes every route public, or at the list when only its entries together do. Skipped for a Promoted app, known when the directory is bound to an app and /apps/:app/validate answers promoted: true, or when whisk.yaml says promoted: true; and for a shop (whisk.yaml's commerce: medusa, as in the shop template, ownsignin.Shop), whose customers sign in to the shop on any plan.

W110

Level: error Check: the redirects file is missing, a line of it is not a rule, or the redirects together are invalid (a duplicate, a loop, more than 10,000). Fix: Fix the line named, or remove the rule that duplicates another or sends a request back where it started. Safe fix: no

Details: whisk.yaml's own redirects are checked with the manifest (W002); this rule reads the file redirects_file names and checks its rules together with them, as the push does (CONTRACT.md §3.1). One finding per problem, at the file's line where there is one.

W111

Level: warning Check: a redirect's target is redirected again by another rule, so a visitor and a search engine take two hops where one would do. Fix: Point the first rule straight at the final address. Safe fix: no

Details: search engines follow a few hops, but each is a slower page and may carry less of the page's ranking to the new address. Only path targets are followed; an absolute address leaves the app. A prefix rule's target is followed with one sample segment in place of its *. The message lists the hops: /a redirects to /b, which redirects to /c.

W120

Level: warning Check: other apps of the business call this app only because they called it before apps had to accept their callers, and whisk.yaml has no acceptedcallers line. Fix: Add acceptedcallers to whisk.yaml naming the apps that should call this app, then deploy; leave out any that should not. Safe fix: no

Details: known only when the directory is bound to an app, because the callers come from /apps/:app/validate (calls.unlisted). Those calls work for this platform release through the call bridge (CONTROL-PLANE.md §4.4) and stop when it ends. The message names the callers and the line, accepted_callers: [shop, website]. A production deploy carries the same as ACCEPTED_CALLERS_MISSING. Not reported once whisk.yaml declares accepted_callers, even an empty list.

W121

Level: warning Check: an app under calls does not accept calls from this app, so its calls to it are refused. Fix: Add this app under accepted_callers in the other app's whisk.yaml and deploy that app; this app's calls pass once that deploy is live. Or remove the app from calls. Safe fix: no

Details: known only when the directory is bound to an app, because the answer comes from /apps/:app/validate (calls.not_accepted), which reads each target's whisk.yaml in force (its production's live deploy). One finding per target, at its line under calls, naming the line the target needs: accepted_callers: [website]. A deploy carries the same as CALLER_NOT_ACCEPTED, and a call to that app is refused at the edge with that code.

W130

Level: error Check: signin.logo names a file that is not in the repository, is not a PNG or JPEG, or is over 100 KB. Fix: Point signin.logo at a PNG or JPEG of at most 100 KB in the repository, such as brand/logo.png; a logo about 80 pixels tall stays sharp. Safe fix: no

Details: the push reads the file at the commit, as it reads redirects_file, and keeps it with the manifest, so the push refuses the same problems. The type is judged by the file's first bytes, never its name. SVG and WebP are refused because several email programs show neither.

W131

Level: warning Check: sign_in's text and background colours are too close to read: their contrast is under 4.5:1. Fix: Darken text or lighten background (or the other way round) until the contrast is at least 4.5:1, the WCAG AA level for body text. Safe fix: no

Details: an unset colour counts as Whisk's own (text #14213d, background #faf8f3). The button's text needs no setting: the pages pick white or near-black, whichever reads better on colour. The message gives the ratio.

W132

Level: warning Check: the app has customer sign-in (customer_identity app or org) but nothing in its code links to /.whisk/account or /.whisk/logout, so a customer cannot sign out. Fix: Add a link to /.whisk/account (the customer's own page: password, passkeys and Sign out) or to /.whisk/logout?return=/ where a signed-in customer can see it. Safe fix: no

Details: matched as text in the app's source files, templates and pages. Whisk draws no menu on an app's pages for a customer, so the app's own link is the only way out.

W140

Level: warning Check: nothing in the app starts a Sentry SDK, so only the stacks it prints reach the Errors page, without the request or what the framework catches quietly. Fix: Start a Sentry SDK with SENTRY_DSN when it is set, and report the errors the framework catches, as SKILL.md §3 "Errors and traces" shows for this stack. Safe fix: no

Details: matched in the app's own code (TypeScript, JavaScript, Python, Go; tests, comments and vendored folders left out) and in its Dockerfile, Procfile and package.json. Any of these counts: the name SENTRY_DSN, or a call Sentry.init(, sentry_sdk.init( or sentry.Init(. Skipped when doctor reads none of the app's languages, and when the Dockerfile's last stage serves files with a web server image (nginx, caddy, httpd, static-web-server), since such an app runs no code of its own. Reported at the start command (the Dockerfile's CMD or ENTRYPOINT, or package.json's start script), where a Node app loads its instrument file and where a doctor: allow comment keeps it out of the report.

W141

Level: warning Check: nothing in the app starts an OpenTelemetry SDK, so its requests never reach the Traces page or whisk traces. Fix: Start an OpenTelemetry SDK when OTELEXPORTEROTLPTRACESENDPOINT is set, with HTTP, fetch and database instrumentation, as SKILL.md §3 "Errors and traces" shows for this stack. Safe fix: no

Details: matched where W140 looks. Any of these counts: the name OTEL_EXPORTER_OTLP_TRACES_ENDPOINT or OTEL_EXPORTER_OTLP_ENDPOINT, NodeSDK, a TracerProvider (NodeTracerProvider, Python's TracerProvider(, Go's NewTracerProvider), registerOTel (@vercel/otel), opentelemetry-instrument or @opentelemetry/auto-instrumentations-node/register in a start command. Skipped as W140 is.

W150

Level: warning Check: a release flag in whisk.yaml has no removeby, or the day it names has passed. Fix: Give each release flag a removeby. Once a flag is on for everyone, delete the code behind its off side and the flag from whisk.yaml; a flag meant to stay is kind: kill-switch or kind: permission. Safe fix: no

W160

Level: warning Check: whisk.yaml has no title, description or category, which the business's home lists the app by. Fix: Set title, description and category in whisk.yaml: what people call the app in two to four plain words, one sentence of at most 120 characters on what they do in it, and one of the business's categories that doctor names. Safe fix: no

Details: known only when the directory is bound to an app, because the categories come from /apps/:app/validate (listing.categories), in the order an owner put the home in. The message names what is missing and, when the category is, the business's categories. See the skill's "Describe the app".

W161

Level: warning Check: an owner changed the app's title, description or category on the business's home, and whisk.yaml says something else. Fix: Set the field in whisk.yaml to what the owner chose, which doctor names, so the repository says what people see. Safe fix: no

Details: known only when the directory is bound to an app (listing.shown and listing.owned from /apps/:app/validate). What an owner set stays on the home whatever whisk.yaml says (CONTRACT.md §3.4); one finding per field, at its line.

W170

Level: error Check: in a fork, a file differs from the release the code holds and no change record in custom/changes names it. Fix: Run whisk changes draft <name> --asked "<what the business asked for, in its own words>", which writes custom/changes/<name>.yaml naming every such file, with the tests among them as its checks (--check <test> names one); for a change that has a record already, whisk changes draft <its name> adds the files to it. Safe fix: no

Details: a fork is a checkout whose remote whisk carries the branch upstream, its product's release line, as whisk clone leaves one (FORKS.md §9). The release its code holds is the newest its branch has merged, and everything that differs from it counts: a file added, changed or deleted, committed or not, never what git ignores, the records themselves or .whisk/. A record names a file, or a folder ending / for everything in it. whisk changes lists the records and the files no record names. Skipped when git is not installed, and when the branch holds none of the releases.

W171

Level: error Check: a change record in custom/changes cannot be read, says nothing in asked, names nothing in touches or checks, or names a check that is not a test in the repository. Fix: Write each record as custom/changes/<name>.yaml with asked (what the business asked for, in its own words), touches (each file it adds, changes or deletes from the code's root, or a folder ending /) and checks (the tests that prove the change works), and nothing else. Safe fix: no

Details: in a fork, as W170 reads one. A record is named for its change in lower-case letters, digits and dashes and ends .yaml; custom/changes holds nothing else. asked is at most 1000 characters, and touches and checks at most 200 paths each, never a pattern. A check is a file in the repository that doctor reads as a test (*.test.*, *.spec.*, *_test.go, test_*, or in a folder named test, tests, __tests__ or spec). Each problem is reported at its line.

asked: When a deal is won, tell the warehouse so the order is packed the same day.
touches:
  - custom/server/warehouse.ts
  - custom/server/test/warehouse.test.ts
checks:
  - custom/server/test/warehouse.test.ts

W172

Level: error Check: in a fork, an SQL file outside custom/ differs from the release the code holds. Fix: Put tables of your own in custom/migrations and views, functions and triggers in custom/views, and give Whisk's SQL back as the release has it: the message says the git command. Safe fix: no

Details: in a fork, as W170 reads one. Whisk's migrations make and change Whisk's own tables, and every update runs the release's as Whisk wrote them, so a change to one is lost or stops the update, and SQL of the business's own beside them is outside the wall that keeps the two apart (FORKS.md §8).

W173

Level: warning Check: a change record names files that are as the release the code holds has them. Fix: Take those files out of the record's touches; when nothing it names differs any more, the release holds the change now or it was undone, so delete the record. Safe fix: no

Details: in a fork, as W170 reads one. A folder counts as named while anything in it differs.

W174

Level: error Check: in a product's source, a migration removes, renames or moves to another schema a table, column, view, function or type, or drops a schema, that no note in moved/ names, or a file in moved/ is not a note that can be read. Fix: Write moved/<id>.yaml for the change: moved lists each name with from and, unless it went away, to; values says what became of what it held; fix says what code that used it does instead. Safe fix: no

Details: in an app whose whisk.yaml declares managed, never in a fork's checkout. A migration is any SQL outside custom/ but a .down.sql file and what goose (-- +goose Down) or dbmate (-- migrate:down) run only to undo one. A column is named table.column and a type's value type.value. Moving a table, view, function or type to another schema renames it to its name there, a rename keeps it in its schema, and a schema dropped is named itself, since all it held went with it. What a migration made itself does not count, nor a view, function or type it makes again under the same name; a table or column made again does, since what it held is gone or means something else. SQL a migration runs through EXECUTE, in a function or a DO block, is not read. When a business takes the release into code of its own, whisk managed merge hands each change whose files use a name that moved the note and the lines that use it.

moved:
  - from: companies.phone_number
    to: companies.phone_jsonb
values: every number kept, as a "Work" entry
fix: read phone_jsonb where you read phone_number

W175

Level: warning Check: the app runs a job queue on a cache that evicts keys when it is full. Fix: Set kv_evict: false in whisk.yaml, so the cache keeps every key and refuses writes until there is room. Safe fix: no

Details: only when kv: true and kv_evict is not false. A queue keeps its jobs as keys, so a cache that makes room by dropping the keys used least recently drops jobs too. Matched in server code: JavaScript imports of bullmq, bull and bee-queue, and Medusa's @medusajs/medusa/event-bus-redis and @medusajs/medusa/workflow-engine-redis (with or without medusa/) named as modules; Python imports of rq, arq, celery and dramatiq; Go imports of github.com/hibiken/asynq. One finding, at the first match.

W176

Level: warning Check: a shop (commerce: medusa) names no setup list in admin.setup. Fix: Add admin.setup: /admin/whisk/setup to whisk.yaml, the list the shop answers of what the business still has to give before it takes orders. Safe fix: no

Details: the shop template and Whisk's commerce engine answer GET /admin/whisk/setup with the list; whisk deploy prints what it says is missing and the Whisk bar shows Finish setup while something required is.

W177

Level: warning Check: a page or code links to a WordPress or PHP address of the app's own site (/wp-content/, /wp-includes/, /wp-admin/, /cgi-bin/, a .php page) that no file in the repository holds and no redirect sends on. Fix: Copy the file into the repository at that path (public/wp-content/uploads/... for an image), or add a redirect from the old address to where the file is now. Safe fix: no

Details: Whisk's edge answers these addresses 404 before any app, since scanners ask for them all day. An app whose live deploy holds files at such paths is passed them instead, so a site rebuilt with its old WordPress addresses keeps working once the files are in the repository.

W178

Level: warning Check: a Content-Security-Policy, in whisk.yaml's routes.headers or in the app's code, blocks an analytics tool the app loads (Google Analytics, PostHog, Plausible, Fathom, Microsoft Clarity, Hotjar). Fix: Add the sources the finding names to the directives it names, in the policy where the finding points. Safe fix: no

Details: the browser refuses the tool's script or its pings, so the tool records no visits and nothing in the app's logs says so. A directive the policy leaves out falls back to default-src, as a browser reads it. Whisk's own analytics are on the app's own address and need nothing added.

On this page

  • W001
  • W002
  • W003
  • W004
  • W005
  • W006
  • W010
  • W011
  • W020
  • W021
  • W022
  • W023
  • W024
  • W030
  • W031
  • W032
  • W040
  • W041
  • W042
  • W043
  • W050
  • W051
  • W052
  • W053
  • W060
  • W061
  • W062
  • W063
  • W064
  • W070
  • W080
  • W090
  • W092
  • W093
  • W094
  • W095
  • W096
  • W097
  • W098
  • W099
  • W100
  • W101
  • W102
  • W103
  • W104
  • W105
  • W106
  • W110
  • W111
  • W120
  • W121
  • W130
  • W131
  • W132
  • W140
  • W141
  • W150
  • W160
  • W161
  • W170
  • W171
  • W172
  • W173
  • W174
  • W175
  • W176
  • W177
  • W178