Kryptheon
v0.1.1Record a flow through your app, check it after every change, and attack a copy of your database.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
kryptheon_record Record a flow through the app
Opens the app in a browser window ON THE PERSON'S SCREEN and records what they do, as a test that kryptheon_check can replay after every change. Only a person can do the recording: tell them the window is open, to click through one short flow (sign in with an existing account, open a page), and to close the window when done. Returns while the window is still open; call kryptheon_job afterwards to learn whether it was saved. A folder that is not set up yet is set up first (package.json and a local kryptheon install). Never record a sign-up or a log-out.
| Parameter | Type | Description |
|---|---|---|
url * | string | Address of the running app, e.g. https://my-app.lovable.app or http://localhost:3000 |
folder | string | Absolute path of the project folder - normally the workspace root. Recordings are kept in its tests/ folder. Defaults to the folder this server was started in. |
kryptheon_check Replay every recording and say what broke
Replays every recording in the folder and reports, in plain English, what still works and what broke - with the button or page that went missing and a line to paste back into an AI tool. Call it after every change to the app, and do not call a change done until it passes. If it says nothing has been recorded, use kryptheon_record first.
| Parameter | Type | Description |
|---|---|---|
folder | string | Absolute path of the project folder - normally the workspace root. Recordings are kept in its tests/ folder. Defaults to the folder this server was started in. |
kryptheon_scan_database Attack a copy of the database
Copies the SHAPE of the Postgres/Supabase database (never its rows) into a throwaway schema, attacks the copy - can a stranger read or change data, can the same thing exist twice, can a half-finished write survive - reports in plain English, and deletes the copy. The connection string is read from this server's KN_DATABASE_URL environment variable. NEVER ask the person to paste it into the chat. Takes 2-3 minutes; returns a job to follow with kryptheon_job.
| Parameter | Type | Description |
|---|---|---|
schema | string | The schema the app lives in. Leave it out: it is "public" for almost everyone. |
kryptheon_job Wait for a recording, check or scan to finish
Waits up to 45 seconds for a job started by another kryptheon tool, then returns what it said. Call it again while it is still running.
| Parameter | Type | Description |
|---|---|---|
job_id * | string | The id another kryptheon tool handed back, e.g. "check-1". |