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

moderngl

Latest version: v6.0.0b2

Overview

Last scanned
24 Nov 2026
Published
24 Nov 2026
PyPI package Publisher: cprogrammer1994, einarf, szabolcsdombi
2,349 Stars
243 Forks
2 Versions
1.0M Downloads
C Repo language

Scan summary

moderngl was last scanned on 24 Nov 2026 at version 6.0.0b2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 2 versions, all published within 6 days (19–24 Nov 2026).
  • Findings: No rules fired in version 6.0.0b2.
  • Downloads: 1,043,680 downloads.

Versions

2 versions published
Versions and the rules that fired in each
VersionPublishedStatus
6.0.0b2 LATEST 24 Nov 2026 No rules fired
6.0.0b1 19 Nov 2026 No rules fired

No rules fired in 6.0.0b2

Findings

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

README

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

preview

ModernGL

ModernGL is a thin Python layer over OpenGL 3.3 core. It keeps the OpenGL model, removes the boilerplate and checks what can be checked up front. No dependencies, the window comes from your own library of choice, and the same code runs in the browser with Pyodide and WebGL2.

pip install --pre moderngl

Features

  • Python 3.11 or newer, the free-threaded build included
  • No dependencies, no OpenGL headers or libraries needed to build
  • The window comes from your own library of choice (pygame-ce, moderngl-window, pyglet, glfw, ...)
  • Headless rendering with moderngl.headless_context(), no extra package, no display server, see Headless
  • Compute shaders, storage buffers and indirect drawing on OpenGL 4.3, storage images on OpenGL 4.2
  • Newer OpenGL features (mesh shaders, GPU draw counts, queries) through small extension modules

Sample usage

>>> import moderngl
>>> ctx = moderngl.get_context()
>>> buf = ctx.buffer(b'Hello World!')  # allocated on the GPU
>>> buf.read().wait()
b'Hello World!'

The examples run from the repository root, their dependencies are pinned in requirements.txt:

pip install -r requirements.txt
python examples/hello_triangle.py

TODO

  • Upgrade moderngl-window to ModernGL 6
  • Test the Windows and macOS builds
  • Test an ANGLE build to run ModernGL on macOS without OpenGL

Citation

If you need to cite this repository in academic research:

@Online{Dombi2020,
  author = {Szabolcs Dombi},
  title = {ModernGL, high performance python bindings for OpenGL 3.3+},
  date = {2020-05-01},
  publisher = {GitHub},
  journal = {GitHub repository},
  howpublished = {\url{https://github.com/moderngl/moderngl}},
  commit = {<insert hash if needed>}
}

The commit hash can be found in the Releases.

Community

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 moderngl

References

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

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

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?

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Frame 2085668439 (1)
Group 1261154229