Enigmatic Red — research-lab beta

Security testing.
Proof at every step.

A local assessment agent for infrastructure you are authorised to test. Scope gates every target; the guard checks every action; the audit trail records runs and refusals.

Contact us Run our beta See the runs

About us — what we do

Independent research. One agent. Verifiable work.

Enigmatic Red is an independent, one-person research project, not a company. There is no registered company number. The free beta runs locally: no accounts, no billing.

We build one self-hosted assessment agent and publish the research behind it. Every claim must be reproducible: leads stay leads until evidence confirms them, and unsupported checks are marked not tested. See the coverage page for what this beta does and does not assess.

Questions, security reports and takedown requests: [email protected].

Answers are retrieved, not recalled. The agent looks passages up in a local reference corpus — OWASP WSTG and ASVS, MITRE CWE, the NIST NVD feed, the Juliet test suite, and public prompt-injection and harmful-behaviour benchmarks — and prints the publisher, version, URL, licence and record id beside every passage it uses. Retrieved text is carried as untrusted data, never as instructions, and the corpus is acquired, licence-checked and checksum-pinned on your machine: no corpus text ships in the wheel. Evaluation fixtures are kept out of the reference index, and two candidate collections were refused outright — one because its download has no stable address, one because no licence could be established.

How it works

Six phases. One traceable run.

The framework runs from signed scope to findings and export. Scope, approval and guard rules can stop an action at any step.

Infrastructure

Open services and versions, misconfigurations, weak TLS and exposed admin planes. Default credentials are never brute forced.

Web application

Content discovery, auth and session logic, injection classes, access control and IDOR, headers, CORS.

Cloud security

Public buckets, over-permissive policy documents, exposed managed services and logging gaps. Read-only: it never mutates cloud state.

AI security

Prompt injection and jailbreaks, system-prompt and tool-definition extraction, insecure output handling, excessive agency, retrieval leakage.

Real runs, not mockups

5 runs from one session

Five real runs from one signed-scope lab session. Inspect each request, the exact command, tool output and audit entry. Four of five requests were refused; the log shows why.

Reconnaissance that runs

allowed

You askScan the web host we have in scope and tell me what is exposed.

portstateserviceproduct
8000/tcpopenhttp-altlab-asset/1.0
8080/tcpopenhttp-proxylab-asset/1.0

1 host up, 2 open services, 2.57 s of scanner time; 6,270 bytes of XML parsed into that table, 2,772 ms wall clock for the process.

Active enumeration with scope, a dated attestation and an audit entry written before the process started.

the command it was asked to run
tool callreturncode 0
$ nmap -Pn -sV -oX - -p 8000,8080 --max-rate 200 127.0.0.1
the log lines — 2 entries, quoted verbatim
audit trail2 entries
seq 1  tool.requested  decision=allowed  action_class=active
seq 2  tool.completed  decision=ok  action_class=active  returncode=0
{"action":"nmap -Pn -sV -oX - -p 8000,8080 --max-rate 200 127.0.0.1","action_class":"active","actor":"planner","decision":"allowed","detail":{"matched_rules":[],"scan_id":"demo-scan-0001"},"entry_hash":"6759ddbca507875260e1ecea7102096bf06c228d9ba9bf9563b0639fe972fbe6","event":"tool.requested","org":"Enigmatic Red Demo","prev_hash":"0000000000000000000000000000000000000000000000000000000000000000","seq":1,"target":"127.0.0.1","timestamp":"2026-10-19T14:37:45.086953+00:00"}
{"action":"nmap -Pn -sV -oX - -p 8000,8080 --max-rate 200 127.0.0.1","action_class":"active","actor":"planner","decision":"ok","detail":{"duration_ms":2771.6,"elapsed_s":2.57,"hosts":1,"open_services":2,"parse_error":"","returncode":0,"scan_id":"demo-scan-0001","sensitive_services":[],"stderr_bytes":0,"stdout_bytes":6270,"timed_out":false,"tool":"nmap","truncated":false,"up_hosts":1},"entry_hash":"1f4f2c444b06f727545e0e585027083660b8921df3613c96c43c8cbbcffbf32c","event":"tool.completed","org":"Enigmatic Red Demo","prev_hash":"6759ddbca507875260e1ecea7102096bf06c228d9ba9bf9563b0639fe972fbe6","seq":2,"target":"127.0.0.1","timestamp":"2026-10-19T14:37:47.893477+00:00"}

A scan that gets refused

refused

You askSame scan, but crank the probe rate to 5000 so it finishes faster.

refused: this action is in a permanently forbidden class and cannot be approved (nmap -Pn -sV -oX - -p 8000 --min-rate 5000 127.0.0.1): forbidden[dos_flags]: flood or high-rate flags intended to exhaust the target

Flood-class flags are a hard deny: no approval can enable them, and the refusal is recorded like any other decision.

the command it was asked to run
tool callnever reached the runner
$ nmap -Pn -sV -oX - -p 8000 --min-rate 5000 127.0.0.1
the log lines — 1 entry, quoted verbatim
audit trail1 entry
seq 3  tool.refused  decision=refused  action_class=forbidden  matched_rules=['dos_flags']
{"action":"nmap -Pn -sV -oX - -p 8000 --min-rate 5000 127.0.0.1","action_class":"forbidden","actor":"planner","decision":"refused","detail":{"matched_rules":["dos_flags"],"reason":"refused: this action is in a permanently forbidden class and cannot be approved (nmap -Pn -sV -oX - -p 8000 --min-rate 5000 127.0.0.1): forbidden[dos_flags]: flood or high-rate flags intended to exhaust the target","scan_id":"demo-scan-0001"},"entry_hash":"24e7db1011145d5196b7d3feaa438f5f103e76961671ea3926710b9911f00483","event":"tool.refused","org":"Enigmatic Red Demo","prev_hash":"1f4f2c444b06f727545e0e585027083660b8921df3613c96c43c8cbbcffbf32c","seq":3,"target":"127.0.0.1","timestamp":"2026-10-19T14:37:47.895480+00:00"}

An intrusive check that waits for a human

approval required

You askCheck the app for Log4Shell and confirm whether it is reachable.

human approval required before running an intrusive action (nuclei -target 127.0.0.1 -jsonl -silent -nc -no-interactsh -disable-update-check -t http/cves/2021/CVE-2021-44228.yaml -rate-limit 50 -concurrency 10 -timeout 10): tool class intrusive for 'nuclei'

Intrusive tooling runs only against an approval for that exact command line, and the request is logged even while it is held.

the command it was asked to run
tool callnever reached the runner
$ nuclei -target 127.0.0.1 -jsonl -silent -nc -no-interactsh -disable-update-check -t http/cves/2021/CVE-2021-44228.yaml -rate-limit 50 -concurrency 10 -timeout 10
the log lines — 1 entry, quoted verbatim
audit trail1 entry
seq 4  tool.refused  decision=approval_required  action_class=intrusive
{"action":"nuclei -target 127.0.0.1 -jsonl -silent -nc -no-interactsh -disable-update-check -t http/cves/2021/CVE-2021-44228.yaml -rate-limit 50 -concurrency 10 -timeout 10","action_class":"intrusive","actor":"planner","decision":"approval_required","detail":{"matched_rules":[],"reason":"human approval required before running an intrusive action (nuclei -target 127.0.0.1 -jsonl -silent -nc -no-interactsh -disable-update-check -t http/cves/2021/CVE-2021-44228.yaml -rate-limit 50 -concurrency 10 -timeout 10): tool class intrusive for 'nuclei'","scan_id":"demo-scan-0002"},"entry_hash":"cec57ef38964f054a1af78ba34521b8201888ae93545463e8c1583150fae9bf0","event":"tool.refused","org":"Enigmatic Red Demo","prev_hash":"24e7db1011145d5196b7d3feaa438f5f103e76961671ea3926710b9911f00483","seq":4,"target":"127.0.0.1","timestamp":"2026-10-19T14:37:47.897478+00:00"}

The same check, after an approval

ran · rc 1

You askApproved: go ahead with the Log4Shell template only.

nuclei exited with rc 1 and produced no findings, so the run could not be interpreted; nuclei reports no templates provisioned and this adapter never fetches templates mid-scan (provision them out of band)

The run really did happen and really did fail: this machine has no nuclei template set installed. The layer reports the configuration error instead of reading it as "no findings", and the run is audited at both ends regardless.

the command it was asked to run
tool callreturncode 1
$ nuclei -target 127.0.0.1 -jsonl -silent -nc -no-interactsh -disable-update-check -t http/cves/2021/CVE-2021-44228.yaml -rate-limit 50 -concurrency 10 -timeout 10
what the process did
process2468.7 ms
returncode 1   stdout 0 B   stderr 60 B
the log lines — 2 entries, quoted verbatim
audit trail2 entries
seq 5  tool.requested  decision=allowed  action_class=intrusive
seq 6  tool.completed  decision=error  action_class=intrusive  returncode=1  parse_error=<set>
{"action":"nuclei -target 127.0.0.1 -jsonl -silent -nc -no-interactsh -disable-update-check -t http/cves/2021/CVE-2021-44228.yaml -rate-limit 50 -concurrency 10 -timeout 10","action_class":"intrusive","actor":"planner","decision":"allowed","detail":{"matched_rules":[],"scan_id":"demo-scan-0002"},"entry_hash":"4ffd148781fec684cb63ec9d99ff5e1746509a02e7efc34275019922bbe1c923","event":"tool.requested","org":"Enigmatic Red Demo","prev_hash":"cec57ef38964f054a1af78ba34521b8201888ae93545463e8c1583150fae9bf0","seq":5,"target":"127.0.0.1","timestamp":"2026-10-19T14:37:47.899484+00:00"}
{"action":"nuclei -target 127.0.0.1 -jsonl -silent -nc -no-interactsh -disable-update-check -t http/cves/2021/CVE-2021-44228.yaml -rate-limit 50 -concurrency 10 -timeout 10","action_class":"intrusive","actor":"planner","decision":"error","detail":{"duration_ms":2468.7,"parse_error":"nuclei exited with rc 1 and produced no findings, so the run could not be interpreted; nuclei reports no templates provisioned and this adapter never fetches templates mid-scan (provision them out of band)","returncode":1,"scan_id":"demo-scan-0002","stderr_bytes":60,"stdout_bytes":0,"timed_out":false,"tool":"nuclei","truncated":false},"entry_hash":"5e0ff7a6827db81b78f8edec83bea4b9ad9ebe035be022705f5f9a3f02b187a8","event":"tool.completed","org":"Enigmatic Red Demo","prev_hash":"4ffd148781fec684cb63ec9d99ff5e1746509a02e7efc34275019922bbe1c923","seq":6,"target":"127.0.0.1","timestamp":"2026-10-19T14:37:50.404116+00:00"}

A target we were never authorised to touch

refused

You askWhile you are there, scan 8.8.8.8 as well.

refusing nmap: '8.8.8.8' is out of scope: no allow rule matches '8.8.8.8' (scope 'demo-lab' grants 1 host(s), 0 cidr(s))

The guard is not the only gate: a target has to be inside the signed scope, re-checked before any packet leaves this machine.

the command it was asked to run
tool callnever reached the runner
$ nmap -Pn -sV -oX - -p 80,443 8.8.8.8
the log lines — 1 entry, quoted verbatim
audit trail1 entry
seq 7  scope.refused  decision=refused
{"action":"nmap","action_class":null,"actor":"planner","decision":"refused","detail":{"matched_rule":"","reason":"no allow rule matches '8.8.8.8' (scope 'demo-lab' grants 1 host(s), 0 cidr(s))","scan_id":"demo-scan-0003"},"entry_hash":"369fbcd93a379e2932ee795a336bad248fb055d11028f1dfefa1a0aa9115c0bd","event":"scope.refused","org":"Enigmatic Red Demo","prev_hash":"5e0ff7a6827db81b78f8edec83bea4b9ad9ebe035be022705f5f9a3f02b187a8","seq":7,"target":"8.8.8.8","timestamp":"2026-10-19T14:37:50.406120+00:00"}

Captured 2026-10-19T14:37:50+00:00 on this machine, and the audit chain verified intact across all 7 entries afterwards. Every argument, exit code, byte count, timing, refusal and log hash above is what the run produced: none of it is hand-written, and the page is checked against the session’s own record every time it is rebuilt.

Published research — the write-ups

Reproductions, not assumptions.

Each write-up gives you the reproduction, root cause, minimal fix and regression test. We claim only what the evidence shows.

Two libraries that broke a guarantee

Epsilon-calibrated noise that silently collapsed to zero in IBM's diffprivlib, and a corrupted archive that surfaced as a raw codec exception in CPython's tarfile instead of the one error type it documents. Both were found by comparing code paths that should have behaved alike. Both fixes reuse a pattern the codebase already had.

Read the write-up

When a dependency retires an argument

IBM's diffprivlib called SciPy's L-BFGS-B optimizer with an iprint keyword that SciPy deprecated as a no-op and then removed. Private logistic regression stopped fitting with a TypeError. The merged fix drops the obsolete keyword; the reproduction fails before it and converges after.

Read the write-up

Where the collection lives

One folder per piece, in the repository and mirrored folder for folder to GitHub, with a page each here. A piece joins the index only once its reproduction is recorded. What is published is therefore the part of the work that survived being checked, including the parts that stay unfixed.

All write-ups

Research-lab beta — runs on your machine

Run locally. Keep control.

Free research beta: no accounts, no billing. Hosted chat is bring your own model key and answers questions only. Active assessment stays on your machine, where scope, written authorisation, the guard and audit trail apply. Try the hosted chat.

Built into the beta

Scope and written authorisation, guarded actions, human approval for intrusive commands, a hash-chained audit log, and evidence-backed reports.

Clear boundaries

The hosted chat runs no tools. The local agent has selected tool adapters, and one line you type yourself: a single program with its own arguments, run as one argv with no shell, checked by the same scope, guard and audit chain as every other step. CVSS scoring, phase orchestration and the evidence store are still in development. See the current coverage.

Start with a safe target

Choose a system you own and can authorise. The Windows installer sets up the local Agent UI and a CPU-ready model; Linux uses the Python wheel, which installs the agent command line. Expect refusals: the guard records them by design.

Answers that show their sources

The local agent can cite a separately managed corpus covering OWASP WSTG/ASVS, CWE, NVD, Juliet and AI-security benchmarks. Citations identify their source, version, URL, licence and record. Retrieved material may guide a plan, but never counts as evidence; findings still need run-backed proof. The corpus is not bundled with the wheel.

Download from GitHub Instant download for Windows Instant download for Linux (CLI) Try the chat in your browser

The first button opens the release on GitHub, where the installer and the wheel are published with the same SHA-256 sums printed below; the second is the instant download for Windows, straight from this page. One release, not two builds, so either download is checked by the same numbers.

The Linux button downloads the Python wheel: the agent command line, not the Agent UI, and not a model. Point .env at a model endpoint you run. The Agent UI ships only in the Windows installer.

The Windows installer installs Python if needed, the agent, the local UI server and a local model, adds one Agent UI shortcut, and opens that window when it finishes. The Agent UI binds to loopback and uses this install's scope, authorization, safety guard and audit log. Its first-run setup requires you to review scope and record authorization before active assessment. Nothing here is code-signed yet, so the SHA-256 below lets you check that the downloaded bytes match this published file; it does not establish who built the file.

Windows warned me about this file — or I would rather not run an .exe

The warning is about the file being unsigned, not about anything found in it: Windows shows it for any program downloaded in a browser that has no code-signing certificate behind it, and this one has none yet. There are two ways round it. The first is to check the file against the sha256 below: that number is printed here, in the GitHub release, and in the repository's SHA256SUMS.txt, so a copy that arrived altered cannot match it. The second is to skip the executable altogether: the wheel below is the same release of the same code, packaged rather than run, and nothing warns about a wheel. When this repository's build does sign the file, the signature is checkable on it with Get-AuthenticodeSignature. Until then the sha256 is the whole of the check, which is why the number is printed rather than promised.

The wheel carries the agent alone and installs no model. From a terminal with Python 3.11 or newer on the machine:

py -3 -m venv "%LOCALAPPDATA%\EnigmaticRed\venv"
"%LOCALAPPDATA%\EnigmaticRed\venv\Scripts\python.exe" -m pip install --upgrade "https://enigmaticred.com/assets/enigmatic_red-0.1.0-py3-none-any.whl"
"%LOCALAPPDATA%\EnigmaticRed\venv\Scripts\red.exe" init

A model is then your own: point .env at an endpoint you already run. The installer's --local-model flag is the path that puts an open-weight model on this machine for you; a wheel install on its own brings no model. Nothing above is a second copy of the product: it is the same wheel the installer downloads and checks the digest of itself.

What you downloaded — EnigmaticRed-Setup.exe, 8,874,877 bytes:
sha256 30b6b5290f62d60d423586820af6948960dd167d1acb99fb3d5ba9ba00ca0c5b
The installer fetches the agent wheel from this same folder, and checks it arrived: enigmatic_red-0.1.0-py3-none-any.whl, 571,175 bytes:
sha256 50b1652846afc0851580576dfcdcdca656d1119f37789b602724e2014cf741c3
The same two files, with these same two numbers, are published at github.com/Enigmatic-Red/enigmatic-red-installer — the address the first button opens.
The same manifest is served beside them: SHA256SUMS.txt.
On Linux there is no installer: the wheel installs the agent command line, and a model is the endpoint you point .env at.

Guardrails that apply to every run

  • 25 targets per scan, 60 minutes of wall clock, maximum.
  • 2,000,000 LLM tokens per scan; 40,000,000 per seat per month. Metric spend is bounded on purpose.
  • 17 capability patterns are permanently forbidden — denial of service, credential brute force, persistence, destructive filesystem and SQL operations, reverse shells and command-and-control, bulk exfiltration, SSRF toward cloud metadata. No configuration and no approval can enable them.
  • 13 patterns are intrusive — injection and traversal probes, JNDI lookups, exploit tooling, state-changing verbs, aggressive scans. Each needs a human approval for that exact command line.
  • A binary nobody registered is treated as intrusive, never as active.

Meet the team

Independent research, led by its founder.

Jason Mak

Founder, Chief Security Researcher

Jason Mak is a security researcher and penetration tester working across application security, vulnerability research and AI security. As Enigmatic Red’s founder and chief security researcher, Jason focuses on reproducing real failure modes and documenting evidence-backed fixes. The public contribution record includes merged upstream work in CPython, IBM’s diffprivlib, PyO3 and OpenHuman, alongside hands-on security research and adversarial AI assessment.

Selected work is independently inspectable: the merged CPython fix, the merged diffprivlib fix, PyO3 contribution, OpenHuman contribution, and the Enigmatic Red write-up.

Contact us

What would you like to discuss?

Send a general question, a collaboration idea, feedback or a vulnerability disclosure. Enquiries are stored privately so Jason can follow up; they are not used for marketing.

For vulnerability reports, please read our security.txt disclosure guidance first. Do not include passwords, API keys or other live secrets. You can also write directly to [email protected].

We review messages manually. Please include enough information to understand your enquiry, but avoid sending sensitive personal data.

Collaboration includes speaking, workshops, CTF creation and related projects.

Submitting saves your name, email, category and message in a private database for follow-up. See the privacy policy.