@svrnsec/pulse 0.6.0 → 0.8.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/LICENSE +21 -21
- package/README.md +883 -622
- package/SECURITY.md +86 -86
- package/bin/svrnsec-pulse.js +7 -7
- package/dist/{pulse.cjs.js → pulse.cjs} +6379 -6420
- package/dist/pulse.cjs.map +1 -0
- package/dist/pulse.esm.js +6380 -6421
- package/dist/pulse.esm.js.map +1 -1
- package/index.d.ts +895 -846
- package/package.json +185 -165
- package/pkg/pulse_core.js +174 -173
- package/src/analysis/audio.js +213 -213
- package/src/analysis/authenticityAudit.js +408 -390
- package/src/analysis/coherence.js +502 -502
- package/src/analysis/coordinatedBehavior.js +825 -0
- package/src/analysis/heuristic.js +428 -428
- package/src/analysis/jitter.js +446 -446
- package/src/analysis/llm.js +473 -472
- package/src/analysis/populationEntropy.js +404 -403
- package/src/analysis/provider.js +248 -248
- package/src/analysis/refraction.js +392 -0
- package/src/analysis/trustScore.js +356 -356
- package/src/cli/args.js +36 -36
- package/src/cli/commands/scan.js +192 -192
- package/src/cli/runner.js +157 -157
- package/src/collector/adaptive.js +200 -200
- package/src/collector/bio.js +297 -287
- package/src/collector/canvas.js +247 -239
- package/src/collector/dram.js +203 -203
- package/src/collector/enf.js +311 -311
- package/src/collector/entropy.js +195 -195
- package/src/collector/gpu.js +248 -245
- package/src/collector/idleAttestation.js +480 -480
- package/src/collector/sabTimer.js +189 -191
- package/src/fingerprint.js +475 -475
- package/src/index.js +342 -342
- package/src/integrations/react-native.js +462 -459
- package/src/integrations/react.js +184 -185
- package/src/middleware/express.js +155 -155
- package/src/middleware/next.js +174 -175
- package/src/proof/challenge.js +249 -249
- package/src/proof/engagementToken.js +426 -394
- package/src/proof/fingerprint.js +268 -268
- package/src/proof/validator.js +83 -143
- package/src/registry/serializer.js +349 -349
- package/src/terminal.js +263 -263
- package/src/update-notifier.js +259 -264
- package/dist/pulse.cjs.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,165 +1,185 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@svrnsec/pulse",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Physical Turing Test — Idle attestation, population-level Sybil detection, and engagement tokens that defeat click farms at the physics layer.",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"author": "Aaron Miller",
|
|
8
|
-
"repository": {
|
|
9
|
-
"type": "git",
|
|
10
|
-
"url": "https://github.com/ayronny14-alt/Svrn-Pulse-Security.git"
|
|
11
|
-
},
|
|
12
|
-
"homepage": "https://github.com/ayronny14-alt/Svrn-Pulse-Security#readme",
|
|
13
|
-
"bugs": {
|
|
14
|
-
"url": "https://github.com/ayronny14-alt/Svrn-Pulse-Security/issues"
|
|
15
|
-
},
|
|
16
|
-
"types": "index.d.ts",
|
|
17
|
-
"bin": {
|
|
18
|
-
"svrnsec-pulse": "./bin/svrnsec-pulse.js"
|
|
19
|
-
},
|
|
20
|
-
"publishConfig": {
|
|
21
|
-
"access": "public",
|
|
22
|
-
"registry": "https://registry.npmjs.org/"
|
|
23
|
-
},
|
|
24
|
-
"exports": {
|
|
25
|
-
".": {
|
|
26
|
-
"browser": "./dist/pulse.esm.js",
|
|
27
|
-
"import": "./dist/pulse.esm.js",
|
|
28
|
-
"require": "./dist/pulse.cjs
|
|
29
|
-
},
|
|
30
|
-
"./validator": {
|
|
31
|
-
"node": "./src/proof/validator.js",
|
|
32
|
-
"import": "./src/proof/validator.js"
|
|
33
|
-
},
|
|
34
|
-
"./challenge": {
|
|
35
|
-
"node": "./src/proof/challenge.js",
|
|
36
|
-
"import": "./src/proof/challenge.js"
|
|
37
|
-
},
|
|
38
|
-
"./trust": {
|
|
39
|
-
"import": "./src/analysis/trustScore.js",
|
|
40
|
-
"node": "./src/analysis/trustScore.js"
|
|
41
|
-
},
|
|
42
|
-
"./registry": {
|
|
43
|
-
"import": "./src/registry/serializer.js",
|
|
44
|
-
"node": "./src/registry/serializer.js"
|
|
45
|
-
},
|
|
46
|
-
"./middleware/express": {
|
|
47
|
-
"import": "./src/middleware/express.js",
|
|
48
|
-
"node": "./src/middleware/express.js"
|
|
49
|
-
},
|
|
50
|
-
"./middleware/next": {
|
|
51
|
-
"import": "./src/middleware/next.js",
|
|
52
|
-
"node": "./src/middleware/next.js"
|
|
53
|
-
},
|
|
54
|
-
"./react": {
|
|
55
|
-
"import": "./src/integrations/react.js"
|
|
56
|
-
},
|
|
57
|
-
"./react-native": {
|
|
58
|
-
"import": "./src/integrations/react-native.js"
|
|
59
|
-
},
|
|
60
|
-
"./gpu": {
|
|
61
|
-
"import": "./src/collector/gpu.js"
|
|
62
|
-
},
|
|
63
|
-
"./dram": {
|
|
64
|
-
"import": "./src/collector/dram.js"
|
|
65
|
-
},
|
|
66
|
-
"./llm": {
|
|
67
|
-
"import": "./src/analysis/llm.js"
|
|
68
|
-
},
|
|
69
|
-
"./timer": {
|
|
70
|
-
"import": "./src/collector/sabTimer.js"
|
|
71
|
-
},
|
|
72
|
-
"./enf": {
|
|
73
|
-
"import": "./src/collector/enf.js"
|
|
74
|
-
},
|
|
75
|
-
"./idle": {
|
|
76
|
-
"import": "./src/collector/idleAttestation.js",
|
|
77
|
-
"node": "./src/collector/idleAttestation.js"
|
|
78
|
-
},
|
|
79
|
-
"./population": {
|
|
80
|
-
"import": "./src/analysis/populationEntropy.js",
|
|
81
|
-
"node": "./src/analysis/populationEntropy.js"
|
|
82
|
-
},
|
|
83
|
-
"./engage": {
|
|
84
|
-
"import": "./src/proof/engagementToken.js",
|
|
85
|
-
"node": "./src/proof/engagementToken.js"
|
|
86
|
-
},
|
|
87
|
-
"./audit": {
|
|
88
|
-
"import": "./src/analysis/authenticityAudit.js",
|
|
89
|
-
"node": "./src/analysis/authenticityAudit.js"
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
"
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
"
|
|
103
|
-
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
"
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
"
|
|
129
|
-
"
|
|
130
|
-
"
|
|
131
|
-
},
|
|
132
|
-
"
|
|
133
|
-
"
|
|
134
|
-
"
|
|
135
|
-
"
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
"
|
|
139
|
-
"
|
|
140
|
-
"
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
"
|
|
144
|
-
"
|
|
145
|
-
"
|
|
146
|
-
"
|
|
147
|
-
"
|
|
148
|
-
"
|
|
149
|
-
"
|
|
150
|
-
"
|
|
151
|
-
"
|
|
152
|
-
"
|
|
153
|
-
"
|
|
154
|
-
"
|
|
155
|
-
"
|
|
156
|
-
"
|
|
157
|
-
"
|
|
158
|
-
"
|
|
159
|
-
"
|
|
160
|
-
"
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
"
|
|
164
|
-
|
|
165
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@svrnsec/pulse",
|
|
3
|
+
"version": "0.8.0",
|
|
4
|
+
"description": "Physical Turing Test — Idle attestation, population-level Sybil detection, and engagement tokens that defeat click farms at the physics layer.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"author": "Aaron Miller",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "https://github.com/ayronny14-alt/Svrn-Pulse-Security.git"
|
|
11
|
+
},
|
|
12
|
+
"homepage": "https://github.com/ayronny14-alt/Svrn-Pulse-Security#readme",
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/ayronny14-alt/Svrn-Pulse-Security/issues"
|
|
15
|
+
},
|
|
16
|
+
"types": "index.d.ts",
|
|
17
|
+
"bin": {
|
|
18
|
+
"svrnsec-pulse": "./bin/svrnsec-pulse.js"
|
|
19
|
+
},
|
|
20
|
+
"publishConfig": {
|
|
21
|
+
"access": "public",
|
|
22
|
+
"registry": "https://registry.npmjs.org/"
|
|
23
|
+
},
|
|
24
|
+
"exports": {
|
|
25
|
+
".": {
|
|
26
|
+
"browser": "./dist/pulse.esm.js",
|
|
27
|
+
"import": "./dist/pulse.esm.js",
|
|
28
|
+
"require": "./dist/pulse.cjs"
|
|
29
|
+
},
|
|
30
|
+
"./validator": {
|
|
31
|
+
"node": "./src/proof/validator.js",
|
|
32
|
+
"import": "./src/proof/validator.js"
|
|
33
|
+
},
|
|
34
|
+
"./challenge": {
|
|
35
|
+
"node": "./src/proof/challenge.js",
|
|
36
|
+
"import": "./src/proof/challenge.js"
|
|
37
|
+
},
|
|
38
|
+
"./trust": {
|
|
39
|
+
"import": "./src/analysis/trustScore.js",
|
|
40
|
+
"node": "./src/analysis/trustScore.js"
|
|
41
|
+
},
|
|
42
|
+
"./registry": {
|
|
43
|
+
"import": "./src/registry/serializer.js",
|
|
44
|
+
"node": "./src/registry/serializer.js"
|
|
45
|
+
},
|
|
46
|
+
"./middleware/express": {
|
|
47
|
+
"import": "./src/middleware/express.js",
|
|
48
|
+
"node": "./src/middleware/express.js"
|
|
49
|
+
},
|
|
50
|
+
"./middleware/next": {
|
|
51
|
+
"import": "./src/middleware/next.js",
|
|
52
|
+
"node": "./src/middleware/next.js"
|
|
53
|
+
},
|
|
54
|
+
"./react": {
|
|
55
|
+
"import": "./src/integrations/react.js"
|
|
56
|
+
},
|
|
57
|
+
"./react-native": {
|
|
58
|
+
"import": "./src/integrations/react-native.js"
|
|
59
|
+
},
|
|
60
|
+
"./gpu": {
|
|
61
|
+
"import": "./src/collector/gpu.js"
|
|
62
|
+
},
|
|
63
|
+
"./dram": {
|
|
64
|
+
"import": "./src/collector/dram.js"
|
|
65
|
+
},
|
|
66
|
+
"./llm": {
|
|
67
|
+
"import": "./src/analysis/llm.js"
|
|
68
|
+
},
|
|
69
|
+
"./timer": {
|
|
70
|
+
"import": "./src/collector/sabTimer.js"
|
|
71
|
+
},
|
|
72
|
+
"./enf": {
|
|
73
|
+
"import": "./src/collector/enf.js"
|
|
74
|
+
},
|
|
75
|
+
"./idle": {
|
|
76
|
+
"import": "./src/collector/idleAttestation.js",
|
|
77
|
+
"node": "./src/collector/idleAttestation.js"
|
|
78
|
+
},
|
|
79
|
+
"./population": {
|
|
80
|
+
"import": "./src/analysis/populationEntropy.js",
|
|
81
|
+
"node": "./src/analysis/populationEntropy.js"
|
|
82
|
+
},
|
|
83
|
+
"./engage": {
|
|
84
|
+
"import": "./src/proof/engagementToken.js",
|
|
85
|
+
"node": "./src/proof/engagementToken.js"
|
|
86
|
+
},
|
|
87
|
+
"./audit": {
|
|
88
|
+
"import": "./src/analysis/authenticityAudit.js",
|
|
89
|
+
"node": "./src/analysis/authenticityAudit.js"
|
|
90
|
+
},
|
|
91
|
+
"./refraction": {
|
|
92
|
+
"browser": "./src/analysis/refraction.js",
|
|
93
|
+
"import": "./src/analysis/refraction.js",
|
|
94
|
+
"node": "./src/analysis/refraction.js"
|
|
95
|
+
},
|
|
96
|
+
"./coordination": {
|
|
97
|
+
"import": "./src/analysis/coordinatedBehavior.js",
|
|
98
|
+
"node": "./src/analysis/coordinatedBehavior.js"
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"main": "dist/pulse.cjs",
|
|
102
|
+
"module": "dist/pulse.esm.js",
|
|
103
|
+
"files": [
|
|
104
|
+
"dist/",
|
|
105
|
+
"pkg/",
|
|
106
|
+
"bin/",
|
|
107
|
+
"src/",
|
|
108
|
+
"index.d.ts",
|
|
109
|
+
"README.md",
|
|
110
|
+
"SECURITY.md"
|
|
111
|
+
],
|
|
112
|
+
"scripts": {
|
|
113
|
+
"build:wasm": "bash build.sh",
|
|
114
|
+
"build:js": "rollup -c rollup.config.js",
|
|
115
|
+
"build": "npm run build:wasm && npm run build:js",
|
|
116
|
+
"dev": "rollup -c rollup.config.js --watch",
|
|
117
|
+
"test": "node --experimental-vm-modules ./node_modules/jest-cli/bin/jest.js",
|
|
118
|
+
"demo": "node demo/node-demo.js",
|
|
119
|
+
"scan": "node bin/svrnsec-pulse.js scan"
|
|
120
|
+
},
|
|
121
|
+
"dependencies": {
|
|
122
|
+
"@noble/hashes": "^1.4.0"
|
|
123
|
+
},
|
|
124
|
+
"devDependencies": {
|
|
125
|
+
"@rollup/plugin-commonjs": "^25.0.0",
|
|
126
|
+
"@rollup/plugin-node-resolve": "^15.0.0",
|
|
127
|
+
"@rollup/plugin-wasm": "^6.2.2",
|
|
128
|
+
"@types/jest": "^29.0.0",
|
|
129
|
+
"jest": "^29.0.0",
|
|
130
|
+
"rollup": "^4.0.0"
|
|
131
|
+
},
|
|
132
|
+
"peerDependencies": {
|
|
133
|
+
"react": ">=17.0.0",
|
|
134
|
+
"react-native": ">=0.70.0",
|
|
135
|
+
"expo-sensors": ">=13.0.0"
|
|
136
|
+
},
|
|
137
|
+
"peerDependenciesMeta": {
|
|
138
|
+
"react": { "optional": true },
|
|
139
|
+
"react-native": { "optional": true },
|
|
140
|
+
"expo-sensors": { "optional": true }
|
|
141
|
+
},
|
|
142
|
+
"keywords": [
|
|
143
|
+
"physical-turing-test",
|
|
144
|
+
"hardware-fingerprint",
|
|
145
|
+
"bot-detection",
|
|
146
|
+
"wasm",
|
|
147
|
+
"zero-knowledge",
|
|
148
|
+
"anti-vm",
|
|
149
|
+
"jitter-analysis",
|
|
150
|
+
"blake3",
|
|
151
|
+
"webgpu",
|
|
152
|
+
"dram-detection",
|
|
153
|
+
"llm-detection",
|
|
154
|
+
"ai-agent-detection",
|
|
155
|
+
"behavioral-biometrics",
|
|
156
|
+
"trust-score",
|
|
157
|
+
"hmac-challenge",
|
|
158
|
+
"react-native",
|
|
159
|
+
"mobile-security",
|
|
160
|
+
"enf-detection",
|
|
161
|
+
"cli",
|
|
162
|
+
"click-farm-detection",
|
|
163
|
+
"idle-attestation",
|
|
164
|
+
"engagement-token",
|
|
165
|
+
"sybil-detection",
|
|
166
|
+
"invalid-traffic",
|
|
167
|
+
"proof-of-idle",
|
|
168
|
+
"authenticity-audit",
|
|
169
|
+
"bot-percentage",
|
|
170
|
+
"fraud-rate-estimation",
|
|
171
|
+
"refraction",
|
|
172
|
+
"timer-calibration",
|
|
173
|
+
"browser-detection",
|
|
174
|
+
"coordinated-behavior",
|
|
175
|
+
"drift-fingerprinting",
|
|
176
|
+
"mutual-information",
|
|
177
|
+
"entropy-velocity",
|
|
178
|
+
"louvain-community-detection",
|
|
179
|
+
"clock-drift",
|
|
180
|
+
"inauthentic-behavior"
|
|
181
|
+
],
|
|
182
|
+
"engines": {
|
|
183
|
+
"node": ">=18.0.0"
|
|
184
|
+
}
|
|
185
|
+
}
|