
Security News
Cline CLI npm Package Compromised via Suspected Cache Poisoning Attack
A compromised npm publish token was used to push a malicious postinstall script in cline@2.3.0, affecting the popular AI coding agent CLI with 90k weekly downloads.
pyxtcp
Advanced tools
HTTP-based communication protocol, RPC protocol
You can install pyxtcp from PyPI with
.. sourcecode:: bash
$ pip install pyxtcp
format:
.. sourcecode:: text
/topic/method?v={params}
server
.. sourcecode:: python
#!/usr/bin/env python
# coding=utf-8
import logging
logging.basicConfig(level=logging.DEBUG)
from pyxtcp.http import RPCServer, Service
service = Service()
class CompanyService(object):
@staticmethod
@service.with_f_rpc
def get_company_by_company_id(company_id):
logging.warn(("HiHi", company_id))
return "wwwwwwwwwwwwwwwww{}".format(company_id)
if __name__ == "__main__":
port = 8001
app = RPCServer(8001, "0.0.0.0")
app.add_service(service)
app.run()
client
.. sourcecode:: python
#!/usr/bin/env python
# coding=utf-8
import logging
logging.basicConfig(level=logging.INFO)
from pyxtcp.http import RPCClient
company = RPCClient("localhost:8001").service_name("CompanyService")
logging.info(company.get_company_by_company_id(company_id=7))
If you need help using pyxtcp or have found a bug, please open a github issue_.
.. _github issue: https://github.com/nashuiliang/xtcp/issues
FAQs
Tcp-based communication protocol, RPC protocol
We found that pyxtcp 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.

Security News
A compromised npm publish token was used to push a malicious postinstall script in cline@2.3.0, affecting the popular AI coding agent CLI with 90k weekly downloads.

Product
Socket is now scanning AI agent skills across multiple languages and ecosystems, detecting malicious behavior before developers install, starting with skills.sh's 60,000+ skills.

Product
Socket now supports PHP with full Composer and Packagist integration, enabling developers to search packages, generate SBOMs, and protect their PHP dependencies from supply chain threats.