Scan your whole stack
From OX Research Newsroom
Are you using pygsi-cs2?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.1.2
pygsi-cs2 was last scanned on 29 Nov 2026 at version 0.1.2. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.1.2 LATEST | 29 Nov 2026 | No rules fired |
| 0.1.1 | 29 Nov 2026 | No rules fired |
| 0.1.0 | 29 Nov 2026 | No rules fired |
Findings for v0.1.2. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.1.2; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
A Python library to interface with CS2's Game State Integration (GSI).
pygsi runs the server that CS2 sends its game state to while you play. It parses each payload into typed Pydantic models, keeps the latest state for each player it tracks, and calls your async handlers when something happens, like a round starting, the bomb being planted, or a kill. It's built for players in a match, one or several at once, not for spectators or observers.
pygsi needs Python 3.11 or newer. It's called pygsi-cs2 on PyPI, and you import it as pygsi:
pip install pygsi-cs2
CS2 also needs a config file that tells it where to send updates. Installation and CS2 Setup has the file and where to put it. Then a script like this prints a line for every kill:
from pygsi import GSIServer, PlayerMatchStats
gsi = GSIServer(player_ids="76561198000000000") # your SteamID64
@gsi.on_local_player_kill
async def kill(
player_id: str, old: PlayerMatchStats | None, new: PlayerMatchStats
) -> None:
print(f"Kill! That's {new.kills} this match")
gsi.run()
The Quick Start walks through a longer version, and example/ has a script that logs every event.
The book covers the events, the game state, tracking several players, and every type. To build it locally, install mdBook and run mdbook serve docs --open.
The book's CS2 GSI spec describes the GSI protocol itself: the config file, every payload field, and what CS2 actually sends. It's a draft, checked against captured payloads, and it will change as the open items it lists get settled.
You'll need uv. CI runs these checks:
uv sync --group dev --group test
uv run ruff format --check src tests example
uv run ruff check src tests example
uv run mypy src
uv run pytest tests
The tests replay real CS2 payloads from a practice match, stored in tests/fixtures.json, so they don't need the game.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.