
Research
Malicious Go “crypto” Module Steals Passwords and Deploys Rekoobe Backdoor
An impersonated golang.org/x/crypto clone exfiltrates passwords, executes a remote shell stager, and delivers a Rekoobe backdoor on Linux.
@cyberdrk/onchain
Advanced tools
CLI for crypto portfolio tracking, market data, and CEX history. Designed for both human use and AI agent integration.
npm install -g @cyberdrk/onchain
Or run directly with npx:
npx @cyberdrk/onchain price btc
# Check token prices
onchain price btc
onchain price eth sol matic
# View wallet balances (auto-detects EVM/Solana)
onchain balance 0x1234...5678
# CEX balances
onchain coinbase balance
onchain binance balance
# Market overview
onchain markets
# Prediction markets
onchain polymarket trending
onchain price <token> # Token price with 24h change
onchain markets # Market overview with trending coins
onchain balance <address> # Token balances (EVM or Solana)
onchain history <address> # Transaction history
onchain portfolio <address> # Full portfolio with DeFi positions
onchain coinbase balance # Coinbase account balances
onchain coinbase history # Trade history
onchain binance balance # Binance account balances
onchain binance history # Trade history
onchain polymarket trending # Trending markets
onchain polymarket search <q> # Search markets
onchain polymarket view <slug> # Market details
onchain setup # Interactive API key setup
onchain config # View current configuration
onchain test # Test all configured providers
Run onchain setup for interactive configuration, or set environment variables:
| Feature | Environment Variable | Provider |
|---|---|---|
| EVM wallets | DEBANK_API_KEY | DeBank Cloud |
| Solana wallets | HELIUS_API_KEY | Helius |
| Coinbase | COINBASE_API_KEY_ID + COINBASE_API_KEY_SECRET | Coinbase CDP |
| Binance | BINANCE_API_KEY + BINANCE_API_SECRET | Binance |
| Market data | COINGECKO_API_KEY | CoinGecko (optional) |
| Market fallback | COINMARKETCAP_API_KEY | CoinMarketCap (optional) |
Config file locations:
~/.config/onchain/config.json5./.onchainrc.json5--json # Output as JSON (for scripting/agents)
--plain # Disable colors and emoji
--no-color # Disable colors only
--timeout <ms> # Request timeout in milliseconds
This CLI is designed for AI agent use with --json output:
# Get portfolio value
onchain --json portfolio 0x123... | jq '.totalValueUsd'
# Check if market is up
onchain --json markets | jq '.marketCapChange24h > 0'
# Get specific token price
onchain --json price eth | jq '{price: .priceUsd, change: .priceChange24h}'
Exit codes: 0 for success, 1 for errors.
EVM (via DeBank): Ethereum, BNB Chain, Polygon, Arbitrum, Optimism, Avalanche, Base, zkSync Era, Linea, Scroll, Blast, Mantle, and 60+ more.
Solana (via Helius): Full mainnet support including SPL tokens and NFTs.
pnpm install
pnpm run dev price btc # Run without building
pnpm run build # Build TypeScript
pnpm run test # Run tests
pnpm run lint # Lint code
MIT
FAQs
CLI tool for crypto portfolio tracking, market data, and CEX history
The npm package @cyberdrk/onchain receives a total of 2 weekly downloads. As such, @cyberdrk/onchain popularity was classified as not popular.
We found that @cyberdrk/onchain demonstrated a healthy version release cadence and project activity because the last version was released less than 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.

Research
An impersonated golang.org/x/crypto clone exfiltrates passwords, executes a remote shell stager, and delivers a Rekoobe backdoor on Linux.

Security News
npm rolls out a package release cooldown and scalable trusted publishing updates as ecosystem adoption of install safeguards grows.

Security News
AI agents are writing more code than ever, and that's creating new supply chain risks. Feross joins the Risky Business Podcast to break down what that means for open source security.