
Research
/Security News
Toptal’s GitHub Organization Hijacked: 10 Malicious Packages Published
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
A primitive zero-configuration local network protocol purely written in python, originally intended for tinkering with your office mates over LAN!
⚠️ Work In Progress
STMP: Sitty Talky Messaging Protocol : A primitive zero-configuration local network protocol purely written in python, originally intended for tinkering with your office mates over LAN! Created as part of my side project Sitty Talky (hence the name).
Python>=3.11 (As it currently uses loop.sock_recvfrom
in asyncio
the minimum python version requirement is 3.11, Otherwise should go with the loop.run_in_executor
based implementation, which I'm not interested in (anyway it will reduce the requirement to py3.7))
Internally uses Pycryptodome for rsa cryptography.
Unix (probably) as the system is tested only on Unix (GNU/Linux to be specific)
STMP package can be installed from PyPi using
pip install stmp-server
Or directly from github using
pip install 'stmp-server @ git+https://github.com/bRuttaZz/stmp.git'
An example use case is demonstrated bellow. (see example)
Start a listener process
from stmp import STMPServer
from stmp.interfaces import Packet, Peer
app = STMPServer()
@app.route("/test-route")
def test_route_func(packet:Packet):
print(f"Message got from {packet.headers.user}@{packet.sender} : {packet.data}")
# bind events
@app.on_peer_list_update
def peer_list_change(new_peer:Peer, removed_peers:list[Peer]):
print(f"Peer list changed : new peer -> {new_peer.user}@{new_peer.ip}" +
f" : removed peers -> {len(removed_peers)}")
if __name__=="__main__":
print(f"starting server ...")
app.run()
Send messages to it using another client over a LAN network
from stmp import STMPServer
app = STMPServer()
if __name__=="__main__":
app.broadcast("/test-route", "hi dear")
# app.send_to_peer() # work only if peers are discovered (uses TCP)
FAQs
A primitive zero-configuration local network protocol purely written in python, originally intended for tinkering with your office mates over LAN!
We found that stmp-server 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
Threat actors hijacked Toptal’s GitHub org, publishing npm packages with malicious payloads that steal tokens and attempt to wipe victim systems.
Research
/Security News
Socket researchers investigate 4 malicious npm and PyPI packages with 56,000+ downloads that install surveillance malware.
Security News
The ongoing npm phishing campaign escalates as attackers hijack the popular 'is' package, embedding malware in multiple versions.