kryptheon 0.1.75 → 0.1.77
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -4
- package/bin/kryptheon.js +8 -0
- package/kryptheon-api.js +46 -4
- package/kryptheon-authz.js +7 -1
- package/kryptheon-dashboard-page.js +72 -1
- package/kryptheon-dashboard.html +11 -0
- package/kryptheon-doors.js +224 -0
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
# kryptheon
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
plain English what broke.
|
|
3
|
+
Scanners check your settings. Kryptheon tries to break in.
|
|
5
4
|
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
It signs in as your users and tries what an attacker would: one customer
|
|
6
|
+
reading another's data, a payment counted twice, a coupon used twice at once,
|
|
7
|
+
a refund bigger than the payment, an AI route anyone can call. Every finding
|
|
8
|
+
comes with its proof, and a fix prompt you paste into your AI. After the fix,
|
|
9
|
+
one press checks it again and says FIXED - or what the fix broke.
|
|
10
|
+
|
|
11
|
+
Runs on your machine, against your app on this computer or your own test copy.
|
|
12
|
+
No API key, and not one row of your data leaves your computer. Recordings and
|
|
13
|
+
browser runs use [Playwright](https://playwright.dev).
|
|
8
14
|
|
|
9
15
|
## The one command
|
|
10
16
|
|
package/bin/kryptheon.js
CHANGED
|
@@ -3908,6 +3908,14 @@ async function dashboardCommand() {
|
|
|
3908
3908
|
console.log(' It is only reachable from this machine. Everything else is a button');
|
|
3909
3909
|
console.log(' on that page. Press Ctrl+C here to stop it.');
|
|
3910
3910
|
console.log('');
|
|
3911
|
+
// This window IS Kryptheon; the page is only its screen. Closed, or paused by a click inside it (Windows
|
|
3912
|
+
// QuickEdit), every button on the page stops working - said here, where it happens (2026-11-22).
|
|
3913
|
+
console.log(' ==================================================================');
|
|
3914
|
+
console.log(' KEEP THIS WINDOW OPEN while you use Kryptheon.');
|
|
3915
|
+
console.log(' Minimize it - do not close it, and do not click inside it:');
|
|
3916
|
+
console.log(' a click inside pauses it ("Select" in the title). Esc resumes.');
|
|
3917
|
+
console.log(' ==================================================================');
|
|
3918
|
+
console.log('');
|
|
3911
3919
|
|
|
3912
3920
|
// While the page is open, Kryptheon notices changes by itself: once a change
|
|
3913
3921
|
// has settled, it looks, runs the fast checks, and the page shows what
|
package/kryptheon-api.js
CHANGED
|
@@ -28,6 +28,7 @@ const webhook = require('./kryptheon-webhook.js');
|
|
|
28
28
|
const csv = require('./kryptheon-csv.js');
|
|
29
29
|
const witnessDb = require('./kryptheon-witness.js');
|
|
30
30
|
const aiapp = require('./kryptheon-aiapp.js');
|
|
31
|
+
const doors = require('./kryptheon-doors.js');
|
|
31
32
|
|
|
32
33
|
const EMAIL = /[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}/g;
|
|
33
34
|
const SIGN_IN = /(^|\/)(log-?in|sign-?in|session|auth\/(login|signin|token))$/i;
|
|
@@ -3409,6 +3410,26 @@ async function runAnswers(root, options) {
|
|
|
3409
3410
|
return out;
|
|
3410
3411
|
}
|
|
3411
3412
|
|
|
3413
|
+
/**
|
|
3414
|
+
* The open doors (kryptheon-doors.js) for this app: the GET lists the map read, for CORS, and its sign-in, for the
|
|
3415
|
+
* wrong-password limit. `how`: { readOnly, live } for a live address - then it only reads.
|
|
3416
|
+
*/
|
|
3417
|
+
async function runDoors(root, options, how) {
|
|
3418
|
+
const opts = options || {};
|
|
3419
|
+
const plan = planOf(root, opts);
|
|
3420
|
+
const gets = [];
|
|
3421
|
+
if (plan.ran) {
|
|
3422
|
+
for (const r of plan.map.routes || []) {
|
|
3423
|
+
if (r.unmounted || !r.path || r.method !== 'GET' || r.kind === 'webhook') continue;
|
|
3424
|
+
const p = normRoute(r.path);
|
|
3425
|
+
if (/[{*]/.test(p) || PLUMBING.test(p) || /log-?out|sign-?out/i.test(p) || gets.includes(p)) continue;
|
|
3426
|
+
gets.push(p);
|
|
3427
|
+
}
|
|
3428
|
+
}
|
|
3429
|
+
const signIn = plan.ran && plan.journey.signIn ? plan.journey.signIn : null;
|
|
3430
|
+
return doors.run(Object.assign({ origin: opts.origin, fetch: opts.fetch, gets: gets, signIn: signIn }, how || {}));
|
|
3431
|
+
}
|
|
3432
|
+
|
|
3412
3433
|
/** Which answer finding a headline is, for a re-check that has only the headline: 'secret-in-answer', 'quiz-answers-sent' or null. */
|
|
3413
3434
|
function answerKindOf(headline) {
|
|
3414
3435
|
const h = String(headline || '');
|
|
@@ -3465,17 +3486,19 @@ async function runApi(root, options) {
|
|
|
3465
3486
|
const grantsRun = opts.roles ? await contained('Who may give which role', () => runGrants(root, shared)) : { ran: false, why: 'not asked for' };
|
|
3466
3487
|
// the bad values always last: one of them may stop the app (round 24 lost its whole roles run that way)
|
|
3467
3488
|
const invalid = await contained('Bad values', () => runInvalid(root, shared));
|
|
3489
|
+
// after everything: its wrong passwords may trip the app's sign-in limit, which must not stop a check above
|
|
3490
|
+
const doorsRun = await contained('Open doors', () => runDoors(root, shared));
|
|
3468
3491
|
if (witness.ok && !opts.witness) await witness.close();
|
|
3469
3492
|
const verdicts = verdictsFor(toCheck, wall, invalid, roleRun, forged, webhooks, stepsRun, redirectsRun);
|
|
3470
3493
|
const seen = new Set();
|
|
3471
|
-
const findings = (grantsRun.ran ? grantsRun.findings : []).concat(answersRun.ran ? answersRun.findings : []).concat(refsRun.ran ? refsRun.findings : []).concat(wall.ran ? wall.findings : []).concat(redirectsRun.ran ? redirectsRun.findings : []).concat(refundsRun.ran ? refundsRun.findings : []).concat(forged.ran ? forged.findings : []).concat(webhooks.ran ? webhooks.findings : []).concat(exportsRun.ran ? exportsRun.findings : []).concat(jobsRun.ran ? jobsRun.findings : []).concat(keptRun.ran ? keptRun.findings : []).concat(createsRun.ran ? createsRun.findings : []).concat(limitsRun.ran ? limitsRun.findings : []).concat(stepsRun.ran ? stepsRun.findings : []).concat(onceRun.ran ? onceRun.findings : []).concat(roleRun && roleRun.ran ? roleRun.findings : []).concat(invalid.ran ? invalid.findings : []).filter((f) => {
|
|
3494
|
+
const findings = (grantsRun.ran ? grantsRun.findings : []).concat(answersRun.ran ? answersRun.findings : []).concat(refsRun.ran ? refsRun.findings : []).concat(wall.ran ? wall.findings : []).concat(redirectsRun.ran ? redirectsRun.findings : []).concat(refundsRun.ran ? refundsRun.findings : []).concat(forged.ran ? forged.findings : []).concat(webhooks.ran ? webhooks.findings : []).concat(exportsRun.ran ? exportsRun.findings : []).concat(jobsRun.ran ? jobsRun.findings : []).concat(keptRun.ran ? keptRun.findings : []).concat(createsRun.ran ? createsRun.findings : []).concat(limitsRun.ran ? limitsRun.findings : []).concat(stepsRun.ran ? stepsRun.findings : []).concat(onceRun.ran ? onceRun.findings : []).concat(roleRun && roleRun.ran ? roleRun.findings : []).concat(invalid.ran ? invalid.findings : []).concat(doorsRun.ran ? doorsRun.findings : []).filter((f) => {
|
|
3472
3495
|
const k = f.kind + '|' + f.where + '|' + (f.field || '');
|
|
3473
3496
|
return seen.has(k) ? false : (seen.add(k), true);
|
|
3474
3497
|
});
|
|
3475
3498
|
const left = (grantsRun.ran ? grantsRun.left : []).concat(refsRun.ran ? refsRun.left : []).concat(webhooks.ran ? webhooks.left : []).concat(refundsRun.ran ? refundsRun.left : []).concat(exportsRun.ran ? exportsRun.left : []).concat(jobsRun.ran ? jobsRun.left : []).concat(keptRun.ran ? keptRun.left : []).concat(createsRun.ran ? createsRun.left : []).concat(limitsRun.ran ? limitsRun.left : []).concat(stepsRun.ran ? stepsRun.left : []).concat(onceRun.ran ? onceRun.left : []).concat(wall.ran ? wall.result.seeded || [] : []).concat(roleRun && roleRun.ran ? roleRun.result.seeded || [] : []).concat(wall.ran ? leftBehind(wall.result.attempts) : []).concat(invalid.ran ? invalid.left : []).concat(roleRun && roleRun.ran ? leftBehind(roleRun.result.attempts) : []);
|
|
3476
3499
|
return {
|
|
3477
3500
|
ran: wall.ran || invalid.ran, why: wall.ran || invalid.ran ? null : wall.why, checkedAt: new Date().toISOString(),
|
|
3478
|
-
origin: opts.origin, grants: grantsRun, refs: refsRun, wall: wall, forged: forged, webhooks: webhooks, exports: exportsRun, jobs: jobsRun, kept: keptRun, creates: createsRun, limits: limitsRun, steps: stepsRun, redirects: redirectsRun, refunds: refundsRun, stepsAtOnce: onceRun, answers: answersRun, invalid: invalid, roles: roleRun, verdicts: verdicts, findings: findings, left: left,
|
|
3501
|
+
origin: opts.origin, grants: grantsRun, refs: refsRun, wall: wall, forged: forged, webhooks: webhooks, exports: exportsRun, jobs: jobsRun, kept: keptRun, creates: createsRun, limits: limitsRun, steps: stepsRun, redirects: redirectsRun, refunds: refundsRun, stepsAtOnce: onceRun, answers: answersRun, invalid: invalid, roles: roleRun, doors: doorsRun, verdicts: verdicts, findings: findings, left: left,
|
|
3479
3502
|
notTried: (wall.plan ? wall.plan.notTried : []).concat(invalid.ran ? invalid.notTried : []),
|
|
3480
3503
|
writes: writesOf(m, wall),
|
|
3481
3504
|
};
|
|
@@ -3591,6 +3614,14 @@ async function runLive(root, options) {
|
|
|
3591
3614
|
if (!(err && (err.code === authz.READ_ONLY || authz.isRequestLimit(err)))) throw err;
|
|
3592
3615
|
answersRun = { ran: false, why: 'stopped: ' + err.message };
|
|
3593
3616
|
}
|
|
3617
|
+
// the open doors, by reading only: files served, API docs, CORS and (on a live site) source maps; no password sent
|
|
3618
|
+
let doorsRun;
|
|
3619
|
+
try {
|
|
3620
|
+
doorsRun = await runDoors(root, Object.assign({}, opts, { map: m, origin }), { readOnly: true, live: true });
|
|
3621
|
+
} catch (err) {
|
|
3622
|
+
if (!(err && (err.code === authz.READ_ONLY || authz.isRequestLimit(err)))) throw err;
|
|
3623
|
+
doorsRun = { ran: false, why: 'stopped: ' + err.message };
|
|
3624
|
+
}
|
|
3594
3625
|
// Judged first, then every string kept from the tries masked - the answers, their excerpts, the lines printed from
|
|
3595
3626
|
// them: a live app's records are real people's, and none of their values is shown or saved.
|
|
3596
3627
|
const maskDeep = (v, depth) => {
|
|
@@ -3613,7 +3644,7 @@ async function runLive(root, options) {
|
|
|
3613
3644
|
if (roleRun.ran) { roleRun.result = maskDeep(roleRun.result, 0); roleRun.findings = maskDeep(roleRun.findings, 0); }
|
|
3614
3645
|
// the roles run keeps organizations apart too, so it finds the same reads across organizations again: said once
|
|
3615
3646
|
const seenLive = new Set();
|
|
3616
|
-
const findings = (wall.findings || []).concat(roleRun.ran ? roleRun.findings : []).concat(answersRun.ran ? answersRun.findings : []).filter((f) => {
|
|
3647
|
+
const findings = (wall.findings || []).concat(roleRun.ran ? roleRun.findings : []).concat(answersRun.ran ? answersRun.findings : []).concat(doorsRun.ran ? doorsRun.findings : []).filter((f) => {
|
|
3617
3648
|
const k = f.kind + '|' + f.where + '|' + (f.field || '');
|
|
3618
3649
|
return seenLive.has(k) ? false : (seenLive.add(k), true);
|
|
3619
3650
|
}).map((f) => maskDeep(Object.assign({}, f, { live: true }), 0));
|
|
@@ -3621,7 +3652,7 @@ async function runLive(root, options) {
|
|
|
3621
3652
|
return {
|
|
3622
3653
|
ran: true, live: true, why: null, checkedAt: new Date().toISOString(), origin,
|
|
3623
3654
|
wall, forged: stub, webhooks: stub, exports: stub, jobs: stub, kept: stub, creates: stub, limits: stub, steps: stub, redirects: stub, refunds: stub, stepsAtOnce: stub,
|
|
3624
|
-
roles: roleRun, invalid: stub, grants: stub, refs: stub, answers: answersRun,
|
|
3655
|
+
roles: roleRun, invalid: stub, grants: stub, refs: stub, answers: answersRun, doors: doorsRun,
|
|
3625
3656
|
findings, left: [], leftOut: LIVE_LEFT_OUT,
|
|
3626
3657
|
verdicts: verdictsFor(toCheck, wall, stub, roleRun.ran ? roleRun : null, stub, stub, stub, stub),
|
|
3627
3658
|
notTried: wall.plan ? wall.plan.notTried : [],
|
|
@@ -3700,6 +3731,17 @@ function apiLines(run) {
|
|
|
3700
3731
|
}
|
|
3701
3732
|
out.push('');
|
|
3702
3733
|
}
|
|
3734
|
+
if (run.doors && run.doors.ran) {
|
|
3735
|
+
out.push(' Open doors (files served, API docs, CORS' + (run.live ? ', source maps' : ', wrong passwords at sign-in') + '):');
|
|
3736
|
+
for (const f of run.doors.findings) {
|
|
3737
|
+
out.push(' ' + (f.status === 'confirmed' ? 'PROBLEM' : 'TO CHECK') + ' ' + f.severity + ' ' + f.headline);
|
|
3738
|
+
for (const l of f.proof) out.push(' ' + l);
|
|
3739
|
+
}
|
|
3740
|
+
for (const h of run.doors.held) out.push(' held: ' + h);
|
|
3741
|
+
for (const n of run.doors.notTried) out.push(' not tried: ' + n);
|
|
3742
|
+
if (!run.doors.findings.length && !run.doors.held.length) out.push(' nothing open was found');
|
|
3743
|
+
out.push('');
|
|
3744
|
+
}
|
|
3703
3745
|
if (run.kept && run.kept.ran) {
|
|
3704
3746
|
for (const t of run.kept.tried) out.push(' Change ' + t.what + (t.field ? ' (' + t.field + ')' : '') + ': ' + t.verdict);
|
|
3705
3747
|
for (const f of run.kept.findings) {
|
package/kryptheon-authz.js
CHANGED
|
@@ -545,7 +545,13 @@ function makeContext(options) {
|
|
|
545
545
|
} catch (err) {
|
|
546
546
|
json = undefined;
|
|
547
547
|
}
|
|
548
|
-
|
|
548
|
+
// the few answer headers a check judges by (the open-doors check: CORS, and what kind of file came back)
|
|
549
|
+
const headersKept = {};
|
|
550
|
+
for (const h of ['access-control-allow-origin', 'access-control-allow-credentials', 'content-type', 'retry-after']) {
|
|
551
|
+
const v = res.headers.get(h);
|
|
552
|
+
if (v !== null && v !== undefined) headersKept[h] = v;
|
|
553
|
+
}
|
|
554
|
+
return { status: res.status, location: res.headers.get('location') || '', text: text, json: json, headers: headersKept };
|
|
549
555
|
};
|
|
550
556
|
return ctx;
|
|
551
557
|
}
|
|
@@ -95,12 +95,80 @@
|
|
|
95
95
|
body: JSON.stringify(body),
|
|
96
96
|
}).then(function (res) {
|
|
97
97
|
return res.json().then(function (data) {
|
|
98
|
+
// Kryptheon was started again since this page was opened: its token is new, so this page is too old to use.
|
|
99
|
+
if (res.status === 403 && data.why === 'missing or wrong token') {
|
|
100
|
+
window.location.reload();
|
|
101
|
+
throw new Error('Kryptheon was started again - this page is reloading.');
|
|
102
|
+
}
|
|
98
103
|
if (!res.ok || data.ok === false) throw new Error(data.why || 'the dashboard answered ' + res.status);
|
|
99
104
|
return data;
|
|
100
105
|
});
|
|
106
|
+
}, function (err) {
|
|
107
|
+
// No answer at all: the black window - Kryptheon itself - is closed or paused. Never "Failed to fetch".
|
|
108
|
+
if (isNoAnswer(err)) { markStopped(); throw new Error(STOPPED_WORDS); }
|
|
109
|
+
throw err;
|
|
101
110
|
});
|
|
102
111
|
}
|
|
103
112
|
|
|
113
|
+
/* ----------------------------- Kryptheon stopped ----------------------------- */
|
|
114
|
+
|
|
115
|
+
// The page is only a screen; Kryptheon is the black window that opened it. Closed, or paused by a click inside it
|
|
116
|
+
// (Windows QuickEdit), it answers nothing - and every button said "Failed to fetch" (2026-11-22). A heartbeat
|
|
117
|
+
// notices within seconds, a box says what happened and how to start it again, and when Kryptheon is back the
|
|
118
|
+
// page reloads itself: a new start has a new token, so the old page could not press anything.
|
|
119
|
+
var STOPPED_WORDS = 'Kryptheon stopped on this computer - the box on the page says how to start it again.';
|
|
120
|
+
var misses = 0;
|
|
121
|
+
var stopped = false;
|
|
122
|
+
function isNoAnswer(err) { return !!err && (err.name === 'TypeError' || /Failed to fetch|NetworkError|Load failed/i.test(String(err.message))); }
|
|
123
|
+
function startCommand() {
|
|
124
|
+
var root = state && state.project && state.project.root;
|
|
125
|
+
var mac = /Mac/i.test(navigator.platform || '') || /Mac OS X/.test(navigator.userAgent || '');
|
|
126
|
+
if (mac) return (root ? 'cd "' + root + '" && ' : '') + 'npx -y kryptheon@latest dashboard';
|
|
127
|
+
return 'cmd /k ' + (root ? 'cd /d "' + root + '" && ' : '') + 'npx -y kryptheon@latest dashboard';
|
|
128
|
+
}
|
|
129
|
+
function markStopped() {
|
|
130
|
+
if (stopped) return;
|
|
131
|
+
stopped = true;
|
|
132
|
+
var box = byId('stoppedBox');
|
|
133
|
+
if (!box) return;
|
|
134
|
+
var mac = /Mac/i.test(navigator.platform || '') || /Mac OS X/.test(navigator.userAgent || '');
|
|
135
|
+
clear(box);
|
|
136
|
+
var card = el('div', 'stopped-card');
|
|
137
|
+
card.appendChild(el('h2', null, 'Kryptheon stopped on this computer'));
|
|
138
|
+
card.appendChild(el('p', null, 'This page is only the screen. Kryptheon itself is the black window that opened it' +
|
|
139
|
+
(mac ? ' (the Terminal window)' : '') + ' - and it is closed, or paused.'));
|
|
140
|
+
var ways = el('ul');
|
|
141
|
+
ways.appendChild(el('li', null, mac ? 'If the Terminal window is still open: click it. If it shows an error, start it again below.'
|
|
142
|
+
: 'If you see the black window in the taskbar: click it and press Esc. A click inside it pauses it - "Select" in its title means paused.'));
|
|
143
|
+
ways.appendChild(el('li', null, mac ? 'If it is closed: open Terminal, paste this and press Enter:'
|
|
144
|
+
: 'If it is closed: press Win+R, paste this and press Enter:'));
|
|
145
|
+
card.appendChild(ways);
|
|
146
|
+
var line = el('div', 'stopped-cmd');
|
|
147
|
+
var cmd = startCommand();
|
|
148
|
+
line.appendChild(el('code', null, cmd));
|
|
149
|
+
line.appendChild(button('sun sm', 'copy', 'Copy', function () { copy(cmd, 'Copied - paste it ' + (mac ? 'into Terminal' : 'into Win+R') + ' and press Enter'); }));
|
|
150
|
+
card.appendChild(line);
|
|
151
|
+
var wait = el('p', 'stopped-wait');
|
|
152
|
+
wait.appendChild(el('span', 'spin'));
|
|
153
|
+
wait.appendChild(document.createTextNode(' Waiting for Kryptheon - this page comes back by itself as soon as it starts.'));
|
|
154
|
+
card.appendChild(wait);
|
|
155
|
+
card.appendChild(el('p', 'fallback', 'Keep the black window open while you use Kryptheon: minimize it, never close it, never click inside it.'));
|
|
156
|
+
box.appendChild(card);
|
|
157
|
+
box.hidden = false;
|
|
158
|
+
byId('subline').textContent = 'Kryptheon stopped on this computer';
|
|
159
|
+
}
|
|
160
|
+
setInterval(function () {
|
|
161
|
+
fetch('/api/job', { cache: 'no-store' }).then(function (res) {
|
|
162
|
+
if (!res.ok) return;
|
|
163
|
+
misses = 0;
|
|
164
|
+
if (stopped) window.location.reload();
|
|
165
|
+
}, function (err) {
|
|
166
|
+
if (!isNoAnswer(err)) return;
|
|
167
|
+
misses += 1;
|
|
168
|
+
if (misses >= 2) markStopped();
|
|
169
|
+
});
|
|
170
|
+
}, 3000);
|
|
171
|
+
|
|
104
172
|
function setBusy(on) {
|
|
105
173
|
busy = on;
|
|
106
174
|
Array.prototype.forEach.call(document.querySelectorAll('[data-action]'), function (b) { b.disabled = on; });
|
|
@@ -2102,7 +2170,10 @@
|
|
|
2102
2170
|
load.last = text;
|
|
2103
2171
|
render(next);
|
|
2104
2172
|
})
|
|
2105
|
-
.catch(function (err) {
|
|
2173
|
+
.catch(function (err) {
|
|
2174
|
+
if (isNoAnswer(err)) { misses += 1; if (misses >= 2) markStopped(); return; }
|
|
2175
|
+
byId('subline').textContent = 'Could not load: ' + err.message;
|
|
2176
|
+
});
|
|
2106
2177
|
}
|
|
2107
2178
|
|
|
2108
2179
|
renderAI();
|
package/kryptheon-dashboard.html
CHANGED
|
@@ -426,9 +426,20 @@
|
|
|
426
426
|
@media (prefers-reduced-motion: reduce) {
|
|
427
427
|
*, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
|
|
428
428
|
}
|
|
429
|
+
/* Kryptheon itself has stopped: over everything, the guide included - no button on the page can work meanwhile. */
|
|
430
|
+
.stopped { position: fixed; inset: 0; z-index: 9500; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(11, 14, 20, 0.72); }
|
|
431
|
+
.stopped[hidden] { display: none; }
|
|
432
|
+
.stopped-card { width: min(560px, 100%); padding: 26px 26px 20px; color: var(--ink); background: var(--white); border-top: 4px solid var(--orange); box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45); }
|
|
433
|
+
.stopped-card h2 { margin: 0 0 10px; font-weight: 800; font-stretch: 74%; font-size: 1.6rem; text-transform: uppercase; }
|
|
434
|
+
.stopped-card p, .stopped-card li { font-size: 14px; line-height: 1.55; }
|
|
435
|
+
.stopped-card ul { margin: 10px 0; padding-left: 20px; display: grid; gap: 6px; }
|
|
436
|
+
.stopped-cmd { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 6px 0 14px; padding: 10px 12px; background: rgba(18, 22, 29, 0.06); }
|
|
437
|
+
.stopped-cmd code { flex: 1 1 260px; min-width: 0; font: 12.5px/1.5 var(--mono); overflow-wrap: anywhere; }
|
|
438
|
+
.stopped-wait { display: flex; align-items: center; gap: 8px; color: var(--orange-deep); font-weight: 600; }
|
|
429
439
|
</style>
|
|
430
440
|
</head>
|
|
431
441
|
<body>
|
|
442
|
+
<div class="stopped" id="stoppedBox" hidden role="alertdialog" aria-live="assertive"></div>
|
|
432
443
|
<div class="shell">
|
|
433
444
|
<aside class="side">
|
|
434
445
|
<div class="brand">
|
|
@@ -0,0 +1,224 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/*
|
|
4
|
+
* The app's open doors, tried from outside like any visitor, through the same connection the API check uses (this
|
|
5
|
+
* computer or the saved address only, never a DELETE, nothing but GET on a live app):
|
|
6
|
+
*
|
|
7
|
+
* - files that must never be served: .env (its setting NAMES are said, never a value) and the .git folder;
|
|
8
|
+
* - API docs anyone can read (said as a thing to check: often meant to be public);
|
|
9
|
+
* - CORS that lets any other website read what a signed-in person's browser is sent;
|
|
10
|
+
* - on a LIVE site only: source maps that hand out the app's original source code (a dev server on this computer
|
|
11
|
+
* serves them on purpose, so there it is never said);
|
|
12
|
+
* - on an app on THIS computer only: a sign-in that takes 20 wrong passwords and never slows down. The passwords go
|
|
13
|
+
* to a made-up address (kx-nobody-...@example.test), so no real account is ever locked.
|
|
14
|
+
*
|
|
15
|
+
* Every door has a safe look-alike it must stay quiet on - above all the single-page app that answers every address
|
|
16
|
+
* with its own page: an address answered exactly like a made-up one is never a finding. Deterministic: no AI, no key.
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
const crypto = require('crypto');
|
|
20
|
+
const authz = require('./kryptheon-authz.js');
|
|
21
|
+
|
|
22
|
+
const ENV_PATHS = ['/.env', '/.env.local', '/.env.production'];
|
|
23
|
+
const GIT_PATHS = [['/.git/config', /^\s*\[core\]/m], ['/.git/HEAD', /^ref: refs\//m]];
|
|
24
|
+
const DOC_PATHS = ['/openapi.json', '/swagger.json', '/api-docs', '/v3/api-docs', '/swagger', '/swagger-ui.html', '/api/docs', '/docs'];
|
|
25
|
+
// a setting whose name says it is a secret
|
|
26
|
+
const SECRET_NAME = /(SECRET|PRIVATE|PASSWORD|PASSWD|TOKEN|API_?KEY|ACCESS_?KEY|DATABASE_URL|DB_URL|SERVICE_ROLE|CONNECTION|DSN|WEBHOOK)/i;
|
|
27
|
+
const SETTING = /^\s*(?:export\s+)?([A-Za-z_][A-Za-z0-9_]{1,80})\s*=\s*(.*)$/;
|
|
28
|
+
const LOGIN_TRIES = 20;
|
|
29
|
+
// the made-up website that asks to read the app's answers
|
|
30
|
+
const OTHER_SITE = 'https://kx-other-site.example';
|
|
31
|
+
const SLOWED = /too many|try again (later|in)|rate.?limit|locked|slow down|wait a (minute|moment|bit)/i;
|
|
32
|
+
|
|
33
|
+
const rand = () => crypto.randomBytes(5).toString('hex');
|
|
34
|
+
const looksHtml = (text) => /^\s*<(!doctype|html|head|body|div|script)/i.test(String(text || ''));
|
|
35
|
+
const answeredLikeNothing = (res, missing) => Boolean(missing) && res.status === missing.status && String(res.text || '').trim() === String(missing.text || '').trim();
|
|
36
|
+
|
|
37
|
+
/** The settings in a served .env-like text: [{ name, set }]. Empty when it is not one. */
|
|
38
|
+
function settingsIn(text) {
|
|
39
|
+
const out = [];
|
|
40
|
+
for (const line of String(text || '').split(/\r?\n/)) {
|
|
41
|
+
if (/^\s*(#|$)/.test(line)) continue;
|
|
42
|
+
const m = SETTING.exec(line);
|
|
43
|
+
if (!m) return []; // a line that is neither a setting nor a comment: not a .env file
|
|
44
|
+
out.push({ name: m[1], set: m[2].replace(/^["']|["']$/g, '').trim() !== '' });
|
|
45
|
+
}
|
|
46
|
+
return out;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* options: { origin, fetch, readOnly, live, gets: ['/api/items', ...] (GET paths without a parameter, for CORS),
|
|
51
|
+
* signIn: { method, path, emailField, passwordField, encoding, bearer } }.
|
|
52
|
+
* { ran, why, tried: [{ what, as, status }], findings, held: [text], notTried: [text] }
|
|
53
|
+
*/
|
|
54
|
+
async function run(options) {
|
|
55
|
+
const opts = options || {};
|
|
56
|
+
const readOnly = opts.readOnly === true;
|
|
57
|
+
let origin;
|
|
58
|
+
try {
|
|
59
|
+
origin = authz.assertLocalTarget(opts.origin, null, { readOnly: readOnly });
|
|
60
|
+
} catch (err) {
|
|
61
|
+
return { ran: false, why: 'the app must be on this computer (localhost or 127.0.0.1): ' + (opts.origin || 'no address was given') };
|
|
62
|
+
}
|
|
63
|
+
const ctx = authz.makeContext({ baseUrl: origin, allowOrigins: [origin], fetch: opts.fetch, readOnly: readOnly, maxRequests: 120 });
|
|
64
|
+
const nobody = authz.makeSession(ctx, 'nobody', 'nobody', '');
|
|
65
|
+
const out = { ran: true, tried: [], findings: [], held: [], notTried: [] };
|
|
66
|
+
const get = async (p, headers) => {
|
|
67
|
+
const res = await nobody.send('GET', p, headers ? { headers: headers } : {});
|
|
68
|
+
out.tried.push({ what: 'GET ' + p, as: 'nobody signed in', status: res.status });
|
|
69
|
+
return res;
|
|
70
|
+
};
|
|
71
|
+
const add = (f) => {
|
|
72
|
+
f.fixPrompt = ['Kryptheon tried my running app from outside, like any visitor:', '', f.headline + '.', '', f.proof.join('\n'), '', f.fix, '', 'Change nothing else.'].join('\n');
|
|
73
|
+
delete f.fix;
|
|
74
|
+
out.findings.push(f);
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
// what the app answers for an address that cannot exist: a single-page app sends its own page for every address
|
|
78
|
+
const missing = await get('/kx-no-such-page-' + rand());
|
|
79
|
+
|
|
80
|
+
// 1. the settings file
|
|
81
|
+
for (const p of ENV_PATHS) {
|
|
82
|
+
const res = await get(p);
|
|
83
|
+
if (res.status !== 200 || answeredLikeNothing(res, missing) || looksHtml(res.text)) continue;
|
|
84
|
+
const settings = settingsIn(res.text);
|
|
85
|
+
if (!settings.length) continue;
|
|
86
|
+
const secrets = settings.filter((s) => s.set && SECRET_NAME.test(s.name)).map((s) => s.name);
|
|
87
|
+
const named = (secrets.length ? secrets : settings.map((s) => s.name)).slice(0, 6);
|
|
88
|
+
add({
|
|
89
|
+
kind: 'door-env', where: 'GET ' + p, status: 'confirmed', severity: secrets.length ? 'CRITICAL' : 'HIGH',
|
|
90
|
+
headline: 'GET ' + p + ' hands your app\'s settings file to anyone: ' + settings.length + ' setting' + (settings.length === 1 ? '' : 's') +
|
|
91
|
+
(secrets.length ? ', including ' + named.join(', ') : ''),
|
|
92
|
+
proof: ['Sent GET ' + p + ' with no session; the app answered 200 with ' + settings.length + ' lines of NAME=value.', 'Names: ' + settings.map((s) => s.name).slice(0, 20).join(', ') + ' (no value is shown or kept).'],
|
|
93
|
+
fix: 'Stop serving this file: the folder the server hands to browsers must not hold it - move .env out of the public or static folder, or refuse every address that starts with a dot. Then treat every secret in it as stolen: make a new one at each provider (' + (secrets.length ? secrets.join(', ') : 'each key in it') + ') and delete the old one.',
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
// 2. the code's history
|
|
98
|
+
for (const [p, sign] of GIT_PATHS) {
|
|
99
|
+
const res = await get(p);
|
|
100
|
+
if (res.status !== 200 || answeredLikeNothing(res, missing) || looksHtml(res.text) || !sign.test(String(res.text || ''))) continue;
|
|
101
|
+
add({
|
|
102
|
+
kind: 'door-git', where: 'GET ' + p, status: 'confirmed', severity: 'HIGH',
|
|
103
|
+
headline: 'GET ' + p + ' is served to anyone: the whole history of your code can be downloaded, with every key or password that was ever in it',
|
|
104
|
+
proof: ['Sent GET ' + p + ' with no session; the app answered 200 with a git file (' + (p.endsWith('HEAD') ? '"ref: refs/..."' : '"[core]"') + ').'],
|
|
105
|
+
fix: 'Stop serving the .git folder: deploy only the built app, never the project folder, or refuse every address that starts with a dot. Then make new keys for any secret that was ever committed.',
|
|
106
|
+
});
|
|
107
|
+
break;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
// 3. API docs anyone can read
|
|
111
|
+
for (const p of DOC_PATHS) {
|
|
112
|
+
const res = await get(p);
|
|
113
|
+
if (res.status !== 200 || answeredLikeNothing(res, missing)) continue;
|
|
114
|
+
const j = res.json;
|
|
115
|
+
const isDocs = (j && typeof j === 'object' && (j.openapi || j.swagger) && j.paths) || /swagger-ui|redoc|"openapi"\s*:|"swagger"\s*:/i.test(String(res.text || ''));
|
|
116
|
+
if (!isDocs) continue;
|
|
117
|
+
add({
|
|
118
|
+
kind: 'door-apidocs', where: 'GET ' + p, status: 'verification required', severity: 'LOW',
|
|
119
|
+
headline: 'GET ' + p + ' shows anyone the full list of your API\'s routes and fields - to check: fine if your API is meant to be public',
|
|
120
|
+
proof: ['Sent GET ' + p + ' with no session; the app answered 200 with API docs (OpenAPI / Swagger).'],
|
|
121
|
+
fix: 'If these docs are only for you or your team, put them behind sign-in or turn them off outside development. If the API is meant to be public, leave it.',
|
|
122
|
+
});
|
|
123
|
+
break;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
// 4. CORS: may another website read what a signed-in person's browser is sent?
|
|
127
|
+
const corsPaths = (opts.gets || []).filter((p) => typeof p === 'string' && p.startsWith('/') && !/[{:*]/.test(p)).slice(0, 5);
|
|
128
|
+
if (!corsPaths.length) corsPaths.push('/');
|
|
129
|
+
const opened = [];
|
|
130
|
+
for (const p of corsPaths) {
|
|
131
|
+
const res = await get(p, { origin: OTHER_SITE });
|
|
132
|
+
const allow = (res.headers && res.headers['access-control-allow-origin']) || '';
|
|
133
|
+
const creds = (res.headers && res.headers['access-control-allow-credentials']) || '';
|
|
134
|
+
if ((allow === OTHER_SITE || allow === 'null') && /^true$/i.test(creds)) opened.push({ p: p, allow: allow });
|
|
135
|
+
}
|
|
136
|
+
if (opened.length) {
|
|
137
|
+
const bearer = Boolean(opts.signIn && opts.signIn.bearer);
|
|
138
|
+
add({
|
|
139
|
+
kind: 'door-cors', where: 'GET ' + opened[0].p, status: bearer ? 'verification required' : 'confirmed', severity: bearer ? 'MEDIUM' : 'HIGH',
|
|
140
|
+
headline: 'Any website can read what ' + opened.map((o) => 'GET ' + o.p).join(', ') + ' sends to a signed-in person: the app allows whichever site asks, with its cookies (CORS)' +
|
|
141
|
+
(bearer ? ' - to check: this app signs in with a token, which another site cannot send' : ''),
|
|
142
|
+
proof: opened.map((o) => 'Sent GET ' + o.p + ' as if from ' + OTHER_SITE + '; the app answered Access-Control-Allow-Origin: ' + o.allow + ' and Access-Control-Allow-Credentials: true.'),
|
|
143
|
+
fix: 'Allow only your own site\'s address in the CORS settings (a fixed list, never the Origin the request sends, and never "null"). Keep credentials allowed only for that list.',
|
|
144
|
+
});
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
// 5. source maps: on a live site, the app's own code handed to anyone
|
|
148
|
+
if (opts.live === true) {
|
|
149
|
+
const page = await get('/');
|
|
150
|
+
const scripts = [];
|
|
151
|
+
for (const m of String(page.text || '').matchAll(/<script[^>]+src=["']([^"']+)["']/gi)) {
|
|
152
|
+
let u;
|
|
153
|
+
try { u = new URL(m[1], origin); } catch (err) { continue; }
|
|
154
|
+
if (u.origin === origin && !scripts.includes(u.pathname)) scripts.push(u.pathname);
|
|
155
|
+
}
|
|
156
|
+
let found = null;
|
|
157
|
+
for (const src of scripts.slice(0, 6)) {
|
|
158
|
+
const js = await get(src);
|
|
159
|
+
if (js.status !== 200) continue;
|
|
160
|
+
const named = /\/\/[#@]\s*sourceMappingURL=([^\s'"]+)\s*$/m.exec(String(js.text || ''));
|
|
161
|
+
const candidates = [];
|
|
162
|
+
if (named && !/^data:/i.test(named[1])) {
|
|
163
|
+
try { const u = new URL(named[1], origin + src); if (u.origin === origin) candidates.push(u.pathname); } catch (err) { /* not an address */ }
|
|
164
|
+
}
|
|
165
|
+
if (!candidates.length) candidates.push(src + '.map');
|
|
166
|
+
for (const c of candidates) {
|
|
167
|
+
const res = await get(c);
|
|
168
|
+
const j = res.json;
|
|
169
|
+
if (res.status === 200 && j && Array.isArray(j.sources) && Array.isArray(j.sourcesContent) && j.sourcesContent.some((x) => typeof x === 'string' && x.length)) {
|
|
170
|
+
found = { map: c, sources: j.sources.filter((s) => typeof s === 'string') };
|
|
171
|
+
break;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
if (found) break;
|
|
175
|
+
}
|
|
176
|
+
if (found) {
|
|
177
|
+
add({
|
|
178
|
+
kind: 'door-sourcemap', where: 'GET ' + found.map, status: 'confirmed', severity: 'MEDIUM',
|
|
179
|
+
headline: 'The live site hands out your app\'s original source code: ' + found.map + ' holds ' + found.sources.length + ' file' + (found.sources.length === 1 ? '' : 's') + ' as you wrote them',
|
|
180
|
+
proof: ['Sent GET ' + found.map + ' with no session; it answered with a source map holding the files\' own code: ' + found.sources.slice(0, 5).join(', ') + (found.sources.length > 5 ? ', ...' : '') + '.'],
|
|
181
|
+
fix: 'Turn off source maps in the production build (for Vite: build.sourcemap false; for Next.js: productionBrowserSourceMaps false), or keep them off the public site. Anything secret that was in that code must be changed too.',
|
|
182
|
+
});
|
|
183
|
+
}
|
|
184
|
+
} else {
|
|
185
|
+
out.notTried.push('source maps: on this computer a dev server serves them on purpose - they are checked on your live address');
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
// 6. the sign-in: does it ever slow down? Only on this computer, only with a made-up address.
|
|
189
|
+
const s = opts.signIn;
|
|
190
|
+
if (readOnly) out.notTried.push('wrong passwords at sign-in: never sent to a live app');
|
|
191
|
+
else if (!s || !s.path || s.bearer) out.notTried.push('wrong passwords at sign-in: ' + (!s || !s.path ? 'no sign-in with an email and a password was found' : 'this app signs in with a token'));
|
|
192
|
+
else {
|
|
193
|
+
const email = 'kx-nobody-' + rand() + '@example.test';
|
|
194
|
+
const method = String(s.method || 'POST').toUpperCase();
|
|
195
|
+
const what = method + ' ' + s.path;
|
|
196
|
+
const session = authz.makeSession(ctx, 'nobody', email, '');
|
|
197
|
+
const t0 = Date.now();
|
|
198
|
+
let held = null;
|
|
199
|
+
let stopped = null;
|
|
200
|
+
let sent = 0;
|
|
201
|
+
for (let i = 0; i < LOGIN_TRIES; i++) {
|
|
202
|
+
const fields = { [s.emailField || 'email']: email, [s.passwordField || 'password']: 'kx-wrong-' + rand() };
|
|
203
|
+
const res = await session.send(method, s.path, s.encoding === 'form' ? { form: fields } : { json: fields });
|
|
204
|
+
sent += 1;
|
|
205
|
+
out.tried.push({ what: what, as: email, status: res.status });
|
|
206
|
+
if (res.status === 429 || res.status === 423 || SLOWED.test(String(res.text || ''))) { held = res.status; break; }
|
|
207
|
+
if (res.status === 0 || res.status >= 500) { stopped = res.status || 'no answer'; break; }
|
|
208
|
+
}
|
|
209
|
+
const secs = Math.max(1, Math.round((Date.now() - t0) / 1000));
|
|
210
|
+
if (held !== null) out.held.push(what + ' slowed down after ' + sent + ' wrong password' + (sent === 1 ? '' : 's') + ' (answered ' + held + ')');
|
|
211
|
+
else if (stopped !== null) out.notTried.push('wrong passwords at sign-in: ' + what + ' answered ' + stopped + ' - not judged');
|
|
212
|
+
else {
|
|
213
|
+
add({
|
|
214
|
+
kind: 'door-login-limit', where: what, status: 'confirmed', severity: 'MEDIUM',
|
|
215
|
+
headline: what + ' took ' + LOGIN_TRIES + ' wrong passwords in ' + secs + ' s and never slowed down: a script can guess passwords for as long as it likes',
|
|
216
|
+
proof: ['Sent ' + LOGIN_TRIES + ' sign-ins with wrong passwords for a made-up address (' + email + '), one after another; none was refused as too many (no 429, no "try again later").'],
|
|
217
|
+
fix: 'Limit sign-in attempts on the server: for example 5 a minute per address and per IP, then answer 429 with a wait. Do the same for any one-time code (OTP) check.',
|
|
218
|
+
});
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
return out;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
module.exports = { run, settingsIn, ENV_PATHS, DOC_PATHS, LOGIN_TRIES };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kryptheon",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.77",
|
|
4
4
|
"description": "Record what you do in your app and get plain-language reports when it breaks.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"type": "commonjs",
|
|
@@ -60,6 +60,7 @@
|
|
|
60
60
|
"kryptheon-map.js",
|
|
61
61
|
"kryptheon-api.js",
|
|
62
62
|
"kryptheon-aiapp.js",
|
|
63
|
+
"kryptheon-doors.js",
|
|
63
64
|
"kryptheon-webhook.js",
|
|
64
65
|
"kryptheon-csv.js",
|
|
65
66
|
"kryptheon-witness.js",
|
|
@@ -75,7 +76,7 @@
|
|
|
75
76
|
"pg": "^8.23.0"
|
|
76
77
|
},
|
|
77
78
|
"scripts": {
|
|
78
|
-
"check": "node kryptheon-store.check.js && node kryptheon-code.check.js && node kryptheon-constdata.check.js && node kryptheon-listitems.check.js && node kryptheon-accept.check.js && node kryptheon-keys.check.js && node kryptheon-dashboard.check.js && node kryptheon-tour.check.js && node kryptheon-upgrade.check.js && node kryptheon-edge.check.js && node kryptheon-reliability.check.js && node kryptheon-fresh.check.js && node kryptheon-payments-dash.check.js && node kryptheon-embedded.check.js && node kryptheon-autostart.check.js && node kryptheon-changes.check.js && node kryptheon-look.check.js && node kryptheon-verify.check.js && node kryptheon-recheck.check.js && node kryptheon-reporter.check.js && node kryptheon-signature.check.js && node kryptheon-signature.stream.check.js && node kryptheon-signature.baseline.check.js && node kryptheon-signature.settle.check.js && node kryptheon-signature.number.check.js && node kryptheon-signature.rows.check.js && node kryptheon-env.check.js && node kryptheon-watchdog.check.js && node kryptheon-phone.check.js && node kryptheon-homedash.check.js && node kryptheon-record.check.js && node kryptheon-selectors.check.js && node kryptheon-recordings.check.js && node kryptheon-testfiles.check.js && node kryptheon-cleanup.check.js && node kryptheon-orphan.check.js && node kryptheon-project.check.js && node kryptheon-setup.check.js && node kryptheon-browser.check.js && node kryptheon-heal.check.js && node kryptheon-load.check.js && node kryptheon-authz.check.js && node kryptheon-roles.check.js && node kryptheon-map.check.js && node kryptheon-api.check.js && node kryptheon-webhook.check.js && node kryptheon-csv.check.js && node kryptheon-witness.check.js && node kryptheon-round34.check.js && node kryptheon-token.check.js && node kryptheon-questions.check.js && node kryptheon-pwbox.check.js && node kryptheon-quiet.check.js && node kryptheon-speed.check.js && node kryptheon-daily.check.js && node kryptheon-live.check.js && node kryptheon-aim.check.js && node kryptheon-peruser.check.js && node kryptheon-aiapp.check.js && node kryptheon-package.check.js && node kryptheon-newer.check.js",
|
|
79
|
+
"check": "node kryptheon-store.check.js && node kryptheon-code.check.js && node kryptheon-constdata.check.js && node kryptheon-listitems.check.js && node kryptheon-accept.check.js && node kryptheon-keys.check.js && node kryptheon-dashboard.check.js && node kryptheon-tour.check.js && node kryptheon-upgrade.check.js && node kryptheon-edge.check.js && node kryptheon-reliability.check.js && node kryptheon-fresh.check.js && node kryptheon-payments-dash.check.js && node kryptheon-embedded.check.js && node kryptheon-autostart.check.js && node kryptheon-changes.check.js && node kryptheon-look.check.js && node kryptheon-verify.check.js && node kryptheon-recheck.check.js && node kryptheon-reporter.check.js && node kryptheon-signature.check.js && node kryptheon-signature.stream.check.js && node kryptheon-signature.baseline.check.js && node kryptheon-signature.settle.check.js && node kryptheon-signature.number.check.js && node kryptheon-signature.rows.check.js && node kryptheon-env.check.js && node kryptheon-watchdog.check.js && node kryptheon-phone.check.js && node kryptheon-homedash.check.js && node kryptheon-record.check.js && node kryptheon-selectors.check.js && node kryptheon-recordings.check.js && node kryptheon-testfiles.check.js && node kryptheon-cleanup.check.js && node kryptheon-orphan.check.js && node kryptheon-project.check.js && node kryptheon-setup.check.js && node kryptheon-browser.check.js && node kryptheon-heal.check.js && node kryptheon-load.check.js && node kryptheon-authz.check.js && node kryptheon-roles.check.js && node kryptheon-map.check.js && node kryptheon-api.check.js && node kryptheon-webhook.check.js && node kryptheon-csv.check.js && node kryptheon-witness.check.js && node kryptheon-round34.check.js && node kryptheon-token.check.js && node kryptheon-questions.check.js && node kryptheon-pwbox.check.js && node kryptheon-quiet.check.js && node kryptheon-speed.check.js && node kryptheon-stopped.check.js && node kryptheon-daily.check.js && node kryptheon-live.check.js && node kryptheon-aim.check.js && node kryptheon-peruser.check.js && node kryptheon-aiapp.check.js && node kryptheon-doors.check.js && node kryptheon-package.check.js && node kryptheon-newer.check.js",
|
|
79
80
|
"check:store": "node kryptheon-store.check.js",
|
|
80
81
|
"check:code": "node kryptheon-code.check.js",
|
|
81
82
|
"check:constdata": "node kryptheon-constdata.check.js",
|