
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
Simple lightweight data aggregator for Transfer/Approval events of ERC20 and ERC721 tokens
Npm install tinyfox
(Requires a MongoDB to be installed on the local machine)
this.tinyFox = new TinyFox()
await this.tinyFox.init({suffix: 'development'})
let tinyfoxConfig = {
contractType: 'ERC20',
contractAddress: '0xab89a7742cb10e7bce98540fd05c7d731839cf9f' ,
startBlock: 1316824,
courseBlockGap: 1000,
fineBlockGap: 50,
indexRate: 10000,
updateBlockNumberRate:60000
}
this.tinyFox.startIndexing( this.web3, tinyfoxConfig )
this.tinyFox.stopIndexing()
this.tinyFox.resetState()
As tinyfox indexes, it starts at 'startBlock' and is collecting events at a pace of 'courseBlockGap' blocks read per 'indexRate' of time.
It stores these events inside of a mongo database named 'tinyfox_{{suffix}}' and inside of a collection named 'event_data'
Once tinyfox synchronizes to the front of the blockchain data (current state) then it will use the 'fineBlockGap' to remain synchronized.
As tinyfox is scraping chaindata for the ERC20/ERC721 token, it is also building a cache of user balances in the tables named 'erc20_balances' and 'erc721_balances'.
ERC20 Events: Transfer, Approval, Deposit (weth), Withdrawal (weth), Mint (0xBTC)
ERC721 Events: Transfer
FAQs
Data aggregation node for Ethereum
The npm package tinyfox receives a total of 3 weekly downloads. As such, tinyfox popularity was classified as not popular.
We found that tinyfox demonstrated a not healthy version release cadence and project activity because the last version was released 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.