
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
node-osquery
Advanced tools
`node-osquery` is a module that provides a convenient interface for interacting with [OSQuery](https://osquery.io/). This allows for easy access to system data exposed by OSQuery, all within a JavaScript environment.
node-osquery is a module that provides a convenient interface for interacting with OSQuery. This allows for easy access to system data exposed by OSQuery, all within a JavaScript environment.
To use node-osquery, you must have OSQuery installed on your system. OSQuery exposes an operating system as a high-performance relational database, and this module provides methods to interact with that data. To install OSQuery and learn more about its capabilities, please refer to the official OSQuery documentation.
You can install this module via npm using the following command:
npm install --save node-osquery
or using yarn:
yarn add node-osquery
You can import and use the methods provided by this package as follows:
const { runOSQuery } = require('node-osquery');
// OR with ES6 import
import { runOSQuery } from 'node-osquery';
import { getWifiSurvey } from 'node-osquery';
const main = async () => {
const result = await runOSQuery('select * from users');
console.log(result);
};
main().catch(console.error);
getWifiSurvey().then((data) => {
console.log(data);
});
To run the test suite, execute the following command:
yarn test
I appreciate your contributions! Please feel free to submit a pull request or open an issue on the repository.
This project is licensed under the MIT License.
FAQs
`node-osquery` is a module that provides a convenient interface for interacting with [OSQuery](https://osquery.io/). This allows for easy access to system data exposed by OSQuery, all within a JavaScript environment.
The npm package node-osquery receives a total of 0 weekly downloads. As such, node-osquery popularity was classified as not popular.
We found that node-osquery 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.