Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@1auth/account
Advanced tools
auth.js
import * as notify from "@1auth/notify-console";
import * as store from "@1auth/store-memory";
import crypto from "@1auth/crypto";
import account from "@1auth/account";
export {
exists as accountExists,
create as accountCreate,
lookup as accountLookup,
update as accountUpdate,
remove as accountRemove
} from '@1auth/account'
// Initialize
crypto({ symmetricEncryptionKey: '_32B_APPLICATION_ENCRYPTION_KEY_' });
account({ store, notify });
import {accountUsernameCreate} from './auth.js'
const sub = await accountCreate()
notify
[Required]: Notify modulestore
[Required]: Store moduleencryptedFields
: Fields that should be encrypted. Defaults to ["privateKey"]
table
: database table name. Defaults to accounts
id
sub
encryptionKey
publicKey
privateKey
create
update
FAQs
Unknown package
The npm package @1auth/account receives a total of 65 weekly downloads. As such, @1auth/account popularity was classified as not popular.
We found that @1auth/account demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.