Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
couchdb-log-parse
Advanced tools
A program for parsing CouchDB logs
var LogParse = require('couchdb-log-parse')
var parser = new LogParse()
fs.createReadStream('couchdb.log').pipe(parser)
parser.on('data', function (c) {
// this is the raw data, don't know why you need this, but whatever
})
parser.on('message', function (message) {
// this is probably what you want.
// it's the parsed object with informative fields
})
The parsed messages all have these fields:
date
The date that the log was postedlevel
Usually one of info, warn, or errorpid
Not a real pid. Some kind of silly erlang goober.type
Either 'http', 'erl', or 'misc'Depending on the type
they may have the following fields as well:
ip
The requesting IP. (If you're behind a proxy or load balancer,
then it's not super interesting.)method
Something like GET, POST, PUT, etc.url
The url requestedstatusCode
The response status code.message
Whatever comes before the dump. Sometimes blank.dump
The dumped erlang object. (If someone wants to write a
parser for the erlang objdump notation, that'd be rad.)message
Whatever it was that couldn't be parsed.FAQs
A program for parsing CouchDB logs
The npm package couchdb-log-parse receives a total of 1,230 weekly downloads. As such, couchdb-log-parse popularity was classified as popular.
We found that couchdb-log-parse 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
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.