
Research
/Security News
Intercom’s npm Package Compromised in Ongoing Mini Shai-Hulud Worm Attack
Compromised intercom-client@7.0.4 npm package is tied to the ongoing Mini Shai-Hulud worm attack targeting developer and CI/CD secrets.
pycluon
Advanced tools
A python wrapper around libcluon. pycluon aims to follow the API of libcluon as closely as possible to avoid surprises.
So far, pycluon wraps the following concepts from libcluon:
It also bundles the following command-line applications:
pycluon version | libcluon version | python versions |
|---|---|---|
| 0.1.0 | 0.0.140 | 3.7, 3.8, 3.9, 3.10 |
| 0.1.1 | 0.0.140 | 3.7, 3.8, 3.9, 3.10 |
| 0.1.2 | 0.0.140 | 3.7, 3.8, 3.9, 3.10 |
| 0.1.3 | 0.0.140 | 3.7, 3.8, 3.9, 3.10 |
| 0.2.0 | 0.0.140 | 3.7, 3.8, 3.9, 3.10 |
| 0.2.1 | 0.0.140 | 3.7, 3.8, 3.9, 3.10, 3.11 |
| 0.2.2 | 0.0.145 | 3.7, 3.8, 3.9, 3.10, 3.11 |
pycluon is available on PyPI:
pip install pycluon
Import an odvd specification into a python module
from pycluon.importer import import_odvd
my_module = import_odvd("/path/to/my/odvd/specification.odvd")
Send an envelope
import time
from pycluon import OD4Session, Envelope
session = OD4Session(111)
message = my_module.MyMessage()
envelope = Envelope()
envelope.sent = envelope.sampled = time.time()
envelope.serialized_data = message.SerializeToString()
envelope.data_type = 13
envelope.sender_stamp = 13
session.send(envelope)
Receive an envelope
import time
from pycluon import OD4Session
session = OD4Session(111)
def callback(envelope):
message = my_module.MyMessage()
message.ParseFromString(envelope.serialized_data)
print(f"Received at {envelope.received} seconds since epoch")
session.add_data_trigger(13, callback)
while session.is_running():
time.sleep(0.01)
Write to a shared memory area
from datetime import datetime
from pycluon import SharedMemory
sm = SharedMemory("frame.argb", 640*480)
sm.lock()
sm.timestamp = datetime.now()
sm.data = b"<bytes>"
sm.unlock()
sm.notify_all()
Read from an existing shared memory area
from pycluon import SharedMemory
sm = SharedMemory("frame.argb")
sm.wait() # Wait for notification from writing process
sm.lock()
print(sm.timestamp)
print(sm.data)
sm.unlock()
See the tests for usage of UDPSender, UDPReceiver, TCPConnection and TCPServer.
FAQs
A python wrapper around libcluon
We found that pycluon 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
Compromised intercom-client@7.0.4 npm package is tied to the ongoing Mini Shai-Hulud worm attack targeting developer and CI/CD secrets.

Research
Socket detected a malicious supply chain attack on PyPI package lightning versions 2.6.2 and 2.6.3, which execute credential-stealing malware on import.

Research
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.