Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

pyrat-game

Latest version: v6.8.1

Overview

Last scanned
26 Nov 2026
Published
26 Nov 2026
PyPI package Publisher: Layalouhamesh
7 Stars
1 Forks
7 Versions
1.9K Downloads
Python Repo language

Scan summary

pyrat-game was last scanned on 26 Nov 2026 at version 6.8.1. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 7 versions; the latest was published on 26 Nov 2026.
  • Findings: No rules fired in version 6.8.1.
  • Downloads: 1,884 downloads.

Versions

7 versions published
Versions and the rules that fired in each
VersionPublishedStatus
6.8.1 LATEST 26 Nov 2026 No rules fired
6.8.0 9 Nov 2026 No rules fired
6.7.2 20 Oct 2026 No rules fired
6.7.1 19 Oct 2026 Not shown
6.7.0 15 Oct 2026 Not shown

No rules fired in 6.8.1

Findings

Findings for v6.8.1. 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 6.8.1; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Prerequisites

  • This installation procedure assumes that you have basic knowledge about shell manipulation.

  • PyRat uses uv to manage Python and the libraries it needs. \ You do not need to install Python yourself: uv takes care of it, and downloads the version PyRat needs if your machine does not have it.

  • Finally, we will test PyRat installation using Visual Studio Code (VSCode), as this is the main tool we use in the associated course. Please make sure it is already installed, or install it from the official website. Note that you can use a different tool if you want, but we just provide indications for that one here.

Install uv

If uv is not installed on your machine yet, install it as follows:

  • Linux: curl -LsSf https://astral.sh/uv/install.sh | sh.
  • MacOS: curl -LsSf https://astral.sh/uv/install.sh | sh.
  • Windows (PowerShell): powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex".

Other installation methods are described in the uv documentation. \ Then, close and reopen your terminal, and check that uv is available by running uv --version.

Setup your PyRat workspace

We are now going to create a workspace for PyRat. \ This is a directory that contains minimal working examples to get started, and in which PyRat is installed. \ To do so, follow these steps:

  1. Open a terminal, and navigate (use the cd command) to the directory where you want to create your PyRat workspace.
  2. Run the following command (it is the same on all systems): uvx --python 3.14 --from pyrat-game pyrat-init.

[!NOTE] PyRat works with Python 3.10 to 3.15. \ The command above asks uv to use Python 3.14, as some libraries you may want to add to your workspace later (OR-Tools for instance) are not available yet for Python 3.15. \ You can ask for another version by changing the number in the command. \ Your workspace records this version in its .python-version file, and keeps using it even if you install a more recent one later.

You should see something like this:

Workspace created in /path/to/pyrat_workspace, as a uv project using Python 3.14
Git repository created for the workspace
Using CPython 3.14.7
Creating virtual environment at: .venv
Resolved 30 packages in 178ms
Installed 17 packages in 45ms
Virtual environment created, with PyRat installed in it
Your workspace is ready! You can now start coding your players and run games.
To run a game, go to the workspace using 'cd pyrat_workspace', then use for instance 'uv run games/sample_game.py'.

You should have a new directory called pyrat_workspace in the directory where you ran the command. \ It contains a players directory and a games directory, which is where your own programs live. \ If you prefer another name for the workspace, pass it to the command, as in uvx --python 3.14 --from pyrat-game pyrat-init my_project.

Check your installation

Now, we are going to verify that PyRat works properly. \ To do so, follow these steps:

  1. Open a terminal, and navigate to your workspace using cd pyrat_workspace.
  2. Run the sample game as follows: uv run games/sample_game.py.

You can also run your games from VSCode. \ To do so, follow these steps:

  1. Open VSCode, and add your pyrat_workspace directory in your VSCode workspace.
  2. Open the file sample_game.py in directory games/.
  3. Make sure VSCode is using the interpreter located in the .venv directory of your workspace.
  4. Run sample_game.py.

In both cases, you should see something like this:

Add other libraries to your workspace

Your workspace is a uv project, so you can add any library you need to it. \ To do so, run uv add from your workspace, as in uv add numpy. \ The library is then available in your players and games, with no need to activate anything.

Rebuild your workspace

A workspace describes everything it needs in its pyproject.toml and uv.lock files, so it can always be rebuilt. \ Run this from the workspace, for instance after cloning it on another machine, or if one of its libraries goes missing:

uv sync

This installs again everything the workspace declares, in a virtual environment created for the machine it runs on.

Renaming or moving a workspace needs nothing: its programs keep importing each other, wherever the workspace is.

Troubleshooting

  • In case of a problem, please check the existing GitHub issues first.

  • If the problem persists, you can add an issue of your own.

  • For students at IMT Atlantique, you can also ask your questions on the Discord server of the course.

  • Finally, you can contact Bastien Pasdeloup directly.

OX Radar and Response Center

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.

Where it’s listed

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).

  • pypi-releases pyrat-game

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Frame 2085668439 (1)
Group 1261154229