
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
ebpf-support
Advanced tools
A Node.js package to check if the system supports eBPF and return related metadata
A Node.js package to check if the system supports eBPF and return related metadata.
npm install ebpf-support
const { isEbpfSupported, checkEbpfSupport } = require('ebpf-support');
// Simple check
if (isEbpfSupported()) {
console.log('eBPF is supported on this system');
} else {
console.log('eBPF is not supported on this system');
}
// Get detailed metadata
const metadata = checkEbpfSupport();
console.log(metadata);
The checkEbpfSupport()
function returns an object with the following properties:
Property | Type | Description |
---|---|---|
supported | boolean | Whether eBPF is supported on the system |
kernelVersion | string | The kernel version of the system |
bpfConfigEnabled | boolean | Whether BPF is enabled in the kernel config |
bpfSyscallEnabled | boolean | Whether BPF syscall is enabled |
bpfJitEnabled | boolean | Whether BPF JIT compiler is enabled |
bpfJitAlwaysOn | boolean | Whether BPF JIT is always on |
bpfFilesystemMounted | boolean | Whether BPF filesystem is mounted |
bpfToolAvailable | boolean | Whether bpftool is available on the system |
bpfFeatures | object | Detailed BPF features from bpftool (if available) |
configFlags | object | BPF-related kernel config flags |
reason | string | Reason why eBPF is not supported (if applicable) |
Run the tests using Node.js's built-in test runner:
npm test
MIT
FAQs
A Node.js package to check if the system supports eBPF and return related metadata
We found that ebpf-support demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.