
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Source: Processing JSON Data With jq
Find the nearest package.json then deal with jq syntax on it. (in-line edit supported!)
package.json in current and all parent directories by default, powered by pkg-up.jq syntax to deal with the json file, powered by node-jq.In-place edit support by specify a -i or --in-place argument.$ npm-jq --help
usage: pkg-jq [-h] [-v] [-i] [-r] filter [path]
Node.js Package jq Utility
Positional arguments:
filter jq filter.
path npm project subdir, or json file. default: $PWD.
Optional arguments:
-h, --help Show this help message and exit.
-v, --version Show programs version number and exit.
-i, --in-place edit files in place.
-r, --raw output raw strings, not JSON texts.
Exmaple: pkg-jq -i '.publishConfig.tag="next"'
$ grep version package.json
"version": "0.0.6",
$ pkg-jq .version
"0.0.6"
# Raw mode: -r
$ pkg-jq -r .version
0.0.6
$ grep -E 'publish|tag' package.json
"publishConfig": {
"tag": "next"
$ pkg-jq -i '.publishConfig.tag="latest"'
$ grep -E 'publish|tag' package.json
"publishConfig": {
"tag": "latest"
sudo apt-get install libtool
-i parameter-r parameterFAQs
Find the nearest package.json then modify it inline by jq syntax
We found that pkg-jq 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.