
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@abstraxn/passkey-manager
Advanced tools
@abstraxn/passkey-manager is an npm package that provides a set of utilities and classes for creating and managing WebAuthn passkeys, extracting signatures, and handling local storage formats. The package is designed with an object-oriented approach, maki
The Passkey package provides utilities for handling WebAuthn passkeys, local storage, and signature extraction. It simplifies the process of creating, storing, and verifying passkeys using WebAuthn (Web Authentication) API, enabling secure authentication mechanisms in web applications.
Install the Passkey manager package from npm:
npm install @abstraxn/passkey-manager
To create a passkey:
import { createPasskey, getPassKey, toLocalStorageFormat, isLocalStoragePasskey, extractSignature, extractClientDataFields } from '@abstraxn/passkey-manager''
async function main() {
try {
// Create a passkey
const passkey = await createPasskey("username");
console.log("Passkey created:", passkey);
// Store passkey in local storage format
const passkeyLocalStorageFormat = toLocalStorageFormat(passkey);
console.log("Passkey stored in local storage format:", passkeyLocalStorageFormat);
} catch (error) {
console.error("Error creating passkey:", error);
}
}
main();
To retrieve a passkey:
const { getPassKey } = require('passkey');
async function main() {
try {
// Retrieve passkey
const passkey = await getPassKey();
console.log("Retrieved passkey:", passkey);
} catch (error) {
console.error("Error retrieving passkey:", error);
}
}
main();
extractSignature(signature: ArrayBuffer | Uint8Array): [bigint, bigint]
: Extracts R and S values from an authenticator signature.extractClientDataFields(response: AuthenticatorAssertionResponse): { field: string, clientDataJSON: string }
: Extracts additional client data fields from an authenticator response.This package is MIT licensed. (c) Antier Solutions 2024.
FAQs
@abstraxn/passkey-manager is an npm package that provides a set of utilities and classes for creating and managing WebAuthn passkeys, extracting signatures, and handling local storage formats. The package is designed with an object-oriented approach, maki
We found that @abstraxn/passkey-manager demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
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.