
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.
@openobserve/browser-logs
Advanced tools
Send logs to openobserve from web browser pages with the browser logs SDK.
Send logs to openobserve from web browser pages with the browser logs SDK.
See the dedicated openobserve documentation for more details.
After adding @openobserve/browser-logs
to your package.json
file, initialize it with:
import { openobserveLogs } from '@openobserve/browser-logs'
openobserveLogs.init({
clientToken: '<OPENOBSERVE_CLIENT_TOKEN>',
site: '<OPENOBSERVE_SITE>',
forwardErrorsToLogs: true,
sessionSampleRate: 100,
})
After the openobserve browser logs SDK is initialized, send custom log entries directly to openobserve:
import { openobserveLogs } from '@openobserve/browser-logs'
openobserveLogs.logger.info('Button clicked', { name: 'buttonName', id: 123 })
try {
...
throw new Error('Wrong behavior')
...
} catch (ex) {
openobserveLogs.logger.error('Error occurred', { team: 'myTeam' }, ex)
}
FAQs
Send logs to openobserve from web browser pages with the browser logs SDK.
We found that @openobserve/browser-logs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.