mneme-ai 2.107.0 → 2.108.0
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.
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `mneme entropy` (v2.108.0) — audited multi-source secrets. Mixes the OS
|
|
3
|
+
* CSPRNG + timing jitter + any physical/beacon sample you feed it, health-
|
|
4
|
+
* checks them, and emits a secret with a SIGNED provenance attestation
|
|
5
|
+
* (which sources, their health, the secret's hash — never the secret). Total.
|
|
6
|
+
*/
|
|
7
|
+
import type { Command } from "commander";
|
|
8
|
+
export declare function registerEntropyCommands(program: Command): void;
|
|
9
|
+
//# sourceMappingURL=entropy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entropy.d.ts","sourceRoot":"","sources":["../../src/commands/entropy.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAgCzC,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CA4D9D"}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `mneme entropy` (v2.108.0) — audited multi-source secrets. Mixes the OS
|
|
3
|
+
* CSPRNG + timing jitter + any physical/beacon sample you feed it, health-
|
|
4
|
+
* checks them, and emits a secret with a SIGNED provenance attestation
|
|
5
|
+
* (which sources, their health, the secret's hash — never the secret). Total.
|
|
6
|
+
*/
|
|
7
|
+
import { existsSync, readFileSync, writeFileSync, mkdirSync } from "node:fs";
|
|
8
|
+
import { join } from "node:path";
|
|
9
|
+
import { randomBytes } from "node:crypto";
|
|
10
|
+
function writeJson(p) { process.stdout.write(JSON.stringify(p, null, 2) + "\n"); }
|
|
11
|
+
function writeText(l) { process.stdout.write(l + "\n"); }
|
|
12
|
+
async function core() {
|
|
13
|
+
try {
|
|
14
|
+
const c = (await import("@mneme-ai/core"));
|
|
15
|
+
if (c.entropy)
|
|
16
|
+
return c;
|
|
17
|
+
}
|
|
18
|
+
catch { /* */ }
|
|
19
|
+
return null;
|
|
20
|
+
}
|
|
21
|
+
/** Gather a (weak, supplementary) timing-jitter sample — defense in depth. */
|
|
22
|
+
function jitterSample(rounds = 4096) {
|
|
23
|
+
const acc = [];
|
|
24
|
+
let prev = Number(process.hrtime.bigint() & 0xffn);
|
|
25
|
+
for (let i = 0; i < rounds; i++) {
|
|
26
|
+
const t = Number(process.hrtime.bigint() & 0xffn);
|
|
27
|
+
acc.push((t ^ prev) & 0xff);
|
|
28
|
+
prev = t;
|
|
29
|
+
if (acc.length >= 256)
|
|
30
|
+
break;
|
|
31
|
+
}
|
|
32
|
+
return Buffer.from(acc);
|
|
33
|
+
}
|
|
34
|
+
export function registerEntropyCommands(program) {
|
|
35
|
+
const e = program
|
|
36
|
+
.command("entropy")
|
|
37
|
+
.description("🎲 AUDITED ENTROPY — generate secrets/keys by MIXING every entropy source you have (OS CSPRNG + timing jitter + any physical/beacon sample), health-checked, with a SIGNED provenance attestation. Defense-in-depth + auditable; NOT a claim of magic unhackability.");
|
|
38
|
+
e.command("gen")
|
|
39
|
+
.description("Generate a secret from mixed, health-checked sources + a signed provenance attestation.")
|
|
40
|
+
.option("--bytes <n>", "secret length in bytes", (v) => parseInt(v, 10), 32)
|
|
41
|
+
.option("--physical <s>", "a physical/external sample to mix in (sensor reading, dice rolls, etc.)")
|
|
42
|
+
.option("--beacon-file <f>", "file with public randomness-beacon bytes to mix in")
|
|
43
|
+
.option("--hash-only", "print only the secret's hash + attestation (don't reveal the secret)")
|
|
44
|
+
.option("--json", "JSON output.")
|
|
45
|
+
.action(async (opts) => {
|
|
46
|
+
const m = await core();
|
|
47
|
+
if (!m) {
|
|
48
|
+
writeText("✗ core unavailable");
|
|
49
|
+
process.exitCode = 1;
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
52
|
+
const cwd = process.cwd();
|
|
53
|
+
const sources = [
|
|
54
|
+
{ id: "os-csprng", data: randomBytes(64) },
|
|
55
|
+
{ id: "timing-jitter", data: jitterSample() },
|
|
56
|
+
];
|
|
57
|
+
if (opts.physical)
|
|
58
|
+
sources.push({ id: "physical", data: opts.physical });
|
|
59
|
+
if (opts.beaconFile && existsSync(opts.beaconFile)) {
|
|
60
|
+
try {
|
|
61
|
+
sources.push({ id: "beacon", data: readFileSync(opts.beaconFile) });
|
|
62
|
+
}
|
|
63
|
+
catch { /* */ }
|
|
64
|
+
}
|
|
65
|
+
const sec = m.entropy.generateSecret(cwd, sources, opts.bytes ?? 32, Date.now());
|
|
66
|
+
// persist the attestation (not the secret) for later verification
|
|
67
|
+
try {
|
|
68
|
+
const dir = join(cwd, ".mneme", "entropy");
|
|
69
|
+
if (!existsSync(dir))
|
|
70
|
+
mkdirSync(dir, { recursive: true });
|
|
71
|
+
writeFileSync(join(dir, "last_attestation.json"), JSON.stringify(sec.attestation, null, 2));
|
|
72
|
+
}
|
|
73
|
+
catch { /* */ }
|
|
74
|
+
if (opts.json) {
|
|
75
|
+
writeJson({ secret: opts.hashOnly ? undefined : sec.secretHex, sourceIds: sec.sourceIds, sourceHealth: sec.sourceHealth, outputHealth: sec.outputHealth, attestation: sec.attestation });
|
|
76
|
+
return;
|
|
77
|
+
}
|
|
78
|
+
writeText(`🎲 secret (${(opts.bytes ?? 32)} bytes) — sources: ${sec.sourceIds.join(" + ")}`);
|
|
79
|
+
if (!opts.hashOnly)
|
|
80
|
+
writeText(` ${sec.secretHex}`);
|
|
81
|
+
writeText(` output health: ${sec.outputHealth.passed ? "✓ passed" : "✗ failed"} · est. min-entropy ${sec.outputHealth.minEntropyBitsPerByte}/8 bits/byte`);
|
|
82
|
+
for (const h of sec.sourceHealth)
|
|
83
|
+
writeText(` ${h.passed ? "✓" : "⚠"} ${h.id}: min-entropy ${h.minEntropyBitsPerByte}`);
|
|
84
|
+
writeText(` ✓ signed provenance attestation → .mneme/entropy/last_attestation.json (verify with: mneme entropy verify)`);
|
|
85
|
+
});
|
|
86
|
+
e.command("verify")
|
|
87
|
+
.description("Verify a secret's provenance attestation offline (signature + that the secret matches, without the attestation ever containing it).")
|
|
88
|
+
.requiredOption("--secret <hex>", "the secret (hex) to verify")
|
|
89
|
+
.option("--attestation-file <f>", "attestation JSON (default: .mneme/entropy/last_attestation.json)")
|
|
90
|
+
.option("--json", "JSON output.")
|
|
91
|
+
.action(async (opts) => {
|
|
92
|
+
const m = await core();
|
|
93
|
+
if (!m) {
|
|
94
|
+
writeText("✗ core unavailable");
|
|
95
|
+
process.exitCode = 1;
|
|
96
|
+
return;
|
|
97
|
+
}
|
|
98
|
+
const path = opts.attestationFile || join(process.cwd(), ".mneme", "entropy", "last_attestation.json");
|
|
99
|
+
if (!existsSync(path)) {
|
|
100
|
+
writeText(`✗ no attestation at ${path}`);
|
|
101
|
+
process.exitCode = 1;
|
|
102
|
+
return;
|
|
103
|
+
}
|
|
104
|
+
let att;
|
|
105
|
+
try {
|
|
106
|
+
att = JSON.parse(readFileSync(path, "utf8"));
|
|
107
|
+
}
|
|
108
|
+
catch {
|
|
109
|
+
writeText("✗ attestation not valid JSON");
|
|
110
|
+
process.exitCode = 1;
|
|
111
|
+
return;
|
|
112
|
+
}
|
|
113
|
+
const v = m.entropy.verifySecretAttestation(att, opts.secret);
|
|
114
|
+
if (opts.json) {
|
|
115
|
+
writeJson(v);
|
|
116
|
+
process.exitCode = v.bound ? 0 : 1;
|
|
117
|
+
return;
|
|
118
|
+
}
|
|
119
|
+
writeText(v.bound ? `✓ VERIFIED — ${v.reason}` : `✗ NOT VERIFIED — ${v.reason}`);
|
|
120
|
+
process.exitCode = v.bound ? 0 : 1;
|
|
121
|
+
});
|
|
122
|
+
e.command("health")
|
|
123
|
+
.description("Health-check a byte sample (monobit / runs / min-entropy) — catches a stuck or degraded entropy source.")
|
|
124
|
+
.requiredOption("--file <f>", "file to check")
|
|
125
|
+
.option("--json", "JSON output.")
|
|
126
|
+
.action(async (opts) => {
|
|
127
|
+
const m = await core();
|
|
128
|
+
if (!m) {
|
|
129
|
+
writeText("✗ core unavailable");
|
|
130
|
+
process.exitCode = 1;
|
|
131
|
+
return;
|
|
132
|
+
}
|
|
133
|
+
if (!existsSync(opts.file)) {
|
|
134
|
+
writeText("✗ file not found");
|
|
135
|
+
process.exitCode = 1;
|
|
136
|
+
return;
|
|
137
|
+
}
|
|
138
|
+
const h = m.entropy.healthCheck(readFileSync(opts.file));
|
|
139
|
+
if (opts.json) {
|
|
140
|
+
writeJson(h);
|
|
141
|
+
process.exitCode = h.passed ? 0 : 1;
|
|
142
|
+
return;
|
|
143
|
+
}
|
|
144
|
+
writeText(`${h.passed ? "✓ passed" : "✗ FAILED"} — monobit ${h.monobit.toFixed(3)} · est. min-entropy ${h.minEntropyBitsPerByte.toFixed(2)}/8`);
|
|
145
|
+
process.exitCode = h.passed ? 0 : 1;
|
|
146
|
+
});
|
|
147
|
+
}
|
|
148
|
+
//# sourceMappingURL=entropy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"entropy.js","sourceRoot":"","sources":["../../src/commands/entropy.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AAC7E,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,SAAS,SAAS,CAAC,CAAU,IAAU,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,EAAE,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;AACjG,SAAS,SAAS,CAAC,CAAS,IAAU,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;AASvE,KAAK,UAAU,IAAI;IACjB,IAAI,CAAC;Q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C,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC;QACzD,IAAI,IAAI,CAAC,IAAI,EAAE,CAAC;YAAC,SAAS,CAAC,CAAC,CAAC,CAAC;YAAC,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YAAC,OAAO;QAAC,CAAC;QAC7E,SAAS,CAAC,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,cAAc,CAAC,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC,uBAAuB,CAAC,CAAC,qBAAqB,CAAC,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;QAChJ,OAAO,CAAC,QAAQ,GAAG,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACtC,CAAC,CAAC,CAAC;AACP,CAAC"}
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AA6IA,wBAAsB,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAu+MvD"}
|
package/dist/index.js
CHANGED
|
@@ -73,6 +73,7 @@ import { registerWisdomGateCommands } from "./commands/wisdom_gates.js";
|
|
|
73
73
|
import { registerCortexCommands } from "./commands/cortex.js";
|
|
74
74
|
import { registerShellCommands } from "./commands/shell.js";
|
|
75
75
|
import { registerDigCommands } from "./commands/dig.js";
|
|
76
|
+
import { registerEntropyCommands } from "./commands/entropy.js";
|
|
76
77
|
import { registerTrustCommands } from "./commands/trust.js";
|
|
77
78
|
import { registerNuclearCommands } from "./commands/nuclear-cli.js";
|
|
78
79
|
import { registerOvernightCommand } from "./commands/overnight.js";
|
|
@@ -4691,6 +4692,7 @@ export async function run(argv) {
|
|
|
4691
4692
|
registerCortexCommands(program);
|
|
4692
4693
|
registerShellCommands(program);
|
|
4693
4694
|
registerDigCommands(program);
|
|
4695
|
+
registerEntropyCommands(program);
|
|
4694
4696
|
// ─── Trust calibrator (v1.31.0) -- per-subsystem precision/recall/band
|
|
4695
4697
|
registerTrustCommands(program);
|
|
4696
4698
|
// ─── Wisdom reactor (v1.33.0) -- five nuclear-physics formulas as Mneme metrics
|