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.
cardano-nftcdn-client
Advanced tools
[!NOTE] Automatically generated Openapi-fetch (Axios) client for XRAY/Graph NFTCDN API based on schema.yaml OpenAPI schema. Cardano native tokens metadata/datums indexer/explorer and images CDN. IPFS gateway included
To install the client with Yarn, run:
yarn install cardano-nftcdn-client
To install the client with NPM, run:
npm i cardano-nftcdn-client
import NftcdnClient from "cardano-nftcdn-client"
const client = NftcdnClient("https://graph.xray.app/output/nftcdn/mainnet/api/v1")
const app = async () => {
const metadata = await client.GET("/metadata/{fingerprint}", {
params: {
path: {
fingerprint: "asset1zwa4chw9xm7xwk7g46ef94qsj28hmnd7qffhgx",
},
},
})
if (metadata.data) {
console.log(tip.data)
}
if (metadata.error) {
console.error(tip.error)
}
}
app()
import NftcdnClient from "cardano-nftcdn-client"
const client = NftcdnClient("https://graph.xray.app/output/nftcdn/mainnet/api/v1")
const app = async () => {
const abortController = new AbortController()
setTimeout(() => {
abortController.abort() // cancel request
console.log('Aborted!')
}, 200)
const assets = await client.GET("/assets", {
signal: abortController.signl,
})
if (assets.data) {
console.log(tip.data?.[0]?.block_no)
}
if (assets.error) {
console.error(tip.error)
}
}
app()
Managed by XRAY/Network (XRAY/Graph, Cloudflare WAF & Load Balancer)
https://graph.xray.app/output/nftcdn/mainnet/api/v1
https://graph.xray.app/output/nftcdn/preprod/api/v1
https://graph.xray.app/output/nftcdn/preview/api/v1
FAQs
TypeScript client for XRAY/Graph NFTCDN API
The npm package cardano-nftcdn-client receives a total of 0 weekly downloads. As such, cardano-nftcdn-client popularity was classified as not popular.
We found that cardano-nftcdn-client demonstrated a healthy version release cadence and project activity because the last version was released less than 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
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.