// npm package
weavedb-client
versions
114
maintainers
1
license
MIT
first publish
2022-08-07
publisher
asteroiddao
tarball
18,867 B
AUTO-PUBLISHED·2 versions indexed·latest published 2026-05-27
// publisher campaignby asteroiddao
9 caught packages from this accountThis is not an isolated catch. The same publisher has shipped 8 other packages that our pipeline flagged — the shape of a coordinated campaign, not a one-off. Each link below opens that sibling's analysis.
// offending code· @0.45.4· no static-pattern hits
- @0.45.4··AUTO-PUBLISHED·publisher: asteroiddaoheuristic 75/100static flags 0llm skippedmature-packageosv-flagged:MAL-2026-4716
// offending code· no static-pattern hits
--- package.json (entry) --- { "name": "weavedb-client", "version": "0.45.4", "main": "index.js", "license": "MIT", "engines": { "node": ">=16.5" }, "dependencies": { "@lit-protocol/sdk-browser": "^1.3.3", "@metamask/legacy-web3": "^2.0.0", "arweave": "^1.11.8", "google-protobuf": "^3.21.0", "grpc-web": "^1.3.1", "ramda": "^0.28.0", "weavedb-base": "^0.45.2" } } --- index.js (entry) --- const { DBClient } = require("./weavedb_grpc_web_pb") const { WeaveDBRequest } = require("./weavedb_pb") const { isEmpty, includes, all, complement, last, isNil, is, init, dissoc, } = require("ramda") const Base = require("weavedb-base") let Arweave = require("arweave") Arweave = Arweave.default || Arweave class SDK extends Base { constructor({ rpc, contractTxId, wallet, name = "weavedb", version = "1", EthWallet, web3, arweave_wallet, }) { super() this.LitJsSdk = require("@lit-protocol/sdk-browser") this.contractTxId = contractTxId this.arweave = Arweave.init() this.arweave_wallet = arweave_wallet this.client = new DBClient(rpc) if (typeof window === "object") { require("@metamask/legacy-web3") this.web3 = window.web3 } if (all(complement(isNil))([contractTxId, name, version])) { this.initialize({ contractTxId, name, version, EthWallet }) } } initialize({ contractTxId, name, version, EthWallet }) { this.domain = { name, version, verifyingContract: contractTxId } if (!isNil(EthWallet)) this.setEthWallet(EthWallet) } async write(func, query, nocache, bun
