// npm 패키지
weavedb-offchain
버전
113
메인테이너
1
라이선스
MIT
최초 publish
2023-02-24
publisher
asteroiddao
tarball
7,293 B
AUTO-PUBLISHED·1개 버전 인덱싱됨·최근 publish: 2026-05-27
// publisher 캠페인by asteroiddao
이 계정에서 catch된 패키지 9건고립된 catch가 아닙니다. 동일 publisher가 8개의 다른 패키지를 추가로 발행했고, 모두 파이프라인이 catch했습니다 — 일회성이 아닌 조직적 캠페인의 형태. 아래 링크는 각 형제 catch의 분석으로 이동합니다.
// offending code· @0.45.5· no static-pattern hits
- @0.45.5··AUTO-PUBLISHED·publisher: asteroiddaoheuristic 75/100static flags 0llm skippedmature-packageosv-flagged:MAL-2026-4722
// offending code· no static-pattern hits
--- package.json (entry) --- { "name": "weavedb-offchain", "version": "0.45.5", "main": "index.js", "license": "MIT", "dependencies": { "@metamask/legacy-web3": "^2.0.0", "arweave": "^1.11.4", "md5": "^2.3.0", "ramda": "^0.28.0", "weavedb-base": "^0.45.2", "weavedb-contracts": "^0.45.1" } } --- index.js (entry) --- const { tail, isNil, clone, mergeLeft } = require("ramda") const Base = require("weavedb-base") let arweave = require("arweave") if (!isNil(arweave.default)) arweave = arweave.default let contracts, handle_bpt, version, version_bpt class OffChain extends Base { constructor({ state = {}, cache = "memory", type = 1, contractTxId, noauth = false, caller = null, secure = true, local = false, _contracts = "weavedb-contracts", } = {}) { super() this._contracts = _contracts version_bpt = require(`${this._contracts}/weavedb-bpt/lib/version`) this.queue = [] this.ongoing = false this.caller = caller this.noauth = noauth this.kvs = {} this.network = "offchain" this.cache = cache this.type = type this.handles = {} ;({ handle: handle_bpt } = require( `${this._contracts}/weavedb-bpt/contract`, )) this.handle = this.type === 3 ? handle_bpt : handle_bpt this.local = local this.validity = {} this.txs = [] this.arweave = arweave.init() this.contractTxId = contractTxId || "offchain" this.domain = { name: "weavedb", version: "1", verifyingContract: thi
