01. Overview

ZeroAuth Developer Documentation

ZeroAuth hosts protected Lua & Luau scripts for Roblox and multi-runtime platforms, verifies software licenses, enforces hardware ID bindings, and provides live API status transparency across dedicated subdomains.

Platform & Console

https://zeroauth.qd.je/

API & Script Gateway

https://api.zeroauth.qd.je/

Key System Portal

https://key.zeroauth.qd.je/

Real-Time Status & Incidents

https://status.zeroauth.qd.je/

Documentation Portal

https://docs.zeroauth.qd.je/

02. Creating Projects

Each script suite or product maps to a Project in your ZeroAuth console. When creating a project you configure:

  • HWID Lock Policy: Enable or disable hardware fingerprint binding globally for the project.
  • Max Devices per Key: Number of distinct hardware fingerprints allowed per license (1 to 25).
  • Reset Cooldown Hours: Minimum waiting window between device resets (0 to 720 hours).

Upon creation, ZeroAuth displays a one-time za_live_... credential. Only its SHA-256 hash is retained in the database.

03. Script Hosting

Upload or write scripts directly in the Script Hosting tab. ZeroAuth supports Lua, Luau, TypeScript, JavaScript, and Python payloads up to 200 KB per script, computing an immutable SHA-256 checksum on every save.

  • POST-Only Delivery: Client loaders request POST /api/v1/scripts/[scriptId]. Direct browser or scraper GET requests are always rejected with HTTP 405 (ZA_FETCHER_BLOCKED).
  • Key Gating & Keyless Modes: Toggle requireKey per script to mandate valid license verification + HWID checks or allow keyless anti-fetch shielded delivery.

04. Authentication Flow

When your client runs, it submits the user's license key and a stable hardware fingerprint string (`hwid`) alongside your project API key.

  1. Verify sliding-window rate limit (60 requests/min per IP + project).
  2. Run Anti-Fetch Shield inspection (fetcher UA, proxy relay hops, IP quarantine).
  3. Validate optional single-use 30s challenge nonce proof.
  4. Locate the license key, verify expiration, and check/bind the SHA-256 HWID hash.

05. API Reference

POST /api/v1/scripts/[scriptId]

Validates anti-fetch headers, license key + HWID bindings (when `requireKey` is enabled), and streams the hosted script source along with project runtime variables.

POST /api/v1/scripts/scr_aim_01 Response (200 OK)
{
  "valid": true,
  "errorCode": "ZA_OK",
  "runtimeVars": { "CHANNEL": "stable" },
  "script": {
    "id": "scr_aim_01",
    "name": "Aimbot Core",
    "slug": "aimbot-core",
    "language": "luau",
    "version": "1.0.0",
    "checksumSha256": "8d969eef6ecad3c29a3a6292...",
    "scriptContent": "-- ZeroAuth Protected Script...",
    "requireKey": true
  }
}

POST /api/v1/verify

Authenticates an active license key and validates hardware binding.

Request Body (application/json)
{
  "apiKey": "za_live_...",
  "licenseKey": "ZA-XXXX-XXXX-XXXX-XXXX",
  "hwid": "client-hardware-fingerprint"
}

POST /api/v1/challenge & POST /api/v1/loader

Issues a 30-second single-use nonce (`SHA256-NONCE`), verifies the client's SHA-256 proof, and serves the active release payload. Direct `GET /api/v1/loader` requests return HTTP 405 (`ZA_FETCHER_BLOCKED`).

POST /api/v1/deploy

Pushes a new release from CI/CD using a scoped Bearer za_deploy_... token and optional runner IP allowlist enforcement.

POST /api/v1/sessions & HMAC Signatures

Maintains live Roblox executor sessions with 20s heartbeats, rotating 60s challenge tokens, flood ban thresholds, HMAC-SHA256 X-ZeroAuth-Signature response verification, and instant remote admin_disconnect termination from the Monitoring console.

06. Key Generation

Keys can be generated singly or in batches up to 50 from the Key Management tab: Permanent, Timed (starts on redemption), and Subscription.

07. HWID Management

Hardware identifiers are hashed with SHA-256 before persistence so raw machine serials are never stored in logs. Reset operations enforce `hwidResetCooldownHours` with explicit owner override.

08. Anti-Fetch & Proxy Shield

Configure multi-layered anti-abuse rules per project inside Anti-Fetch Shield: block automated CLI/headless fetchers, deny browser navigation dumps, reject multi-hop HTTP proxy relays, and auto-quarantine offending IP hashes.

09. CI/CD Deployments

Generate scoped za_deploy_... tokens with optional runner IP allowlists in the Deploy & SDK tab.

10. Error Codes

Error CodeHTTPDescription
ZA_OK200License key is active, unexpired, and matches HWID constraints.
ZA_INVALID_PROJECT_KEY401The supplied za_live_ project API key does not match any active project.
ZA_KEY_REQUIRED401Hosted script enforces key gating, but no licenseKey was supplied.
ZA_SCRIPT_NOT_FOUND404Requested hosted script ID does not exist or is not synced to edge memory.
ZA_SCRIPT_DISABLED403Hosted script endpoint has been paused by the developer.
ZA_PROJECT_DISABLED403Authentication is temporarily paused by the project owner.
ZA_INVALID_KEY404License key code was not found inside the target project.
ZA_KEY_REVOKED403License key was manually revoked and cannot authenticate.
ZA_KEY_EXPIRED403Timed or subscription license key has passed its expiration timestamp.
ZA_HWID_REQUIRED400Project enforces HWID locking, but no hwid field was provided.
ZA_HWID_MISMATCH403Hardware fingerprint differs from the device currently bound to this key.
ZA_DEVICE_LIMIT403Maximum bound device quota for this key has been reached.
ZA_FETCHER_BLOCKED403 / 405Automated CLI/scraper agent, GET script/loader dump, or browser navigation attempt rejected.
ZA_PROXY_RELAY_DETECTED403Multi-hop X-Forwarded-For chain (>2 hops) or Via/Forwarded proxy relay header blocked.
ZA_CHALLENGE_REQUIRED403Project mandates a signed single-use nonce from POST /api/v1/challenge.
ZA_CHALLENGE_EXPIRED403Issued challenge nonce exceeded its 30-second validity window.
ZA_REPLAY_DETECTED403Single-use challenge nonce was already consumed; replay attack rejected.
ZA_IP_QUARANTINED429IP address temporarily quarantined for 15 minutes after exceeding strike threshold.
ZA_INVALID_DEPLOY_TOKEN401CI/CD push missing or carrying an invalid Bearer za_deploy_... credential.
ZA_DEPLOY_IP_NOT_ALLOWED403CI runner IP is not present in the project allowedDeployIps allowlist.
ZA_RATE_LIMITED429Sliding-window limit (60 requests/min per IP + project) exceeded.
ZA_SESSION_KICKED403Live client session terminated remotely by project administrator (admin_disconnect).
ZA_SESSION_RATE_LIMITED429Session heartbeat flood detected; repeated violations trigger a temporary 60s ban.
ZA_INVALID_SIGNATURE403HMAC-SHA256 signature or rotating session challenge proof verification failed.

11. Roblox Luau SDK & Loader Integration

Use the single-line Roblox loadstring (with raw=true) or full challenge handshake loader.

Open Dedicated SDK Guide
Roblox Single Loadstring (POST raw=true)
loadstring((request or http_request or (syn and syn.request) or (fluxus and fluxus.request))({Url="https://api.zeroauth.qd.je/api/v1/scripts/scr_YOUR_ID",Method="POST",Headers={["Content-Type"]="application/json",["X-ZeroAuth-Client"]="zeroauth-roblox/1.0"},Body=game:GetService("HttpService"):JSONEncode({projectId="proj_YOUR_ID",licenseKey=ZA_KEY or (getgenv and getgenv().ZA_KEY),hwid=ZA_HWID or (getgenv and getgenv().ZA_HWID),raw=true})}).Body)()

12. Discord Bot Integration & Permissions

Add the ZeroAuth Discord bot to your server, configure your Guild ID, Owner Discord ID, and za_live_... key in your dashboard, and route commands through POST /api/v1/bot.

Open Discord Bot Setup Guide
Covers adding the ZeroAuth Discord bot to your server using the official OAuth2 invite URL, configuring your server settings, member self-service commands (/redeem, /getscript, /resethwid), and strictly Server Owner Only sensitive commands (/panel, /genkey, /revoke, /lookup).