Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@sylphx/auth

Latest version: v0.1.3

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
npm package Publisher: ansonsylphx, shtse8
0 Stars
0 Forks
5 Versions
Rust Repo language

Scan summary

@sylphx/auth was last scanned on 24 Nov 2026 at version 0.1.3. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 5 versions, all published within 2 days (23 and 24 Nov 2026).
  • Findings: No rules fired in version 0.1.3.

Versions

5 versions published
Versions and the rules that fired in each
VersionPublishedStatus
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

No rules fired in 0.1.3

Findings

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.

README

The publisher’s own README, as collected from the registry.

Sylphx Auth handler

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.

OX Radar and Response Center

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.

Where it’s listed

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).

  • npm @sylphx/auth

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Frame 2085668439 (1)
Group 1261154229