
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@tonstudio/txtracer-core
Advanced tools
Core TxTracer library for collecting transaction information
TxTracer-core is a core library for deep analysis, emulation, and tracing transactions on the TON blockchain. The library allows you to reproduce transaction execution in a local sandbox, obtain detailed reports on computation, actions, and money flow, and collect low-level information about blocks, accounts, and messages.
yarn add @tonstudio/txtracer-core
# or
npm install @tonstudio/txtracer-core
import {retrace} from "@tonstudio/txtracer-core"
// Example: trace a transaction by its hash
const result = await retrace(false, "YOUR_TX_HASH")
console.log(result)
import {retrace} from "@tonstudio/txtracer-core"
/**
* @param testnet - true for testnet, false for mainnet
* @param txHash - hex transaction hash
* @returns Detailed execution report (TraceResult)
*/
const result1 = await retrace(testnet, txHash)
/**
* Retrace a transaction described as triple
*/
const result2 = await retraceBaseTx(testnet, {
lt: 56166043000001n,
hash: Buffer.from("T6Y6ZoW71mrznFA0RyU/xV5ILpz9WUPJ9i9/4xPq1Is=", "base64"),
address: Address.parse("EQCqKZrrce8Ss6SZaLI-OkH2w8-xtPP9_ZvyyIZLhy9Hmpf8"),
})
All methods are exported from @tonstudio/txtracer-core
and can be used independently:
All main types (transactions, blocks, messages, tracing results) are exported from @tonstudio/txtracer-core
and are fully typed (see src/types.ts).
MIT © TON Studio
[0.1.0] - 2025-05-16
Add retraceBaseTx
function to retrace transactions by their triple (lt
, hash
, address
).
FAQs
Core TxTracer library for collecting transaction information
The npm package @tonstudio/txtracer-core receives a total of 1 weekly downloads. As such, @tonstudio/txtracer-core popularity was classified as not popular.
We found that @tonstudio/txtracer-core 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.