
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
nostr-dm-bot
Advanced tools
import NostrDMBot from "./nostr.js"
const bot_secret = "45e237f0a302a7f5835137716341d5bd9019a12342ed7bd5d57c6e4fde98a47d"
const your_pubkey = "2f4fa408d85b962d1fe717daae148a4c98424ab2e10c7dd11927e101ed3257b2"
const some_relay = 'wss://nostr.klabo.blog'
const bot = new NostrDMBot(some_relay, bot_secret, your_pubkey)
bot.on('message', (msg) => {
console.log('👍 received message', msg)
})
bot.on('connect', async () => {
console.log('👍 connected to relay')
await bot.publish('Hello world')
})
bot.on('error', (err) => {
console.log('👎 error', err)
})
setTimeout(() => {
console.log('Timeout reached, process will exit');
}, 3600000); // Keep the proc
await bot.connect()
FAQs
A light wrapper around nostr-tools for creating a bot you can DM with
We found that nostr-dm-bot 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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.