
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.
json-response-checker
Advanced tools
Check the JSON response of a URL once or continuously with a timeout (e.g. to verify a deployment)
Check the JSON response of a URL once or continuously with a timeout (e.g. to verify a deployment)
See test.js and index.js for more information
var gulp = require('gulp');
var JSONResponseChecker = require('json-response-checker');
gulp.task('verify:version', function(done) {
var maxTimeout = 60 * 1000;
var url = process.env.VERSION_URL
var expected = process.env.COMMIT_HASH
function getActual(obj) { return obj.commit.hash }
var checker = new JSONResponseChecker(url, expected, getActual)
checker.checkContinuously(maxTimeout, done);
})
You can run use this to verify deployment by having your CI server run a command like this:
COMMIT_HASH=407b2ca49870a35e1aa487821735906935de7a9c VERSION_URL="https://example.com/version" gulp verify:version
FAQs
Check the JSON response of a URL once or continuously with a timeout (e.g. to verify a deployment)
We found that json-response-checker 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.