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.
@zoralabs/nft-metadata
Advanced tools
Javascript library for parsing nft metadata.
This parses data following a variety of standards and contracts. All contracts on https://zora.co/ are parsed using this library.
Add package:
yarn add @zoralabs/nft-metadata
Use in project:
import {Agent} from '@zoralabs/nft-metadata';
/* or const {Agent} = require('@zoralabs/nft-metadadata'); */
const parser = new Agent({
// Use ethers.js Networkish here: numbers (1/4) or strings (homestead/rinkeby) work here
network: 'homestead',
// RPC url to access blockchain with. Optional: will fallback to using cloudflare eth
networkUrl: RPC_URL,
// IPFS Gateway URL (optional, defaults to cloudflare)
ipfsGatewayUrl: IPFS_URL,
// Timeout: defaults to 40 seconds, recommended timeout is 60 seconds (in milliseconds)
timeout: 60 * 1000,
})
// Can use typical promises or async/await to get the return value of fetchMetadata
parser.fetchMetadata('0xb7F7F6C52F2e2fdb1963Eab30438024864c313F6', '23').then((data) => {
console.log(data);
})
FAQs
Generic nft metadata parsers
The npm package @zoralabs/nft-metadata receives a total of 42 weekly downloads. As such, @zoralabs/nft-metadata popularity was classified as not popular.
We found that @zoralabs/nft-metadata demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 20 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.