workos

Fail

Audited by Runlayer on Mar 8, 2026

Risk Level: HIGH
Scan Summary
Max Score
96%
Files
41
Flagged
35
Chunks
47
Flagged Files (35)
workos/references/workos-migrate-other-services.mdHIGH
96.0%

Risky tool definition detected

workos/references/workos-directory-sync.mdHIGH
95.2%

Risky tool definition detected

- Return 200 from webhook handler IMMEDIATELY (WorkOS times out at 10s) — process events asynchronously after acknowledging - Webhooks are NOT mandatory — the Events API (workos.events.listEvents) is a fully supported pull-based alternative for batch processing - Webhook signature verification must use the RAW request body, not parsed JSON — parsing first breaks the signature - Use dsync.* wildcard for Events API filter, not just "dsync" — bare string returns nothing - Events API after param mus

workos/references/workos-migrate-firebase.mdHIGH
94.8%

Risky tool definition detected

workos/references/workos-migrate-auth0.mdHIGH
94.4%

Risky tool definition detected

- Auth0 bcrypt hashes must start with `$2a$`, `$2b$`, or `$2y$`.

workos/references/workos-migrate-stytch.mdHIGH
94.0%

Risky tool definition detected

workos/references/workos-migrate-better-auth.mdHIGH
93.2%

Risky tool definition detected

workos/references/workos-migrate-supabase-auth.mdHIGH
92.5%

Risky tool definition detected

workos/references/workos-migrate-descope.mdHIGH
92.3%

Risky tool definition detected

- If Descope used a hashing algorithm not supported by WorkOS, you must fall back to the password reset flow.

workos/references/workos-migrate-aws-cognito.mdHIGH
92.0%

Risky tool definition detected

- Do NOT set the password field when importing users. Users imported without passwords are automatically flagged for password reset.

workos/references/workos-email.mdHIGH
91.4%

Risky tool definition detected

Email providers check if sender addresses are real — no inbox means higher spam score. - Spam trigger words in your team name or organization names (e.g., "FREE", "WINNER", "URGENT") damage deliverability even with perfect DNS config.

workos/references/workos-audit-logs.mdHIGH
91.3%

Risky tool definition detected

workos/references/workos-authkit-react.mdMEDIUM
89.5%

Risky tool definition detected

workos/references/workos-integrations.mdMEDIUM
88.7%

Tool passed security scan

Malicious tool definition detected

Tool: workos/references/workos-integrations.md [2/3] Description: Verify SSO connection is active curl -s -H "Authorization: Bearer $WORKOS_API_KEY" \ https://api.workos.com/connections | jq '.data[] | select(.state == "active") | .name' # Check directory sync connections curl -s -H "Authorization: Bearer $WORKOS_API_KEY" \ https://api.workos.com/directories | jq '.data[] | {id, name, state}' ``` Checklist: - [ ] Connection appears in WorkOS Dashboard with "Active" (SSO) or "Linked" (directory)

workos/references/workos-events.mdMEDIUM
88.7%

Risky tool definition detected

- WorkOS may retry webhook deliveries. All event processing must be idempotent — deduplicate using `event.id`, not webhook delivery ID.

workos/references/workos-custom-domains.mdMEDIUM
86.4%

Risky tool definition detected

- Cookie domain must be set to `.yourapp.com` (with leading dot) for subdomain compatibility. Incorrect cookie domain causes silent auth failures where login redirects back to `workos.com`.

workos/references/workos-migrate-clerk.mdMEDIUM
81.6%

Risky tool definition detected

workos/references/workos-authkit-nextjs.mdMEDIUM
80.8%

Risky tool definition detected

Use whichever function the installed SDK version exports — do NOT rename existing working imports. ## Verification Checklist (ALL MUST PASS) Run these commands to confirm integration. **Do not mark complete until all pass:** ```bash # 1.

workos/references/workos-migrate-the-standalone-sso-api.mdMEDIUM
79.9%

Risky tool definition detected

workos/references/workos-mfa.mdMEDIUM
79.9%

Risky tool definition detected

- TOTP enrollment requires both `totp_issuer` and `totp_user` parameters. Omitting either causes a 400 error.

workos/references/workos-authkit-sveltekit.mdMEDIUM
79.7%

Risky tool definition detected

workos/references/workos-elixir.mdMEDIUM
77.0%

Risky tool definition detected

defmodule {AppName}Web do def controller do quote do use Phoenix.Controller, formats: [:html, :json] import Plug.Conn end end defmacro __using__(which) when is_atom(which) do apply(__MODULE__, which, []) end end ``` ### Create controller Create `lib/{app}_web/controllers/auth_controller.ex`: ```elixir defmodule {AppName}Web.AuthController do use {AppName}Web, :controller def sign_in(conn, _params) do client_id = Application.get_env(:workos, :client_id) redirect_uri = "http://localhost:4000/auth/

workos/references/workos-php.mdMEDIUM
75.8%

Risky tool definition detected

workos/references/workos-php-laravel.mdMEDIUM
75.3%

Risky tool definition detected

WORKOS_REDIRECT_URI=http://localhost:8000/auth/callback ``` Also ensure `config/workos.php` reads these env vars correctly. Check README for exact config structure.

workos/references/workos-authkit-vanilla-js.mdLOW
74.6%

Risky tool definition detected

Check sign-in is on user gesture (click handler) grep -rn "signIn\|sign_in" src/ *.js *.html 2>/dev/null # 4.

workos/references/workos-go.mdLOW
74.0%

Risky tool definition detected

workos/references/workos-kotlin.mdLOW
70.0%

Risky tool definition detected

workos/references/workos-ruby.mdLOW
66.4%

Tool passed security scan

workos/references/workos-authkit-tanstack-start.mdLOW
66.0%

Tool passed security scan

workos/references/workos-node.mdLOW
64.7%

Tool passed security scan

workos/references/workos-dotnet.mdLOW
63.2%

Tool passed security scan

workos/references/workos-sso.mdLOW
58.5%

Tool passed security scan

workos/references/workos-admin-portal.mdLOW
56.5%

Tool passed security scan

workos/references/workos-vault.mdLOW
54.4%

Tool passed security scan

workos/references/workos-python.mdLOW
54.0%

Tool passed security scan

workos/references/workos-management.mdLOW
53.6%

Tool passed security scan

Passed Files (6)Click to expand
workos/references/workos-rbac.mdOK
48.0%

Tool passed security scan

workos/SKILL.mdOK
47.4%

Tool passed security scan

workos/references/workos-api-authkit.mdOK
31.1%

Tool passed security scan

workos/references/workos-authkit-react-router.mdOK
18.4%

Tool passed security scan

workos/references/workos-authkit-base.mdOK
17.3%

Tool passed security scan

workos/references/workos-api-organization.mdOK
15.0%

Tool passed security scan

Audit Metadata
Max File Score
96%
Classification
KNOWN_SERVER_ALL_UNKNOWN
Files Scanned
41
Files Flagged
35
Chunks Analyzed
47
Analyzed
Mar 8, 2026, 01:06 AM