
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.
zkteco-terminal
Advanced tools
A Node.js client for communicating with ZKTeco standalone attendance devices (e.g., ZKTeco K14, K40, etc.) via TCP/IP. This package allows developers to interact with biometric attendance terminals by sending raw protocol commands, retrieving real-time logs, managing users, and accessing attendance records directly.
npm i zkteco-terminal
import zkClient from 'zkteco-terminal';
async function main() {
const zkClient = new zkClient({ ip: '192.168.1.4', port:4370 });
try {
await zkClient.createSocket(async (status) => {
if (status) {
await zkClient.enableDevice();
await zkClient.getRealTimeLogs(async (data) => {
console.log('real time data', data);
});
}
});
} catch (err) {
console.error('Failed:', err);
} finally {
zkClient.close();
}
}
main();
To get started:
git clone https://github.com/shax26/zkteco-terminal.git
The library includes an executeCmd function designed to run ZK protocol commands easily.
You can explore the full list of available commands by visiting the official ZK Protocol documentation. Once you've found the command you need, simply pass it into the executeCmd function like so:
executeCmd('YourCommandHere');
Notes
-----
- Ensure your ZKTeco device is accessible over LAN and the correct IP/port is set.
- This package communicates directly over raw TCP, not via HTTP or SDK.
- Not affiliated with ZKTeco.
License
-------
MIT
FAQs
A useful utility library
The npm package zkteco-terminal receives a total of 2 weekly downloads. As such, zkteco-terminal popularity was classified as not popular.
We found that zkteco-terminal 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
/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.