# GHSA-Q7GH-HF5C-WM2G: Malicious code in msgpackrpc (PyPI)

- Database: GitHub
- Malicious package: yes
- Published: 2026-11-04
- Modified: 2026-11-12

## Affected versions

- msgpackrpc (PyPI): 0.0.0
- msgpackrpc (PyPI): 0.1.0

## Description

## Source: kam193 (9747a902bd61a745ec9c8f569f57417303f828b441c3e4e8c95101adf1498d13)
Installing the package or importing the module exfiltrates basic information about the host, and the package has no other purpose.


---

Category: PROBABLY_PENTEST - Packages looking like typical pentest packages, but also anything that looks like testing, exploring pre-prepared kits, research & co, with clearly low-harm possibilities.


Campaign: GENERIC-standard-pypi-install-pentest


Reasons (based on the campaign):


 - The package contains code to exfiltrate basic data from the system, like IP or username. It has a limited risk.


 - The package overrides the install command in setup.py to execute malicious code during installation.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/d52e5cd0c1e0b9d7d932404ce78544f14d9dffa7/osv/malicious/pypi/msgpackrpc/MAL-2026-18627.json))

## References

- https://bad-packages.kam193.eu/pypi/package/msgpackrpc
- https://github.com/ossf/malicious-packages/blob/d52e5cd0c1e0b9d7d932404ce78544f14d9dffa7/osv/malicious/pypi/msgpackrpc/MAL-2026-18627.json
- https://github.com/ossf/malicious-packages/blob/00ba0f9dc1ee64274671d1a3ab183c60990d0435/osv/malicious/pypi/msgpackrpc/MAL-2026-18627.json
- https://pypi.org/project/msgpackrpc/0.1.0
- https://github.com/advisories/GHSA-q7gh-hf5c-wm2g

Page: https://cve.now/GHSA-Q7GH-HF5C-WM2G

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
