
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
bunyan-toolkit
Advanced tools
Toolkit for analyzing restify node-bunyan logs.
Ensure that both the node
and bunyan
binaries are on your path.
npm install -g bunyan-toolkit
# Find all requests that
# 1) have a url with a path 'Prof'
# 2) returned HTTP 200
# 3) has a latency > 600 ms
# 4) includes a header of 'accept-encoding'
# 5) with HTTP method GET
btkit -u Prof -s 200 -l 600 -H 'accept-encoding' -m 'GET' restify.log
btkit
returns all queries as streaming json, so you can additionally process
its output via other tools. To get the prettified output, pipe the command to
bunyan
btkit -u Prof -s 200 -l 600 -H 'accept-encoding' -m 'GET' restify.log | bunyan
All of the parameters are optional. So by default,
btkit restify.log
would return all of the restify audit logs. You can additionally add more parameters to filter the logs:
btkit -s 500 restify.log | bunyan
This returns all the logs the returned a 500 response.
btki -s 500 -l 250 restify.log
would return all restify audit logs that returned a 500 response that also took longer than 250 ms.
btkit -h
btkit
is just a simple bash script that wraps bunyan -c
. For more
information on bunyan -c
look
here;
FAQs
tool kit for analyzing bunyan logs
We found that bunyan-toolkit 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.
Security News
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.