
Research
/Security News
77 Firefox Extensions Linked to Crypto Wallet and Credential Theft
Socket uncovered 77 linked Firefox extensions, including 40 that steal wallet secrets or credentials and 37 deceptive sports-score shells.
@cloudelements/jmespath
Advanced tools
A JavaScript implementation of JMESPath, which is a query language for JSON. It will take a JSON document and transform it into another JSON document through a JMESPath expression. This fork was originally based from the daz-is/jmespath.js fork, which is highly recommended to leverage instead of this project. This fork exists for strict compliance, security, and organizational feature deviation purposes alone.
const jmespath = require('jmespath');
jmespath.search({foo: {bar: {baz: [1, 2, 3]}}}, 'foo.bar.baz[2]')
3
$ npm install --save @cloudelements/jmespath
Custom functions can be added to the JMESPath runtime by using the decorate function:
function customFunc(resolvedArgs) {
return resolvedArgs[0] + 99;
}
const extraFunctions = {
custom: {_func: customFunc, _signature: [{types: [jmespath.types.TYPE_NUMBER]}]},
};
jmespath.decorate(extraFunctions);
The value returned by the decorate function is a curried function (takes arguments one at a time) that takes the search expression first and then the data to search against as the second parameter:
jmespath.decorate(extraFunctions)('custom(`1`)')({})
100
Because the return value from decorate is a curried function the result of compiling the
expression can be cached and run multiple times against different data:
const expr = jmespath.decorate({})('a');
let value;
value = expr({a: 1});
assert.strictEqual(value, 1);
value = expr({a: 2});
assert.strictEqual(value, 2);
FAQs
JMESPath implementation in JavaScript
The npm package @cloudelements/jmespath receives a total of 259 weekly downloads. As such, @cloudelements/jmespath popularity was classified as not popular.
We found that @cloudelements/jmespath demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 39 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.

Research
/Security News
Socket uncovered 77 linked Firefox extensions, including 40 that steal wallet secrets or credentials and 37 deceptive sports-score shells.

Security News
NIST disclosed an unreleased AI tool called V-etalon and opened a broad inquiry into NVD modernization after years of automation plans produced no public enrichment system.

Security News
In his AI Council 2026 talk, Feross Aboukhadijeh covers recent package compromises, vulnerability discovery, and a more automated security model.