
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@hoarderapp/sdk
Advanced tools
This package contains the official typescript SDK for the hoarder API.
npm install @hoarderapp/sdk
import { createHoarderClient } from "@hoarderapp/sdk";
// Create a client
const apiKey = "my-super-secret-key";
const addr = `https://hoarder.mydomain.com`;
const client = createHoarderClient({
baseUrl: `${addr}/api/v1/`,
headers: {
"Content-Type": "application/json",
authorization: `Bearer ${apiKey}`,
},
});
// Create a bookmark
const {
data: createdBookmark,
response: createResponse,
error: createError,
} = await client.POST("/bookmarks", {
body: {
type: "text",
title: "Search Test 1",
text: "This is a test bookmark for search",
},
});
console.log(createResponse.status, createdBookmark, createError);
// Search for bookmarks
const {
data: searchResults,
response: searchResponse,
error: searchError,
} = await client.GET("/bookmarks/search", {
params: {
query: {
q: "test bookmark",
},
},
});
console.log(searchResponse.status, searchResults, searchError);
API docs can be found here.
0.21.0
will be available in this package starting from version 0.21.0
.FAQs
Typescript SDK for Hoarder
The npm package @hoarderapp/sdk receives a total of 3 weekly downloads. As such, @hoarderapp/sdk popularity was classified as not popular.
We found that @hoarderapp/sdk 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.