
Research
/Security News
Mini Shai-Hulud Campaign Hits Red Hat Cloud Services npm Packages
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.
@neurodevs/node-ble-scanner
Advanced tools
Scan for Bluetooth Low Energy (BLE) peripherals
Install the package using npm:
npm install @neurodevs/node-ble-scanner
Or yarn:
yarn add @neurodevs/node-ble-scanner
To scan for specific BLE peripherals by their uuids:
import { BleScannerImpl } from '@neurodevs/node-ble-scanner'
async function discoverPeripherals() {
const uuids = ['uuid-for-your-bluetooth-peripheral']
const scanner = BleScannerImpl.Create()
const peripherals = await scanner.scanForPeripherals(uuids)
console.log('Discovered Peripherals:', peripherals)
}
For testing, you can replace the BleScannerImpl class with test doubles:
import {
BleScannerImpl,
FakeBleScanner,
SpyBleScanner
} from '@neurodevs/node-ble-scanner'
// Use for a fake implementation with validations for user interactions
BleScannerImpl.Class = FakeBleScanner
// Use to test real behavior with enhanced internal visibility
BleScannerImpl.Class = SpyBleScanner
const scanner = BleScannerImpl.Create()
If you use the SpyBleScanner test double (or any other test double you create which extends BleScannerImpl), then it will use the real noble library unless otherwise set, which is an open-source package that manages the lower-level Bluetooth connection.
You can also fake noble so that you do not require actual BLE hardware in your tests:
import {
BleScannerImpl,
FakeNoble,
} from '@neurodevs/node-ble-scanner'
BleScannerImpl.noble = new FakeNoble()
const scanner = BleScannerImpl.Create()
FAQs
Scan for Bluetooth Low Energy (BLE) devices
The npm package @neurodevs/node-ble-scanner receives a total of 4 weekly downloads. As such, @neurodevs/node-ble-scanner popularity was classified as not popular.
We found that @neurodevs/node-ble-scanner 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.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.

Research
/Security News
The North Korean malware loader hides in a Packagist-listed package and its GitHub branch to fetch and execute remote code in a likely Contagious Interview-style lure.

Security News
The Rust project is moving toward formal rules on LLM use in contributions after months of internal debate over maintainer burden, code quality, and contributor experience.