
Research
/Security News
OpenAPI React Query Codegen Compromised in Mini Shai-Hulud npm Supply Chain Attack
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.
infinityauth
Advanced tools
Author: ashutosh0x
A lightweight JavaScript client for the InfinityAuth API. It supports signup, login, refresh token rotation, logout, and fetching the current user profile.
npm install infinityauth
After install, you'll see a notice: "package author: ashutosh0x".
import { createAuthClient } from 'infinityauth';
const auth = createAuthClient({
baseURL: 'http://localhost:4000',
clientId: 'your-client-id',
});
// Signup
await auth.signup('user@example.com', 'StrongP@ssw0rd!');
// Login
const { accessToken, refreshToken } = await auth.login('user@example.com', 'StrongP@ssw0rd!');
// Current user
const me = await auth.getUser();
// Refresh
const newTokens = await auth.refreshToken();
// Logout
await auth.logout();
createAuthClient(config) returns an AuthClient
config.baseURL: string (required) – Base URL of InfinityAuth APIconfig.clientId: string (required)config.clientSecret: string (optional)config.storage: 'memory' | 'localStorage' (optional)signup(email, password) → { accessToken, refreshToken, expiresIn }login(email, password) → { accessToken, refreshToken, expiresIn }getUser() → { id, email, role } | nullrefreshToken() → { accessToken, refreshToken, expiresIn }logout() → voidstorage: 'localStorage'.MIT © ashutosh0x
FAQs
A comprehensive, secure, and developer-friendly authentication package
The npm package infinityauth receives a total of 0 weekly downloads. As such, infinityauth popularity was classified as not popular.
We found that infinityauth demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.

Research
/Security News
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.

Security News
Socket joins more than 100 technology, cybersecurity, and financial organizations calling for a global surge in cyber defense.

Product
Enterprise security teams can now detect malware, credential theft, suspicious network activity, and risky updates across Microsoft Edge extensions.