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.
The official javascript client library for the Persona API.
npm install persona
The module provides a client for the Persona embedded flow. For complete information about the API, head to the docs.
To open the flow you must create a Client
object.
const Persona = require('persona');
const client: Client = new Persona.Client({
// This refers to a production demo template owned by Persona
templateId: 'persona-production_e1de83bf-e29f-48bb-9dae-568479b9edda',
onLoad: () => client.open(),
onStart: (inquiryId: string) => console.log(inquiryId),
onComplete: (inquiryId: string, scopes: { [key: string]: string }) => console.log('onComplete'),
});
Please see Contributing for guidelines and instructions for local development.
FAQs
The official JavaScript SDK for the Persona Inquiry Flow.
The npm package persona receives a total of 52,761 weekly downloads. As such, persona popularity was classified as popular.
We found that persona demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 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
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.