Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@types/passport-oauth2-refresh
Advanced tools
TypeScript definitions for passport-oauth2-refresh
npm install --save @types/passport-oauth2-refresh
This package contains type definitions for passport-oauth2-refresh (https://github.com/fiznool/passport-oauth2-refresh#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/passport-oauth2-refresh.
import { oauth2tokenCallback } from "oauth";
import { Strategy } from "passport-oauth2";
export function use(name: string | Strategy, strategy?: Strategy): void;
export function has(name: string): boolean;
export function requestNewAccessToken(name: string, refreshToken: string, done: oauth2tokenCallback): any;
export function requestNewAccessToken(name: string, refreshToken: string, params: any, done: oauth2tokenCallback): any;
These definitions were written by Daphne Smit, and Brian Torres-Gil.
FAQs
TypeScript definitions for passport-oauth2-refresh
We found that @types/passport-oauth2-refresh 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.
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
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.