
Research
Malicious NuGet Packages Typosquat Nethereum to Exfiltrate Wallet Keys
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.
@canvas-js/atproto-object
Advanced tools
AT Protocol object utilities.
npm install @canvas-js/atproto-object
import { AtObject } from "@canvas-js/atproto-object"
const app = await AtObject.initialize(["app.bsky.feed.post"], null)
app.listen("wss://bsky.network")
app.close()
app.listen("wss://bsky.network", {
onConnect: () => console.log("Connected to firehose"),
onDisconnect: () => console.log("Disconnected from firehose"),
onError: (error) => console.error("Firehose error:", error)
})
const cursor = "123456789"
await app.backfill("wss://bsky.network", cursor, {
onConnect: () => console.log("Started backfill"),
onDisconnect: () => console.log("Backfill complete")
})
const users = ["alice.bsky.social", "bob.bsky.social", "did:plc:example"]
await app.backfillUsers(users)
// Track multiple collections
const app = await AtObject.initialize([
"com.whtwnd.blog.entry",
"app.bsky.feed.post"
], null)
// Rename tables for collections
const app = await AtObject.initialize([
{ $type: "com.whtwnd.blog.entry", table: "entries" },
{ $type: "app.bsky.feed.post", table: "posts" }
], null)
const app = await AtObject.initialize({
entries: "com.whtwnd.blog.entry",
comments: {
nsid: "app.bsky.feed.post",
filter: (nsid: string, rkey: string, post: Post) => {
// Only index posts that are replies
return post.reply && post.reply.parent && post.reply.root
}
}
}, null)
const app = await AtObject.initialize({
posts: {
nsid: "app.bsky.feed.post",
handler: async (nsid: string, rkey: string, post: Post | null, db) => {
if (post === null) {
// Handle deletion
await db.delete("posts", rkey)
} else {
// Custom processing
if (post.text.includes("canvas")) {
await db.set("posts", { rkey, record: post })
}
}
}
}
}, null)
// sqlite
const app = await AtObject.initialize(collections, "./data.db")
// postgres
const app2 = await AtObject.initialize(collections, "postgres://user:pass@localhost/db")
// in-memory sqlite
const app3 = await AtObject.initialize(collections, null)
// Query all records from a table
const posts = await app.db.query("posts")
// Get specific record
const post = await app.db.get("posts", "specific-rkey")
// Delete record
await app.db.delete("posts", "rkey-to-delete")
FAQs
AT Protocol object utilities.
The npm package @canvas-js/atproto-object receives a total of 1 weekly downloads. As such, @canvas-js/atproto-object popularity was classified as not popular.
We found that @canvas-js/atproto-object demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 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
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.
Product
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.
Product
Socket is launching experimental protection for the Hugging Face ecosystem, scanning for malware and malicious payload injections inside model files to prevent silent AI supply chain attacks.