
Research
/Security News
Intercom’s npm Package Compromised in Ongoing Mini Shai-Hulud Worm Attack
Compromised intercom-client@7.0.4 npm package is tied to the ongoing Mini Shai-Hulud worm attack targeting developer and CI/CD secrets.
@lit-protocol/auth-services
Advanced tools
This package contains the PKP Authentication Services & Login Server for the Lit Protocol.
This package contains the PKP Authentication Services & Login Server for the Lit Protocol.
pnpm install @lit-protocol/auth-services
import { createLitAuthServer } from '@lit-protocol/auth-services';
import { startAuthServiceWorker } from '@lit-protocol/auth-services';
const litAuthServer = createLitAuthServer({
port: Number(3001),
host: '0.0.0.0',
network: process.env['NETWORK'],
litTxsenderRpcUrl: process.env['LIT_TXSENDER_RPC_URL'] as string,
litTxsenderPrivateKey: process.env['LIT_TXSENDER_PRIVATE_KEY'],
enableApiKeyGate: true,
stytchProjectId: process.env['STYTCH_PROJECT_ID'],
stytchSecretKey: process.env['STYTCH_SECRET'],
maxRequestsPerWindow: Number(process.env['MAX_REQUESTS_PER_WINDOW']),
windowMs: Number(process.env['WINDOW_MS']),
redisUrl: process.env['REDIS_URL'] as string,
});
// Start the auth server
await litAuthServer.start();
// Requires REDIS_URL
await startAuthServiceWorker({
litTxsenderRpcUrl: process.env['LIT_TXSENDER_RPC_URL'] as string,
redisUrl: process.env['REDIS_URL'] as string,
});
pnpm install @lit-protocol/auth-services
import { createLitLoginServer } from '@lit-protocol/auth-services';
const litLoginServer = createLitLoginServer({
port: Number(process.env['LOGIN_SERVER_PORT']),
host: process.env['LOGIN_SERVER_HOST'],
stateExpirySeconds: 30,
socialProviders: {
google: {
clientId: process.env['LOGIN_SERVER_GOOGLE_CLIENT_ID'] as string,
clientSecret: process.env['LOGIN_SERVER_GOOGLE_CLIENT_SECRET'] as string,
},
discord: {
clientId: process.env['LOGIN_SERVER_DISCORD_CLIENT_ID'] as string,
clientSecret: process.env['LOGIN_SERVER_DISCORD_CLIENT_SECRET'] as string,
},
},
});
await litLoginServer.start();
FAQs
This package contains the PKP Authentication Services & Login Server for the Lit Protocol.
We found that @lit-protocol/auth-services demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 8 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
Compromised intercom-client@7.0.4 npm package is tied to the ongoing Mini Shai-Hulud worm attack targeting developer and CI/CD secrets.

Research
Socket detected a malicious supply chain attack on PyPI package lightning versions 2.6.2 and 2.6.3, which execute credential-stealing malware on import.

Research
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.