Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
knx-listener
Advanced tools
A thin client that creates a tunnel to knx gateway to listen to telegrams within knx net
A thin client to monitor, write and read telegrams through KNX gateway
npm install --save knx-listener
Usage bin/busmonitor.js -s <ip address>
Options:
-t, --timeout Seconds to retry, 0 - fail on first attemp [default: 0]
-p, --port Remote port number [default: 3671]
-s, --server Remote ip address [required]
-h, --help Show help [boolean]
node bin/busmonitor -s 192.168.0.100
1
to 0/0/1
through 192.168.0.100
Usage bin/groupswrite.js -s <ip address> -g <group address> -d <XX:XX:..>
Options:
-s, --server Remote ip address [required]
-p, --port Remote port number [default: 3671]
-g, --groupAddress Group address to issue the write telegram to [required]
-d, --data Data to write [required]
-h, --help Show help [boolean]
node bin/groupswrite -s 192.168.1.100 -g 0/0/1 -d 01
0/0/1
through 192.168.0.100
Usage bin/groupsread.js -s <ip address> -g <group address>
Options:
-s, --server Remote ip address [required]
-p, --port Remote port number [default: 3671]
-g, --groupAddress Group address to issue the read telegram to [required]
-h, --help Show help [boolean]
node bin/groupsread -s 192.168.0.100 -g 0/0/1
const KnxListener = require("knx-listener");
// 1. Initialize bus listener
const client = new KnxListener.BusListener();
// helper to terminate tunnel
const die = () => {
return client.disconnect().then(
() => process.exit(),
() => process.exit(),
);
};
// 2. Establish tunneling with recovery time of 1s
client.bind("192.168.1.105", 3671, {
timeout: 1000,
});
// 3. Print processed queries to the console
client.on("query", console.log);
client.ready(() => {
// 4. When connection is established
// 5. Send read telegram and receive response with data
client.read(KnxListener.utils.knxAddr2num("0/0/1")).then((res) => {
console.log("Remote responded with", res);
}, (err) => {
console.error("Request failed", err);
});
// 6. Send write telegram with data 0xFF to the group address 0/0/2
client.write([0xFF], KnxListener.utils.knxAddr2num("0/0/2")).then(() => {
console.log("Success");
}, (err) => {
console.error("Request failed", err);
});
});
// ctrl+c to exit
process.on('SIGINT', die);
JSDoc
REST API
with express
ETS
project parser to getreturn last values
on demandKNX gateway
thick
clients (rich & mobile apps)FAQs
A thin client that creates a tunnel to knx gateway to listen to telegrams within knx net
The npm package knx-listener receives a total of 6 weekly downloads. As such, knx-listener popularity was classified as not popular.
We found that knx-listener 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.