
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
replit-identity
Advanced tools
Supports TypeScript
Create and verify Replit Identity tokens.
const { create, verify } = require('replit-identity');
const audience = 'target-repl-id';
const token = await create(audience);
const info = await verify(token, audience);
console.log(info);
npm install replit-identity
Important: This package can only be used within a Replit environment.
The replit-identity
module exports the following functions:
create
Creates a new identity token.
audience
(string): The target audience for the token.verify
Verifies an existing identity token.
token
(string): The token to verify.audience
(string): The audience to verify against.Example return value:
const info = {
slug: "repl-name",
replId: "unique-repl-id",
audience: "target-repl-id",
username: "jane_doe" ,
userId: 12345,
runtime: {
// Based on Replit environment:
interactive: {
cluster: 'example-cluster',
subcluster: 'example-subcluster'
},
// Or:
hosting: {
cluster: 'example-cluster',
subcluster: 'example-subcluster'
},
// Or (if in deployment):
deployment: true,
}
}
FAQs
A simple package to interact with the Replit CLI's identity command.
We found that replit-identity 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
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.