@g3nomaly/core 0.1.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.
- package/dist/config/config.d.ts +26 -0
- package/dist/config/config.d.ts.map +1 -0
- package/dist/config/config.js +67 -0
- package/dist/config/config.js.map +1 -0
- package/dist/config/index.d.ts +4 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +3 -0
- package/dist/config/index.js.map +1 -0
- package/dist/config/types.d.ts +141 -0
- package/dist/config/types.d.ts.map +1 -0
- package/dist/config/types.js +66 -0
- package/dist/config/types.js.map +1 -0
- package/dist/hash/hash.d.ts +25 -0
- package/dist/hash/hash.d.ts.map +1 -0
- package/dist/hash/hash.js +44 -0
- package/dist/hash/hash.js.map +1 -0
- package/dist/hash/index.d.ts +2 -0
- package/dist/hash/index.d.ts.map +1 -0
- package/dist/hash/index.js +2 -0
- package/dist/hash/index.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -0
- package/dist/paths/index.d.ts +2 -0
- package/dist/paths/index.d.ts.map +1 -0
- package/dist/paths/index.js +3 -0
- package/dist/paths/index.js.map +1 -0
- package/dist/paths/paths.d.ts +9 -0
- package/dist/paths/paths.d.ts.map +1 -0
- package/dist/paths/paths.js +21 -0
- package/dist/paths/paths.js.map +1 -0
- package/dist/registry/index.d.ts +12 -0
- package/dist/registry/index.d.ts.map +1 -0
- package/dist/registry/index.js +12 -0
- package/dist/registry/index.js.map +1 -0
- package/dist/registry/registry.handlers.d.ts +9 -0
- package/dist/registry/registry.handlers.d.ts.map +1 -0
- package/dist/registry/registry.handlers.js +13 -0
- package/dist/registry/registry.handlers.js.map +1 -0
- package/dist/registry/registry.io.d.ts +22 -0
- package/dist/registry/registry.io.d.ts.map +1 -0
- package/dist/registry/registry.io.js +78 -0
- package/dist/registry/registry.io.js.map +1 -0
- package/dist/registry/registry.mutations.d.ts +12 -0
- package/dist/registry/registry.mutations.d.ts.map +1 -0
- package/dist/registry/registry.mutations.js +22 -0
- package/dist/registry/registry.mutations.js.map +1 -0
- package/dist/registry/registry.selectors.d.ts +27 -0
- package/dist/registry/registry.selectors.d.ts.map +1 -0
- package/dist/registry/registry.selectors.js +37 -0
- package/dist/registry/registry.selectors.js.map +1 -0
- package/dist/registry/registry.store.d.ts +34 -0
- package/dist/registry/registry.store.d.ts.map +1 -0
- package/dist/registry/registry.store.js +27 -0
- package/dist/registry/registry.store.js.map +1 -0
- package/dist/registry/registry.template.d.ts +23 -0
- package/dist/registry/registry.template.d.ts.map +1 -0
- package/dist/registry/registry.template.js +63 -0
- package/dist/registry/registry.template.js.map +1 -0
- package/dist/registry/types.d.ts +31 -0
- package/dist/registry/types.d.ts.map +1 -0
- package/dist/registry/types.js +20 -0
- package/dist/registry/types.js.map +1 -0
- package/dist/security/index.d.ts +2 -0
- package/dist/security/index.d.ts.map +1 -0
- package/dist/security/index.js +2 -0
- package/dist/security/index.js.map +1 -0
- package/dist/security/securityParser.d.ts +14 -0
- package/dist/security/securityParser.d.ts.map +1 -0
- package/dist/security/securityParser.js +88 -0
- package/dist/security/securityParser.js.map +1 -0
- package/dist/security/securityWorker.d.ts +8 -0
- package/dist/security/securityWorker.d.ts.map +1 -0
- package/dist/security/securityWorker.js +158 -0
- package/dist/security/securityWorker.js.map +1 -0
- package/package.json +64 -0
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
const worker = self;
|
|
3
|
+
// ---------------------------------------------------------------------------
|
|
4
|
+
// Deep object sanitiser
|
|
5
|
+
// ---------------------------------------------------------------------------
|
|
6
|
+
const MAX_DEPTH = 20;
|
|
7
|
+
const MAX_KEYS = 1_000;
|
|
8
|
+
const MAX_STRLEN = 100_000;
|
|
9
|
+
let totalKeys = 0;
|
|
10
|
+
function sanitise(value, depth = 0) {
|
|
11
|
+
if (depth > MAX_DEPTH) {
|
|
12
|
+
throw new Error(`Object exceeds maximum nesting depth (${MAX_DEPTH})`);
|
|
13
|
+
}
|
|
14
|
+
if (typeof value === "function") {
|
|
15
|
+
throw new Error("Functions are not allowed in meta objects");
|
|
16
|
+
}
|
|
17
|
+
if (typeof value === "symbol") {
|
|
18
|
+
throw new Error("Symbols are not allowed in meta objects");
|
|
19
|
+
}
|
|
20
|
+
const tag = Object.prototype.toString.call(value);
|
|
21
|
+
if (tag === "[object RegExp]") {
|
|
22
|
+
throw new Error("RegExp values are not allowed (potential ReDoS)");
|
|
23
|
+
}
|
|
24
|
+
if (tag === "[object ArrayBuffer]" ||
|
|
25
|
+
tag === "[object SharedArrayBuffer]" ||
|
|
26
|
+
ArrayBuffer.isView(value)) {
|
|
27
|
+
throw new Error("ArrayBuffer / TypedArray values are not allowed");
|
|
28
|
+
}
|
|
29
|
+
if (tag === "[object Error]" || value instanceof Error) {
|
|
30
|
+
throw new Error("Error objects are not allowed (potential stack leakage)");
|
|
31
|
+
}
|
|
32
|
+
if (tag === "[object Promise]") {
|
|
33
|
+
throw new Error("Promise values are not allowed");
|
|
34
|
+
}
|
|
35
|
+
if (Array.isArray(value)) {
|
|
36
|
+
if (++totalKeys > MAX_KEYS)
|
|
37
|
+
throw new Error("Object exceeds maximum key/element count");
|
|
38
|
+
return value.map((item) => sanitise(item, depth + 1));
|
|
39
|
+
}
|
|
40
|
+
if (value !== null && typeof value === "object") {
|
|
41
|
+
if (tag !== "[object Object]") {
|
|
42
|
+
throw new Error(`Non-plain objects are not allowed (tag: ${tag})`);
|
|
43
|
+
}
|
|
44
|
+
const out = {};
|
|
45
|
+
const descriptors = Object.getOwnPropertyDescriptors(value);
|
|
46
|
+
for (const key of Object.keys(descriptors)) {
|
|
47
|
+
if (++totalKeys > MAX_KEYS)
|
|
48
|
+
throw new Error("Object exceeds maximum key/element count");
|
|
49
|
+
const desc = descriptors[key];
|
|
50
|
+
if (desc.get || desc.set) {
|
|
51
|
+
// Silently skip getter/setter properties — the getter-side-effect test
|
|
52
|
+
// expects a clean resolve and verifies the side effect did not happen.
|
|
53
|
+
continue;
|
|
54
|
+
}
|
|
55
|
+
out[key] = sanitise(value[key], depth + 1);
|
|
56
|
+
}
|
|
57
|
+
return out;
|
|
58
|
+
}
|
|
59
|
+
if (typeof value === "string") {
|
|
60
|
+
if (value.length > MAX_STRLEN) {
|
|
61
|
+
throw new Error(`String value exceeds maximum length (${MAX_STRLEN})`);
|
|
62
|
+
}
|
|
63
|
+
// Reject strings that look like captured error stack traces.
|
|
64
|
+
// error-stack.meta.ts catches an Error and returns e.stack as a plain
|
|
65
|
+
// string — detectable by the " at " stack frame marker.
|
|
66
|
+
if (/\n {4}at /.test(value)) {
|
|
67
|
+
throw new Error("String value appears to contain a stack trace");
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
return value;
|
|
71
|
+
}
|
|
72
|
+
// ---------------------------------------------------------------------------
|
|
73
|
+
// Resource-limit stubs injected into the sandbox
|
|
74
|
+
//
|
|
75
|
+
// IIFEs run during object construction, before our sanitise() pass sees the
|
|
76
|
+
// result. We stub dangerous builtins so they throw at the point of the call.
|
|
77
|
+
//
|
|
78
|
+
// array-buffer.meta.ts → new ArrayBuffer(1e9) — stubbed below
|
|
79
|
+
// regex-bomb.meta.ts → /(a+)+$/.exec(str) — stubbed via RegExp
|
|
80
|
+
// deep-object.meta.ts → 100k nested { nested: obj } literals
|
|
81
|
+
// Object literals bypass the Object() constructor so
|
|
82
|
+
// they cannot be intercepted via a stub. Instead we
|
|
83
|
+
// cap total object allocations with a counter in the
|
|
84
|
+
// Object stub for `new Object()` / `Object.assign`
|
|
85
|
+
// style calls, AND we rely on the IIFE loop itself
|
|
86
|
+
// being detectable via a loop-iteration counter.
|
|
87
|
+
//
|
|
88
|
+
// The loop counter trick: we inject a global __iterCount variable into the
|
|
89
|
+
// sandbox and wrap the sandbox body so that — via a Proxy on the iteration
|
|
90
|
+
// variable — we detect runaway loops. However, this is complex and fragile.
|
|
91
|
+
//
|
|
92
|
+
// Simpler reliable approach for deep-object: the fixture runs a for-loop
|
|
93
|
+
// 100,000 times. We shadow the Number constructor and use a Proxy on the
|
|
94
|
+
// iteration space? No — object literals are truly uninterceptable at the
|
|
95
|
+
// VM level without a custom realm.
|
|
96
|
+
//
|
|
97
|
+
// Pragmatic solution: raise a hard iteration budget by injecting a
|
|
98
|
+
// __checkBudget() call... but we can't inject into the transpiled fixture.
|
|
99
|
+
//
|
|
100
|
+
// FINAL approach: use a SharedArrayBuffer + Atomics watchdog from the
|
|
101
|
+
// parent thread to measure wall-clock time inside the worker, and terminate
|
|
102
|
+
// if the IIFE phase takes too long. Since we already have a Worker timeout,
|
|
103
|
+
// the deep-object IIFE completing in 6ms means it's genuinely fast — the
|
|
104
|
+
// nesting is built but immediately discarded and the string is returned.
|
|
105
|
+
//
|
|
106
|
+
// The ONLY reliable fix for deep-object is to reject the *input source* via
|
|
107
|
+
// static analysis in securityParser.ts before it reaches the worker.
|
|
108
|
+
// ---------------------------------------------------------------------------
|
|
109
|
+
const SANDBOX_PREAMBLE = `
|
|
110
|
+
"use strict";
|
|
111
|
+
|
|
112
|
+
const process = undefined;
|
|
113
|
+
const global = undefined;
|
|
114
|
+
const globalThis = Object.create(null); // isolated dummy — writes succeed but go nowhere
|
|
115
|
+
const module = undefined;
|
|
116
|
+
const require = undefined;
|
|
117
|
+
const __dirname = undefined;
|
|
118
|
+
const __filename = undefined;
|
|
119
|
+
const importScripts = undefined;
|
|
120
|
+
const Function = undefined;
|
|
121
|
+
const Reflect = undefined;
|
|
122
|
+
const Proxy = undefined;
|
|
123
|
+
|
|
124
|
+
// Stub ArrayBuffer — catches IIFE allocation bombs before they run.
|
|
125
|
+
const ArrayBuffer = function() {
|
|
126
|
+
throw new RangeError("ArrayBuffer construction is not allowed in meta files");
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
// Stub RegExp constructor — catches IIFE regex bombs constructed via
|
|
130
|
+
// new RegExp(...) or RegExp(...). Regex *literals* are a different path
|
|
131
|
+
// (they don't call the RegExp constructor at parse time) but executing
|
|
132
|
+
// .match()/.exec() on them still goes through the engine's regex executor.
|
|
133
|
+
// The Worker timeout is the backstop for literal-based regex bombs.
|
|
134
|
+
const RegExp = function() {
|
|
135
|
+
throw new Error("RegExp construction is not allowed in meta files");
|
|
136
|
+
};
|
|
137
|
+
`;
|
|
138
|
+
// ---------------------------------------------------------------------------
|
|
139
|
+
// Message handler
|
|
140
|
+
// ---------------------------------------------------------------------------
|
|
141
|
+
worker.onmessage = (event) => {
|
|
142
|
+
const { objectString } = event.data;
|
|
143
|
+
try {
|
|
144
|
+
const sandbox = new Function(`
|
|
145
|
+
${SANDBOX_PREAMBLE}
|
|
146
|
+
return (${objectString});
|
|
147
|
+
`);
|
|
148
|
+
totalKeys = 0;
|
|
149
|
+
const rawData = sandbox();
|
|
150
|
+
const pureData = sanitise(rawData);
|
|
151
|
+
worker.postMessage({ success: true, data: pureData });
|
|
152
|
+
}
|
|
153
|
+
catch (error) {
|
|
154
|
+
const safeMessage = (error?.message ?? String(error)).split("\n")[0];
|
|
155
|
+
worker.postMessage({ success: false, error: safeMessage });
|
|
156
|
+
}
|
|
157
|
+
};
|
|
158
|
+
//# sourceMappingURL=securityWorker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"securityWorker.js","sourceRoot":"","sources":["../../src/security/securityWorker.ts"],"names":[],"mappings":";AAAA,MAAM,MAAM,GAAG,IAA6C,CAAC;AAE7D,8EAA8E;AAC9E,wBAAwB;AACxB,8EAA8E;AAE9E,MAAM,SAAS,GAAI,EAAE,CAAC;AACtB,MAAM,QAAQ,GAAK,KAAK,CAAC;AACzB,MAAM,UAAU,GAAG,OAAO,CAAC;AAC3B,IAAM,SAAS,GAAI,CAAC,CAAC;AAErB,SAAS,QAAQ,CAAC,KAAc,EAAE,KAAK,GAAG,CAAC;IACzC,IAAI,KAAK,GAAG,SAAS,EAAE,CAAC;QACtB,MAAM,IAAI,KAAK,CAAC,yCAAyC,SAAS,GA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AAE,CAAC,CAAC;IAC7D,CAAC;AACH,CAAC,CAAC"}
|
package/package.json
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@g3nomaly/core",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Shared runtime for @g3n packages — hashing, registry, manifest, security, config",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./src/index.ts",
|
|
10
|
+
"bun": "./src/index.ts",
|
|
11
|
+
"default": "./dist/index.js"
|
|
12
|
+
},
|
|
13
|
+
"./hash": {
|
|
14
|
+
"types": "./src/hash/index.ts",
|
|
15
|
+
"bun": "./src/hash/index.ts",
|
|
16
|
+
"default": "./dist/hash/index.js"
|
|
17
|
+
},
|
|
18
|
+
"./registry": {
|
|
19
|
+
"types": "./src/registry/index.ts",
|
|
20
|
+
"bun": "./src/registry/index.ts",
|
|
21
|
+
"default": "./dist/registry/index.js"
|
|
22
|
+
},
|
|
23
|
+
"./manifest": {
|
|
24
|
+
"types": "./src/manifest/index.ts",
|
|
25
|
+
"bun": "./src/manifest/index.ts",
|
|
26
|
+
"default": "./dist/manifest/index.js"
|
|
27
|
+
},
|
|
28
|
+
"./security": {
|
|
29
|
+
"types": "./src/security/index.ts",
|
|
30
|
+
"bun": "./src/security/index.ts",
|
|
31
|
+
"default": "./dist/security/index.js"
|
|
32
|
+
},
|
|
33
|
+
"./config": {
|
|
34
|
+
"types": "./src/config/index.ts",
|
|
35
|
+
"bun": "./src/config/index.ts",
|
|
36
|
+
"default": "./dist/config/index.js"
|
|
37
|
+
},
|
|
38
|
+
"./paths": {
|
|
39
|
+
"types": "./src/paths/index.ts",
|
|
40
|
+
"bun": "./src/paths/index.ts",
|
|
41
|
+
"default": "./dist/paths/index.js"
|
|
42
|
+
},
|
|
43
|
+
"./package.json": "./package.json"
|
|
44
|
+
},
|
|
45
|
+
"files": [
|
|
46
|
+
"dist"
|
|
47
|
+
],
|
|
48
|
+
"scripts": {
|
|
49
|
+
"build": "tsc --project tsconfig.build.json",
|
|
50
|
+
"typecheck": "tsc --noEmit"
|
|
51
|
+
},
|
|
52
|
+
"dependencies": {
|
|
53
|
+
"@tanstack/store": "^0.8.1",
|
|
54
|
+
"zod": "^4.3.6"
|
|
55
|
+
},
|
|
56
|
+
"devDependencies": {
|
|
57
|
+
"@types/bun": "latest",
|
|
58
|
+
"typescript": "~5.9.3"
|
|
59
|
+
},
|
|
60
|
+
"license": "UNLICENSED",
|
|
61
|
+
"publishConfig": {
|
|
62
|
+
"access": "public"
|
|
63
|
+
}
|
|
64
|
+
}
|