Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@rosen-bridge/address-extractor
Advanced tools
Data extractors are modules that are integrated within a scanner. They drive the required information from the scanned blocks and store them in their own database. The address extractor is the simplest data extractor that tracks a specific address and stores all boxes belonging to that address. Furthermore, this extractor also can track a list of specific assets within the required address boxes. Currently, the address extractor can only be used to track the ergo addresses.
This module is used within the Scanner project. The address scanner is currently used in the Watcher service to drive the watcher fee boxes and WID box (The watcher box with a specific WID token that is used for watcher authentication).
This project is written in node-js using Esnext module and typeorm database. Extractors are not standalone projects and should be used as scanner modules. You can easily install it using npm with the command:
npm install @rosen-bridge/address-extractor
Alternatively, you can build and use it manually by cloning the project and running:
npm install
npm run build
At the first step, you need to create a scanner instance; follow the steps here to create a running instance of scanner. Then you need to instantiate your address extractor and register it to your scanner:
const addressExtractor = new ErgoUTXOExtractor(
dataSource,
<extractor_name>,
<network_type>,
<address>,
OPTIONAL<Array<asset_id>>
)
scanner.registerExtractor(addressExtractor)
TBD
TBD
FAQs
UTXO box extractor for any address or token.
The npm package @rosen-bridge/address-extractor receives a total of 3 weekly downloads. As such, @rosen-bridge/address-extractor popularity was classified as not popular.
We found that @rosen-bridge/address-extractor demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.