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

lazy-ninja

Latest version: v0.8.0

Overview

Last scanned
1 Dec 2026
Published
1 Dec 2026
PyPI package Publisher: AghastyGD
55 Stars
3 Forks
1 Versions
148 Downloads
Python Repo language

Scan summary

lazy-ninja was last scanned on 1 Dec 2026 at version 0.8.0. Risk score 45 of 100 (medium). High-severity rules fired.

  • Releases: First and only release on 1 Dec 2026.
  • Findings: 1 rule fired in version 0.8.0 (1 high). The score describes this version only.
  • Downloads: 148 downloads.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
0.8.0 LATEST 1 Dec 2026 1 rule fired

Rules fired in 0.8.0: 1

Findings

1 High

Findings for v0.8.0. 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.

Encoded data placed in a DNS lookup

A DNS lookup command (nslookup, dig or host) takes its query name from a subshell that first encodes the data, for example with base64 or xxd. Encoding the name turns a lookup into a way to send data to the nameserver of the queried domain. Ordinary diagnostic lookups have no encoding step.

HIGH
Checking access…

🔒 Create a free account to see all 1 finding with descriptions and instance counts

The score describes 0.8.0; other versions have their own rules, not their own score.

README

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

Lazy Ninja

Lazy Ninja is a Django library that simplifies the generation of API endpoints using Django Ninja. It dynamically scans your Django models and generates Pydantic schemas for listing, retrieving, creating, and updating records. The library also allows you to customize behavior through hook functions (controllers) and schema configurations.

By leveraging Django Ninja, Lazy Ninja provides automatic, interactive API documentation via OpenAPI, making it easy to visualize and interact with your endpoints.


Installation

Install Lazy Ninja with either pip or uv:

# Option 1: pip
pip install lazy-ninja

# Option 2: uv
uv add lazy-ninja

For contributors, the project now uses uv as the default package manager and runner:

git clone https://github.com/AghastyGD/lazy-ninja.git
cd lazy-ninja
uv sync --group dev --all-extras
uv run pytest
uv Quick Setup
# Install uv (one-time)
curl -LsSf https://astral.sh/uv/install.sh | sh

# Create/sync local environment from lockfile
uv sync --group dev --all-extras

# Run commands inside the managed environment
uv run pytest
uv run mkdocs serve -f docs/mkdocs.yml

The repository includes uv.lock to provide deterministic, reproducible environments.


Quick Start

Here’s a simple example of integrating Lazy Ninja into your Django project:

from ninja import NinjaAPI
from lazy_ninja.builder import DynamicAPI 

api = NinjaAPI()
auto_api = DynamicAPI(api)
auto_api.init()

Add api.urls to your urls.py to expose the endpoints.


Features

  • Automatic Endpoints: Instantly generate API routes for your Django models.
  • Dynamic Schema Generation: Automatically create Pydantic schemas for your models.
  • Custom Controllers: Customize route behavior with hooks like before_create and after_update.
  • Built-in Filtering, Sorting, and Pagination: Simplify data handling with query parameters.
  • Interactive Documentation: Swagger UI and ReDoc support out of the box.

Roadmap

  • [x] Basic CRUD operations
  • [x] Asynchronous support
  • [x] Filtering, sorting, and pagination
  • [x] File upload support
  • [x] JWT authentication, including bearer and cookie flows
  • [x] Opt-in role-based authorization for generated CRUD routes (guide)
  • [x] Forward many-to-many and one-to-one relationships (guide)
  • [ ] Generated reverse and custom-through relationship workflows

The next release should include authentication security fixes, opt-in CRUD authorization, and forward relationship support. Reverse and custom-through relationship workflows remain future work; no release date is scheduled.


Contributing

Contributions are welcome! Feel free to fork the repository and submit a pull request with any improvements or bug fixes.


License

This project is licensed under the MIT License.\ See the LICENSE file for details and full license text.


Learn More

For complete documentation, including advanced usage, configuration options, and examples, visit the Lazy Ninja Documentation.

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 lazy-ninja

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

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Copy of Template Design OX Blog (2)
Research

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

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Frame 2085668439 (1)
Group 1261154229