Scan your whole stack
Are you using @sylphx/auth?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.1.3
@sylphx/auth was last scanned on 24 Nov 2026 at version 0.1.3. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.1.3 LATEST | 24 Nov 2026 | No rules fired |
| 0.1.2 | 24 Nov 2026 | No rules fired |
| 0.1.1 | 24 Nov 2026 | No rules fired |
| 0.1.0 | 23 Nov 2026 | Not shown |
| 0.0.0-stage | 23 Nov 2026 | Not shown |
Findings for v0.1.3. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.1.3; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Mount the same Fetch handler on /auth/* in your server or worker. The host
supplies its public HTTPS origin and the instance ID, public slug, and
environment from Auth. Register the app origin as an Auth redirect origin.
import { createSylphxAuthHandler } from '@sylphx/auth'
export const handleAuth = createSylphxAuthHandler({
origin: 'https://app.example.com',
authApiOrigin: 'https://identity.example.net',
instance: { id: 'instance-id', slug: 'example', environment: 'production' },
defaultReturnTo: '/account',
})
// In your router: request => handleAuth(request)
This workspace package uses Web Fetch and Web Crypto, without framework or
Node imports. The runtime must supply an HTTPS origin and preserve individual
Set-Cookie headers. If terminating TLS in front of the handler, ensure its
Request URL reflects the trusted public origin, or supply isPublicRequest
with your edge's trusted-origin verification. Never trust caller-supplied
forwarded headers alone.
| Route | Method | Input / result |
|---|---|---|
/auth/config |
GET | Public capabilities only; no credentials or upstream URLs |
/auth/start/:provider |
POST | JSON { next } → { authorize }; navigate to authorize |
/auth/callback |
GET | Auth's one-use ticket and the state bound to the start cookie |
/auth/email |
POST | Password, signup, email verification, email OTP, MFA, or passkey action |
/auth/logout |
POST | Revoke the presented session, then clear host-only cookies |
Use @sylphx/auth-solid for email and social UI, or its headless controller
for custom layouts. Mutation endpoints require a same-origin Origin.
next is always local; optionally restrict it further with allowReturnTo.
The default __Host-auth_session stores the Auth session in a Secure,
HttpOnly, SameSite=Lax cookie; the browser API never returns it in JSON.
Application server routes can present that session to Auth for validation.
The handler does not create application profiles or replace a session store.
For BYO OAuth, set tenantAuthOrigin to the exact origin of the verified
Account Portal. Auth discovery supplies the mount path. The server uses that
start URL and checks that the provider's redirect_uri points back to the
same mount; an unknown or unverified custom start is never followed. Shared
provider credentials still use the platform protocol callback. Auth owns
provider PKCE, OIDC nonce and Apple's form_post; the application callback
receives a GET with a one-use ticket, not raw provider credentials.
Install this package with your package manager. Use a registry version from the
shared clients release, and Node 22.12 or later (or a worker that supplies the
standard Fetch and Web Crypto APIs). The existing @sylphx/sdk and React imports
are unchanged.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.