
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.
@magic-sdk/admin
Advanced tools
The Magic Admin SDK lets developers secure endpoints, manage users, and create middlewares via easy-to-use utilities.
License · Changelog · Contributing Guide
See the developer documentation to learn how you can master the Magic Admin SDK in a matter of minutes.
Integrating your Node.js application with Magic will require our server-side NPM package:
# Via NPM:
npm install --save @magic-sdk/admin
# Via Yarn:
yarn add @magic-sdk/admin
Sign up or log in to the developer dashboard to receive API keys that will allow your application to interact with Magic's administration APIs.
const { Magic } = require('@magic-sdk/admin');
// In async function:
const magic = await Magic.init('YOUR_SECRET_API_KEY');
// OR
Magic.init('YOUR_SECRET_API_KEY').then((magic) => {
magic
});
// Validate a token
try {
magic.token.validate("DIDToken");
} catch (e) {
console.log(e);
}
// Magic Auth - Get User Email
try {
await magic.users.getMetadataByToken("DIDToken");
} catch (e) {
console.log(e);
}
FAQs
Magic Authentication Admin Javascript SDK.
The npm package @magic-sdk/admin receives a total of 7,509 weekly downloads. As such, @magic-sdk/admin popularity was classified as popular.
We found that @magic-sdk/admin demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 16 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
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.