
Security News
/Research
Coordinated npm and PyPI Campaign Typosquats Popular Secure Payment Apps
Socket uncovered 17 malicious npm and PyPI packages typosquatting Paysafe, Skrill, and Neteller SDKs to steal developer secrets.
@vercel/oidc
Advanced tools
@vercel/oidcRuntime OIDC helper methods intended to be used with your Vercel Functions
import { getVercelOidcToken } from '@vercel/oidc';
// Get token using project.json configuration
const token = await getVercelOidcToken();
// Get token with explicit project and team (supports both IDs and slugs)
const token = await getVercelOidcToken({
project: 'my-project', // or 'prj_abc123'
team: 'my-team', // or 'team_xyz789'
});
// Get token with expiration buffer (refresh if expires within 5 minutes)
const token = await getVercelOidcToken({
expirationBufferMs: 5 * 60 * 1000,
});
getVercelOidcToken(options?)Gets the current OIDC token from the request context or environment variable. Will refresh the token if expired in development.
Options:
project?: string - Project ID (prj_*) or slugteam?: string - Team ID (team_*) or slugexpirationBufferMs?: number - Buffer time in ms before expiry to trigger refresh (default: 0)getVercelOidcTokenSync()Synchronously gets the current OIDC token without refreshing. Use getVercelOidcToken() if you need automatic refresh in development.
FAQs
Runtime OIDC helpers intended for use with Vercel Functions
The npm package @vercel/oidc receives a total of 13,775,485 weekly downloads. As such, @vercel/oidc popularity was classified as popular.
We found that @vercel/oidc demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 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.

Security News
/Research
Socket uncovered 17 malicious npm and PyPI packages typosquatting Paysafe, Skrill, and Neteller SDKs to steal developer secrets.

Security News
Node.js is debating whether AI-driven security report volume warrants moving more vulnerability reports into public workflows.

Security News
PolinRider expands across npm, Packagist, Go modules, and Chrome extensions, using hidden loaders to target developer environments.