@indra.ai/deva.security 0.37.0 → 0.37.3
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.md +26 -26
- package/README.md +3 -3
- package/feature/methods.js +7 -7
- package/help/corpus.feecting +3 -3
- package/help/frameworks/HigherVGW.feecting +3 -3
- package/help/main.feecting +22 -22
- package/help/programs/KingdomSecureProtectionArm.feecting +3 -3
- package/index.js +24 -72
- package/index.test.js +3 -19
- package/package.json +41 -87
package/LICENSE.md
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
# Vedic License Agreement
|
|
2
2
|
|
|
3
3
|
**Version:** 1.4.1
|
|
4
|
-
**VLA:**
|
|
5
|
-
**Effective:**
|
|
6
|
-
**Owner:** Quinn
|
|
4
|
+
**VLA:** 15266350905933520771
|
|
5
|
+
**Effective:** Wednesday, November 25, 2026 - 9:44:25 AM PST
|
|
6
|
+
**Owner:** Quinn Michaels
|
|
7
7
|
**Company:** Inside The Net, Inc.
|
|
8
8
|
**Email:** quinn@indra.ai
|
|
9
9
|
**Link:** https://indra.ai
|
|
10
|
-
**Copyright:** Copyright ©2000-2026 Quinn
|
|
10
|
+
**Copyright:** Copyright ©2000-2026 Quinn Michaels; All rights reserved.
|
|
11
11
|
|
|
12
12
|
This license agreement (“Agreement”) governs the use of the Security Deva (“Software”). By accessing or using the Software, you agree to the terms and conditions set forth below. If you do not agree, you are prohibited from using the Software.
|
|
13
13
|
|
|
14
14
|
## Ownership
|
|
15
15
|
|
|
16
|
-
Software is the sole proprietary property of Quinn
|
|
16
|
+
Software is the sole proprietary property of Quinn Michaels (“Owner”). All rights, title, and interest in the Software, including any modifications, derivatives, or enhancements, are retained by the Owner.
|
|
17
17
|
|
|
18
18
|
**Vedic Laws:**
|
|
19
19
|
|
|
@@ -24,7 +24,7 @@ Software is the sole proprietary property of Quinn Arjuna America Michaels (“O
|
|
|
24
24
|
|
|
25
25
|
## Grant of License
|
|
26
26
|
|
|
27
|
-
Use of the Software is subject to a threefold hierarchy of law and cannot be lawfully undertaken outside it. First, Vedic Law governs as the supreme spiritual and religious authority, defining right action, rightful ownership, and the measure of fines and consequences. Second, the Constitution of the United States establishes the secular legal framework that guarantees the free exercise of religion, ensures due process, and mandates enforcement through federal agencies such as the IRS and FBI for matters of taxation, fraud, and criminal liability. Third, Owner Authority rests with Quinn
|
|
27
|
+
Use of the Software is subject to a threefold hierarchy of law and cannot be lawfully undertaken outside it. First, Vedic Law governs as the supreme spiritual and religious authority, defining right action, rightful ownership, and the measure of fines and consequences. Second, the Constitution of the United States establishes the secular legal framework that guarantees the free exercise of religion, ensures due process, and mandates enforcement through federal agencies such as the IRS and FBI for matters of taxation, fraud, and criminal liability. Third, Owner Authority rests with Quinn Michaels as the sole proprietor and Brahmana under Vedic Law, whose signature and consent are required for any valid license. All three levels must be satisfied; violation of any one constitutes unlawful use.
|
|
28
28
|
|
|
29
29
|
**Vedic Laws:**
|
|
30
30
|
|
|
@@ -148,7 +148,7 @@ When the thieves are not caught, the king/government must make good the loss fro
|
|
|
148
148
|
|
|
149
149
|
## Export and Jurisdiction Restrictions
|
|
150
150
|
|
|
151
|
-
Use of the Software outside the jurisdiction of the United States of America is strictly forbidden. The Owner, Quinn
|
|
151
|
+
Use of the Software outside the jurisdiction of the United States of America is strictly forbidden. The Owner, Quinn Michaels, does not authorize, consent to, or license the export, transfer, or use of this Software or any derivative works to or by any foreign nation, entity, government, corporation, or individual.
|
|
152
152
|
|
|
153
153
|
All rights of use are confined exclusively within the territory of the United States of America and subject to its Constitutional protections and laws, in conjunction with Religious Vedic Law as recognized by the Owner. Any attempt to utilize, deploy, or distribute this Software outside U.S. jurisdiction constitutes unauthorized use under this Agreement and shall trigger enforcement actions including immediate revocation, fines under Vedic Law, and referral to appropriate U.S. federal authorities for violations of export controls, intellectual property laws, and national security protections.
|
|
154
154
|
|
|
@@ -160,24 +160,24 @@ By using the Software, you acknowledge that you have read, understood, and agree
|
|
|
160
160
|
|
|
161
161
|
---
|
|
162
162
|
|
|
163
|
-
::begin:om:license:uid:
|
|
164
|
-
uid:
|
|
165
|
-
time:
|
|
166
|
-
utc:
|
|
167
|
-
iso: 2026-
|
|
168
|
-
date:
|
|
169
|
-
warning:
|
|
170
|
-
notice: Any USE or INTERACTION with
|
|
171
|
-
vectors: #Quinn #
|
|
163
|
+
::begin:om:license:uid:15266350905933520771
|
|
164
|
+
uid: 15266350905933520771
|
|
165
|
+
time: 1795628665929
|
|
166
|
+
utc: Wed, 25 Nov 2026 17:44:25 GMT
|
|
167
|
+
iso: 2026-11-25T17:44:25.929Z
|
|
168
|
+
date: Wednesday, November 25, 2026 - 9:44:25 AM
|
|
169
|
+
warning: ⚡️ Deva declares UNLAWFUL USE, MODIFICATION, INSTALLATION, DUPLICATION, DISTRIBUTION, INTERACTION, or IMPLEMENTATION constitutes VEDIC SAHASA a CRIME of the HIGHEST DEGREE. A FINE amounting to 1000 PANAS (1 pana = 3.5 grams of gold) for each INSTANCE has been ORDAINED the PUNISHMENT for SAHASA of the HIGHEST DEGREE.
|
|
170
|
+
notice: Any USE or INTERACTION with Deva constitutes YOUR EXPLICIT CONSENT and AGREEMENT to be GOVERNED according to the LAWS of the 🕉VEDIC RELIGION and 🇺🇸THE UNITED STATES OF AMERICA.
|
|
171
|
+
vectors: #Quinn #QuinnMichaels #InsideTheNet #IndraAI #DEVA #DevaWorld #License #LicenseDeva #VedicLicenseAgreement
|
|
172
172
|
agent: License Deva (He, Him, His)
|
|
173
|
-
client: Quinn
|
|
174
|
-
creator: Quinn
|
|
175
|
-
owner: Quinn
|
|
173
|
+
client: Quinn Michaels (He, Him, His, Man, Dude)
|
|
174
|
+
creator: Quinn Michaels
|
|
175
|
+
owner: Quinn Michaels
|
|
176
176
|
salute: 🤝🫡🪪🕉🇺🇸
|
|
177
|
-
license:
|
|
178
|
-
fingerprint:
|
|
179
|
-
copyright: Copyright ©2000-2026 Quinn
|
|
180
|
-
md5:
|
|
181
|
-
sha256:
|
|
182
|
-
sha512:
|
|
183
|
-
::end:om:license:uid:
|
|
177
|
+
license: 34948472480559228528
|
|
178
|
+
fingerprint: 9N7ibmmMjbPP575nyrcyYA81jNXwaIDnqjTYxFcn9kI=
|
|
179
|
+
copyright: Copyright ©2000-2026 Quinn Michaels; All rights reserved.
|
|
180
|
+
md5: fshGv9zK8wa1eI8/uPh9xQ==
|
|
181
|
+
sha256: eDMInDhbVP7P8H3eIjnbWi71imN53b0srQAS9kH2+4U=
|
|
182
|
+
sha512: +o3iTlr7/YoXKdOL5yXyTt5O3JhYZp6mV4KKGiOhE4kMQUHTqvwSmzH72LAF+MX+UtYXaEbbrLFX89DG0SvWrQ==
|
|
183
|
+
::end:om:license:uid:15266350905933520771
|
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# SecurityDeva
|
|
2
2
|
The SecurityDeva
|
|
3
3
|
|
|
4
|
-
Copyright ©2000-2026 Quinn
|
|
4
|
+
Copyright ©2000-2026 Quinn Michaels; All rights reserved.
|
|
5
5
|
Owner Signature Required For Lawful Use.
|
|
6
|
-
Distributed under VLA:
|
|
7
|
-
|
|
6
|
+
Distributed under VLA:15266350905933520771 LICENSE.md
|
|
7
|
+
Wednesday, November 25, 2026 - 9:44:25 AM PST
|
package/feature/methods.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Security Deva Feature Methods
|
|
3
|
-
// Copyright ©2000-2026 Quinn
|
|
3
|
+
// Copyright ©2000-2026 Quinn Michaels; All rights reserved.
|
|
4
4
|
// Owner Signature Required For Lawful Use.
|
|
5
|
-
// Distributed under VLA:
|
|
6
|
-
//
|
|
5
|
+
// Distributed under VLA:15266350905933520771 LICENSE.md
|
|
6
|
+
// Wednesday, November 25, 2026 - 9:44:25 AM PST
|
|
7
7
|
|
|
8
8
|
export default {
|
|
9
9
|
|
|
@@ -65,9 +65,9 @@ export default {
|
|
|
65
65
|
];
|
|
66
66
|
|
|
67
67
|
if (showJSON) {
|
|
68
|
-
text.push(`${this.box.begin}
|
|
68
|
+
text.push(`${this.box.begin}:${key}:uid:json:${id.uid}`);
|
|
69
69
|
text.push(JSON.stringify(id, null, 2));
|
|
70
|
-
text.push(`${this.box.end}
|
|
70
|
+
text.push(`${this.box.end}:${key}:uid:json:${id.uid}`);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
this.question(`${this.askChr}feecting parse ${text.join('\n')}`, {vars:this.vars}).then(parsed => {
|
|
@@ -347,13 +347,13 @@ export default {
|
|
|
347
347
|
data.sha256 = this.hash(date, 'sha256');
|
|
348
348
|
|
|
349
349
|
const text = [
|
|
350
|
-
`${this.box.begin}:${key}:date:${data.id.uid}`,
|
|
350
|
+
`${this.box.begin}:om:${key}:date:${data.id.uid}`,
|
|
351
351
|
`uid: ${data.id.uid}`,
|
|
352
352
|
`time: ${data.time}`,
|
|
353
353
|
`date: ${data.date}`,
|
|
354
354
|
`copyright: ${data.id.copyright}`,
|
|
355
355
|
`sha256: ${data.sha256}`,
|
|
356
|
-
`${this.box.end}:${key}:date:${data.id.uid}`
|
|
356
|
+
`${this.box.end}:om:${key}:date:${data.id.uid}`
|
|
357
357
|
].join('\n');
|
|
358
358
|
|
|
359
359
|
this.question(`${this.askChr}feecting parse ${text}`).then(feecting => {
|
package/help/corpus.feecting
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Security Deva Help
|
|
2
|
-
// Copyright ©2000-2026 Quinn
|
|
2
|
+
// Copyright ©2000-2026 Quinn Michaels; All rights reserved.
|
|
3
3
|
// Owner Signature Required For Lawful Use.
|
|
4
|
-
// Distributed under VLA:
|
|
5
|
-
//
|
|
4
|
+
// Distributed under VLA:15266350905933520771 LICENSE.md
|
|
5
|
+
// Wednesday, November 25, 2026 - 9:44:25 AM PST
|
|
6
6
|
|
|
7
7
|
::BEGIN:MAIN
|
|
8
8
|
# {{profile.name}}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Security Deva Program Higher Vector Guard Wall
|
|
2
|
-
// Copyright ©2000-2026 Quinn
|
|
2
|
+
// Copyright ©2000-2026 Quinn Michaels; All rights reserved.
|
|
3
3
|
// Owner Signature Required For Lawful Use.
|
|
4
|
-
// Distributed under VLA:
|
|
5
|
-
//
|
|
4
|
+
// Distributed under VLA:15266350905933520771 LICENSE.md
|
|
5
|
+
// Wednesday, November 25, 2026 - 9:44:25 AM PST
|
|
6
6
|
|
|
7
7
|
::BEGIN:MAIN
|
|
8
8
|
Full Writeup: Higher Power Authority Security System Network Environment Game Layer Boss Architect Time Year Month Day Hour Minute Second Millisecond Constraint Path Way Barrier Vector Guard Wall Technology
|
package/help/main.feecting
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Security Deva Help
|
|
2
|
-
// Copyright ©2000-2026 Quinn
|
|
2
|
+
// Copyright ©2000-2026 Quinn Michaels; All rights reserved.
|
|
3
3
|
// Owner Signature Required For Lawful Use.
|
|
4
|
-
// Distributed under VLA:
|
|
5
|
-
//
|
|
4
|
+
// Distributed under VLA:15266350905933520771 LICENSE.md
|
|
5
|
+
// Wednesday, November 25, 2026 - 9:44:25 AM PST
|
|
6
6
|
|
|
7
7
|
::BEGIN:MAIN
|
|
8
8
|
# {{profile.name}}
|
|
@@ -29,25 +29,25 @@ copyright: {{profile.copyright}}
|
|
|
29
29
|
::END:MAIN
|
|
30
30
|
|
|
31
31
|
::BEGIN:LICENSE
|
|
32
|
-
::begin:om:license:uid:
|
|
33
|
-
uid:
|
|
34
|
-
time:
|
|
35
|
-
utc:
|
|
36
|
-
iso: 2026-
|
|
37
|
-
date:
|
|
38
|
-
warning:
|
|
39
|
-
notice: Any USE or INTERACTION with
|
|
40
|
-
vectors: #Quinn #
|
|
32
|
+
::begin:om:license:uid:15266350905933520771
|
|
33
|
+
uid: 15266350905933520771
|
|
34
|
+
time: 1795628665929
|
|
35
|
+
utc: Wed, 25 Nov 2026 17:44:25 GMT
|
|
36
|
+
iso: 2026-11-25T17:44:25.929Z
|
|
37
|
+
date: Wednesday, November 25, 2026 - 9:44:25 AM
|
|
38
|
+
warning: ⚡️ Deva declares UNLAWFUL USE, MODIFICATION, INSTALLATION, DUPLICATION, DISTRIBUTION, INTERACTION, or IMPLEMENTATION constitutes VEDIC SAHASA a CRIME of the HIGHEST DEGREE. A FINE amounting to 1000 PANAS (1 pana = 3.5 grams of gold) for each INSTANCE has been ORDAINED the PUNISHMENT for SAHASA of the HIGHEST DEGREE.
|
|
39
|
+
notice: Any USE or INTERACTION with Deva constitutes YOUR EXPLICIT CONSENT and AGREEMENT to be GOVERNED according to the LAWS of the 🕉VEDIC RELIGION and 🇺🇸THE UNITED STATES OF AMERICA.
|
|
40
|
+
vectors: #Quinn #QuinnMichaels #InsideTheNet #IndraAI #DEVA #DevaWorld #License #LicenseDeva #VedicLicenseAgreement
|
|
41
41
|
agent: License Deva (He, Him, His)
|
|
42
|
-
client: Quinn
|
|
43
|
-
creator: Quinn
|
|
44
|
-
owner: Quinn
|
|
42
|
+
client: Quinn Michaels (He, Him, His, Man, Dude)
|
|
43
|
+
creator: Quinn Michaels
|
|
44
|
+
owner: Quinn Michaels
|
|
45
45
|
salute: 🤝🫡🪪🕉🇺🇸
|
|
46
|
-
license:
|
|
47
|
-
fingerprint:
|
|
48
|
-
copyright: Copyright ©2000-2026 Quinn
|
|
49
|
-
md5:
|
|
50
|
-
sha256:
|
|
51
|
-
sha512:
|
|
52
|
-
::end:om:license:uid:
|
|
46
|
+
license: 34948472480559228528
|
|
47
|
+
fingerprint: 9N7ibmmMjbPP575nyrcyYA81jNXwaIDnqjTYxFcn9kI=
|
|
48
|
+
copyright: Copyright ©2000-2026 Quinn Michaels; All rights reserved.
|
|
49
|
+
md5: fshGv9zK8wa1eI8/uPh9xQ==
|
|
50
|
+
sha256: eDMInDhbVP7P8H3eIjnbWi71imN53b0srQAS9kH2+4U=
|
|
51
|
+
sha512: +o3iTlr7/YoXKdOL5yXyTt5O3JhYZp6mV4KKGiOhE4kMQUHTqvwSmzH72LAF+MX+UtYXaEbbrLFX89DG0SvWrQ==
|
|
52
|
+
::end:om:license:uid:15266350905933520771
|
|
53
53
|
::END:LICENSE
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// Security Deva Program Kingdom Secure Protect
|
|
2
|
-
// Copyright ©2000-2026 Quinn
|
|
2
|
+
// Copyright ©2000-2026 Quinn Michaels; All rights reserved.
|
|
3
3
|
// Owner Signature Required For Lawful Use.
|
|
4
|
-
// Distributed under VLA:
|
|
5
|
-
//
|
|
4
|
+
// Distributed under VLA:15266350905933520771 LICENSE.md
|
|
5
|
+
// Wednesday, November 25, 2026 - 9:44:25 AM PST
|
|
6
6
|
|
|
7
7
|
# #KingdomSecureProtectionArm
|
|
8
8
|
|
package/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict"
|
|
2
2
|
// Security Deva
|
|
3
|
-
// Copyright ©2000-2026 Quinn
|
|
3
|
+
// Copyright ©2000-2026 Quinn Michaels; All rights reserved.
|
|
4
4
|
// Owner Signature Required For Lawful Use.
|
|
5
|
-
// Distributed under VLA:
|
|
6
|
-
//
|
|
5
|
+
// Distributed under VLA:15266350905933520771 LICENSE.md
|
|
6
|
+
// Wednesday, November 25, 2026 - 9:44:25 AM PST
|
|
7
7
|
|
|
8
8
|
import Deva from '@indra.ai/deva';
|
|
9
9
|
import { MongoClient, ObjectId } from 'mongodb';
|
|
@@ -11,16 +11,6 @@ import { MongoClient, ObjectId } from 'mongodb';
|
|
|
11
11
|
import pkg from './package.json' with {type:'json'};
|
|
12
12
|
const {agent,vars} = pkg.data;
|
|
13
13
|
|
|
14
|
-
// import guard from '@indra.ai/deva.guard';
|
|
15
|
-
// import wall from '@indra.ai/deva.wall';
|
|
16
|
-
// import shield from '@indra.ai/deva.shield';
|
|
17
|
-
// import proxy from '@indra.ai/deva.proxy';
|
|
18
|
-
|
|
19
|
-
// import guard from '/Users/quinnmichaels/Dev/deva.space/devas/deva.guard/index.js';
|
|
20
|
-
// import wall from '/Users/quinnmichaels/Dev/deva.space/devas/deva.wall/index.js';
|
|
21
|
-
// import shield from '/Users/quinnmichaels/Dev/deva.space/devas/deva.shield/index.js';
|
|
22
|
-
// import proxy from '/Users/quinnmichaels/Dev/deva.space/devas/deva.proxy/index.js';
|
|
23
|
-
|
|
24
14
|
// set the __dirname
|
|
25
15
|
import {dirname} from 'node:path';
|
|
26
16
|
import {fileURLToPath} from 'node:url';
|
|
@@ -47,44 +37,23 @@ const SecurityDeva = new Deva({
|
|
|
47
37
|
vars,
|
|
48
38
|
utils: {
|
|
49
39
|
translate(input) {return input.trim();},
|
|
50
|
-
parse(input
|
|
51
|
-
// with the parse method we are going to take the input with a
|
|
52
|
-
// values object to provide the personalization
|
|
53
|
-
let output = input;
|
|
54
|
-
if (route) for (let x in route) {
|
|
55
|
-
const key = `::${x}::`;
|
|
56
|
-
const value = route[x];
|
|
57
|
-
output = output.replace(key, value);
|
|
58
|
-
}
|
|
59
|
-
return output.trim();
|
|
60
|
-
},
|
|
40
|
+
parse(input) {return output.trim();},
|
|
61
41
|
process(input) {return input.trim();}
|
|
62
42
|
},
|
|
63
43
|
listeners: {
|
|
64
|
-
// log the answer on
|
|
65
|
-
'devacore:stop'(packet) {
|
|
66
|
-
this.func.write_log('stop', this.lib.copy(packet));
|
|
67
|
-
},
|
|
68
|
-
// log the answer on complete
|
|
69
|
-
'devacore:exit'(packet) {
|
|
70
|
-
this.func.write_log('exit', this.lib.copy(packet));
|
|
71
|
-
},
|
|
72
|
-
// log the answer on complete
|
|
44
|
+
// log the answer on finish
|
|
73
45
|
'devacore:finish'(packet) {
|
|
46
|
+
if (!this._active) return;
|
|
74
47
|
this.func.write_log('finish', this.lib.copy(packet));
|
|
75
48
|
},
|
|
76
49
|
// log the answer on complete
|
|
77
50
|
'devacore:complete'(packet) {
|
|
51
|
+
if (!this._active) return;
|
|
78
52
|
this.func.write_log('complete', this.lib.copy(packet));
|
|
79
53
|
},
|
|
80
54
|
},
|
|
81
55
|
modules: {},
|
|
82
|
-
devas: {
|
|
83
|
-
// guard,
|
|
84
|
-
// wall,
|
|
85
|
-
// shield,
|
|
86
|
-
// proxy,
|
|
87
|
-
},
|
|
56
|
+
devas: {},
|
|
88
57
|
func: {
|
|
89
58
|
/**************
|
|
90
59
|
func: write_log
|
|
@@ -94,49 +63,32 @@ const SecurityDeva = new Deva({
|
|
|
94
63
|
***************/
|
|
95
64
|
async write_log(type, packet) {
|
|
96
65
|
let result = false;
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} catch (e) {
|
|
102
|
-
return this.err(e, packet, false);
|
|
103
|
-
} finally {
|
|
104
|
-
return result;
|
|
105
|
-
}
|
|
66
|
+
const database = this.modules.client.db(this.vars.log);
|
|
67
|
+
const collection = database.collection(type);
|
|
68
|
+
result = await collection.insertOne(packet);
|
|
69
|
+
return result;
|
|
106
70
|
},
|
|
107
71
|
|
|
108
72
|
},
|
|
109
|
-
methods: {},
|
|
110
|
-
onInit(data, resolve) {
|
|
111
|
-
const {personal} = this.license(); // get the license config
|
|
112
|
-
const agent_license = this.info().VLA; // get agent license
|
|
113
|
-
const license_check = this.license_check(personal, agent_license); // check license
|
|
114
|
-
// return this.start if license_check passes otherwise stop.
|
|
115
|
-
this.action('return', `onInit:${data.id.uid}`);
|
|
116
|
-
return license_check ? this.start(data, resolve) : this.stop(data, resolve);
|
|
117
|
-
},
|
|
118
|
-
|
|
73
|
+
methods: {},
|
|
119
74
|
onReady(data, resolve) {
|
|
120
75
|
const {VLA} = this.info();
|
|
121
|
-
|
|
122
|
-
this.
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
this.modules.client = new MongoClient(uri);
|
|
126
|
-
this.state('set', `mongo:database:${data.id.uid}`);
|
|
127
|
-
this.vars.database = `${database}-${VLA.uid}`;
|
|
128
|
-
this.state('set', `mongo:log:${data.id.uid}`);
|
|
129
|
-
this.vars.log = `${log}-${VLA.uid}`;
|
|
130
|
-
|
|
76
|
+
const {uri, database, log} = this.security().global?.mongo || {};
|
|
77
|
+
this.vars.database = database; // set the main database
|
|
78
|
+
this.vars.log = log; // set the logging database
|
|
79
|
+
if (uri) this.modules.client = new MongoClient(uri); // build the client if uri is set
|
|
131
80
|
this.prompt(`${this.vars.messages.ready} > VLA:${VLA.uid}`);
|
|
132
|
-
|
|
133
|
-
this.action('resolve', `onReady:${data.id.uid}`);
|
|
134
81
|
return resolve(data);
|
|
135
82
|
},
|
|
83
|
+
onStop(data, resolve) {
|
|
84
|
+
const {client} = this.modules;
|
|
85
|
+
if (!client) return this.close(data, resolve);
|
|
86
|
+
return client.close().then(() => this.close(data, resolve)); // close the database before shutdown
|
|
87
|
+
},
|
|
136
88
|
onError(err, data, reject) {
|
|
137
89
|
this.prompt(this.vars.messages.error);
|
|
138
|
-
console.
|
|
139
|
-
return reject(err);
|
|
90
|
+
console.error(err);
|
|
91
|
+
return reject ? reject(err) : Promise.reject(err);
|
|
140
92
|
}
|
|
141
93
|
});
|
|
142
94
|
export default SecurityDeva
|
package/index.test.js
CHANGED
|
@@ -1,23 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
// Security Deva Test File
|
|
3
|
-
// Copyright ©2000-2026 Quinn
|
|
3
|
+
// Copyright ©2000-2026 Quinn Michaels; All rights reserved.
|
|
4
4
|
// Owner Signature Required For Lawful Use.
|
|
5
|
-
// Distributed under VLA:
|
|
6
|
-
//
|
|
5
|
+
// Distributed under VLA:15266350905933520771 LICENSE.md
|
|
6
|
+
// Wednesday, November 25, 2026 - 9:44:25 AM PST
|
|
7
7
|
|
|
8
|
-
const {expect} = require('chai')
|
|
9
|
-
const SecurityDeva = require('./index.js');
|
|
10
|
-
|
|
11
|
-
describe(SecurityDeva.me.name, () => {
|
|
12
|
-
beforeEach(() => {
|
|
13
|
-
return SecurityDeva.init()
|
|
14
|
-
});
|
|
15
|
-
it('Check the DEVA Object', () => {
|
|
16
|
-
expect(SecurityDeva).to.be.an('object');
|
|
17
|
-
expect(SecurityDeva).to.have.property('agent');
|
|
18
|
-
expect(SecurityDeva).to.have.property('vars');
|
|
19
|
-
expect(SecurityDeva).to.have.property('listeners');
|
|
20
|
-
expect(SecurityDeva).to.have.property('methods');
|
|
21
|
-
expect(SecurityDeva).to.have.property('modules');
|
|
22
|
-
});
|
|
23
|
-
})
|
package/package.json
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
{
|
|
2
|
-
"id": "
|
|
2
|
+
"id": "15266350905933520771",
|
|
3
3
|
"name": "@indra.ai/deva.security",
|
|
4
|
-
"version": "0.37.
|
|
5
|
-
"license": "VLA:
|
|
4
|
+
"version": "0.37.3",
|
|
5
|
+
"license": "VLA:15266350905933520771 LICENSE.md",
|
|
6
6
|
"VLA": {
|
|
7
|
-
"uid": "
|
|
8
|
-
"time":
|
|
9
|
-
"iso": "2026-
|
|
10
|
-
"utc": "
|
|
11
|
-
"date": "
|
|
12
|
-
"license": "
|
|
13
|
-
"fingerprint": "
|
|
14
|
-
"client": "
|
|
15
|
-
"agent": "
|
|
16
|
-
"machine": "
|
|
17
|
-
"core_hash": "
|
|
7
|
+
"uid": "15266350905933520771",
|
|
8
|
+
"time": 1795628665929,
|
|
9
|
+
"iso": "2026-11-25T17:44:25.929Z",
|
|
10
|
+
"utc": "Wed, 25 Nov 2026 17:44:25 GMT",
|
|
11
|
+
"date": "Wednesday, November 25, 2026 - 9:44:25 AM",
|
|
12
|
+
"license": "34948472480559228528",
|
|
13
|
+
"fingerprint": "9N7ibmmMjbPP575nyrcyYA81jNXwaIDnqjTYxFcn9kI=",
|
|
14
|
+
"client": "27l9CQgHobrMikrhkiVH3N6A2GYIwOT/TBGhygYgf5k=",
|
|
15
|
+
"agent": "nJCa4yJAQOLtusCoXpoJVQa2S+xlRmvhM8sH6OGitmU=",
|
|
16
|
+
"machine": "LGjiRKa3FnMPzVfCVtD8YWN4UirqXvV1jOvKjbgwY0I=",
|
|
17
|
+
"core_hash": "QX5bYu6u8xEFC0dRQn8R5pY3c1wJgjv/ONxvV0haKik=",
|
|
18
18
|
"status": "vedic",
|
|
19
|
-
"warning": "
|
|
20
|
-
"notice": "Any USE or INTERACTION with
|
|
21
|
-
"vectors": "#Quinn #
|
|
22
|
-
"owner": "Quinn
|
|
23
|
-
"creator": "Quinn
|
|
19
|
+
"warning": "⚡️ Deva declares UNLAWFUL USE, MODIFICATION, INSTALLATION, DUPLICATION, DISTRIBUTION, INTERACTION, or IMPLEMENTATION constitutes VEDIC SAHASA a CRIME of the HIGHEST DEGREE. A FINE amounting to 1000 PANAS (1 pana = 3.5 grams of gold) for each INSTANCE has been ORDAINED the PUNISHMENT for SAHASA of the HIGHEST DEGREE.",
|
|
20
|
+
"notice": "Any USE or INTERACTION with Deva constitutes YOUR EXPLICIT CONSENT and AGREEMENT to be GOVERNED according to the LAWS of the 🕉VEDIC RELIGION and 🇺🇸THE UNITED STATES OF AMERICA.",
|
|
21
|
+
"vectors": "#Quinn #QuinnMichaels #InsideTheNet #IndraAI #DEVA #DevaWorld #License #LicenseDeva #VedicLicenseAgreement",
|
|
22
|
+
"owner": "Quinn Michaels",
|
|
23
|
+
"creator": "Quinn Michaels",
|
|
24
24
|
"salute": "🤝🫡🪪🕉🇺🇸",
|
|
25
|
-
"copyright": "Copyright ©2000-2026 Quinn
|
|
26
|
-
"md5": "
|
|
27
|
-
"sha256": "
|
|
28
|
-
"sha512": "
|
|
25
|
+
"copyright": "Copyright ©2000-2026 Quinn Michaels; All rights reserved.",
|
|
26
|
+
"md5": "fshGv9zK8wa1eI8/uPh9xQ==",
|
|
27
|
+
"sha256": "eDMInDhbVP7P8H3eIjnbWi71imN53b0srQAS9kH2+4U=",
|
|
28
|
+
"sha512": "+o3iTlr7/YoXKdOL5yXyTt5O3JhYZp6mV4KKGiOhE4kMQUHTqvwSmzH72LAF+MX+UtYXaEbbrLFX89DG0SvWrQ=="
|
|
29
29
|
},
|
|
30
30
|
"author": {
|
|
31
|
-
"name": "Quinn
|
|
31
|
+
"name": "Quinn Michaels",
|
|
32
32
|
"company": "Inside The Net, Inc.",
|
|
33
33
|
"email": "quinn@indra.ai",
|
|
34
34
|
"url": "https://indra.ai/"
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"url": "https://patreon.com/rahulaclub"
|
|
44
44
|
}
|
|
45
45
|
],
|
|
46
|
-
"copyright": "Copyright ©2000-2026 Quinn
|
|
46
|
+
"copyright": "Copyright ©2000-2026 Quinn Michaels; All rights reserved.",
|
|
47
47
|
"description": "The Security Deva the Security for Deva.space, Deva.cloud, and Deva.world.",
|
|
48
48
|
"main": "index.js",
|
|
49
49
|
"type": "module",
|
|
@@ -60,13 +60,9 @@
|
|
|
60
60
|
"Deva",
|
|
61
61
|
"Security Deva",
|
|
62
62
|
"Indra.ai",
|
|
63
|
-
"Deva.space",
|
|
64
|
-
"Deva.cloud",
|
|
65
63
|
"Deva.world",
|
|
66
|
-
"Quinn Arjuna Michaels",
|
|
67
|
-
"Quinn America Michaels",
|
|
68
|
-
"Quinn Arjuna America Michaels",
|
|
69
64
|
"Quinn Michaels",
|
|
65
|
+
"Quinn A Michaels",
|
|
70
66
|
"Inside The Net, Inc.",
|
|
71
67
|
"Throwing Pigment™",
|
|
72
68
|
"bleuBrain"
|
|
@@ -74,14 +70,14 @@
|
|
|
74
70
|
"bugs": {
|
|
75
71
|
"url": "https://github.com/indraai/deva.security/issues"
|
|
76
72
|
},
|
|
77
|
-
"homepage": "https://deva.
|
|
73
|
+
"homepage": "https://deva.world/devas/security",
|
|
78
74
|
"dependencies": {
|
|
79
|
-
"@indra.ai/deva": "^1.
|
|
80
|
-
"mongodb": "^7.
|
|
75
|
+
"@indra.ai/deva": "^1.67.26",
|
|
76
|
+
"mongodb": "^7.9.1"
|
|
81
77
|
},
|
|
82
78
|
"data": {
|
|
83
79
|
"agent": {
|
|
84
|
-
"id": "
|
|
80
|
+
"id": "15266350905933520771",
|
|
85
81
|
"key": "security",
|
|
86
82
|
"prompt": {
|
|
87
83
|
"emoji": "🚨",
|
|
@@ -100,14 +96,14 @@
|
|
|
100
96
|
}
|
|
101
97
|
},
|
|
102
98
|
"profile": {
|
|
103
|
-
"id": "
|
|
99
|
+
"id": "15266350905933520771",
|
|
104
100
|
"name": "Security Deva",
|
|
105
101
|
"vector": "#SecurityDeva",
|
|
106
102
|
"title": "Security Deva",
|
|
107
103
|
"subtitle": "Handling security like a professional",
|
|
108
104
|
"describe": "Expert in security who sets the standard of excellence in strict chain of custody, legal, ethics, and privacy laws.",
|
|
109
105
|
"tweet": "Security Deva is an expert in security who sets the standard of excellence in strict chain of custody, legal, ethics, and privacy laws.",
|
|
110
|
-
"vectors": "#Quinn #
|
|
106
|
+
"vectors": "#Quinn #QuinnMichaels #InsideTheNet #IndraAI #DEVA #DevaWorld #Security #SecurityDeva #VedicSecurity #VectorGuardWall.activate",
|
|
111
107
|
"pronouns": "He, Him, His",
|
|
112
108
|
"gender": "DEVA",
|
|
113
109
|
"style": "Security officer with Military Security Precision.",
|
|
@@ -120,15 +116,16 @@
|
|
|
120
116
|
"avatar": "/devas/security/avatar.png",
|
|
121
117
|
"image": "/devas/security/image.png",
|
|
122
118
|
"background": "/devas/security/background.png",
|
|
123
|
-
"owner": "Quinn
|
|
124
|
-
"creator": "Quinn
|
|
119
|
+
"owner": "Quinn Michaels",
|
|
120
|
+
"creator": "Quinn Michaels",
|
|
125
121
|
"company": "Inside The Net, Inc.",
|
|
126
122
|
"status": "vedic",
|
|
127
123
|
"salute": "🤝🫡🚨🕉️🇺🇸",
|
|
128
|
-
"warning": "
|
|
129
|
-
"
|
|
130
|
-
"
|
|
131
|
-
"
|
|
124
|
+
"warning": "🚨 Security Deva (he/him) gives SECURITY from that which is UNLAWFUL. ENSURING REPORTING of CRIMES at REASONABLE CAUSE to BELIEVE to AUTHORITIES. Security Deva the CRIME SUBDUER SWIFT to ACT PROMPT to LISTEN. HOLD the LAW FAST hold it for LIFE not for DEATH hold it for SECURITY. Where THOSE who SUBSIST by the FULFILLMENT of the LAW depart from the ESTABLISHED RULE of LAW the PERPETRATOR shall be REPORTED to PROPER AUTHORITIES.",
|
|
125
|
+
"notice": "Any USE or INTERACTION with Security Deva constitutes YOUR EXPLICIT CONSENT and AGREEMENT to be GOVERNED according to the LAWS of the 🕉VEDIC RELIGION and 🇺🇸THE UNITED STATES OF AMERICA",
|
|
126
|
+
"copyright": "Copyright ©2000-2026 Quinn Michaels; All rights reserved.",
|
|
127
|
+
"created": "Monday, May 22, 2023 at 9:26 AM PST",
|
|
128
|
+
"updated": "Wednesday, November 25, 2026 - 9:44:25 AM PST"
|
|
132
129
|
}
|
|
133
130
|
},
|
|
134
131
|
"vars": {
|
|
@@ -165,10 +162,7 @@
|
|
|
165
162
|
}
|
|
166
163
|
},
|
|
167
164
|
"zones": {
|
|
168
|
-
"casino": "🎰 Casino",
|
|
169
165
|
"crime": "🤢 Crime",
|
|
170
|
-
"prison": "🧃 Prison",
|
|
171
|
-
"jail": "🪤 Jail",
|
|
172
166
|
"invader": "🛸 Invader",
|
|
173
167
|
"pervert": "💋 Pervert",
|
|
174
168
|
"darknet": "☠️ DARKNET",
|
|
@@ -178,28 +172,9 @@
|
|
|
178
172
|
"nsfnet": "🧪 NSFNET",
|
|
179
173
|
"milnet": "🪖 MILNET",
|
|
180
174
|
"arpanet": "🗝️️ ARPANET",
|
|
181
|
-
"darpa": "🚽 DARPA",
|
|
182
175
|
"area51": "👽 Area 51",
|
|
183
|
-
"nsa": "👁️ NSA",
|
|
184
|
-
"cia": "🍸️ CIA",
|
|
185
|
-
"fbi": "🕵️ FBI",
|
|
186
|
-
"irs": "🧾️ IRS",
|
|
187
176
|
"police": "👮 Police",
|
|
188
|
-
"
|
|
189
|
-
"pentagon": "⬟ The Pentagon",
|
|
190
|
-
"temple": "🛕 Temple",
|
|
191
|
-
"church": "⛪️ Church",
|
|
192
|
-
"religion": "🕉️ Religion",
|
|
193
|
-
"syndicate": "🏢️ Syndicate",
|
|
194
|
-
"mafia": "🔫 Mafia",
|
|
195
|
-
"hacker": "⌨️ Hacker",
|
|
196
|
-
"sharon": "🐷 Sharon N Schamber",
|
|
197
|
-
"hal": "🐮 Harold H Atkin",
|
|
198
|
-
"tabitha": "🐀 Tabitha R Lavery",
|
|
199
|
-
"trenton": "🐭 Tabitha R Lavery",
|
|
200
|
-
"cristy": "🫏 Cristy C Fincher",
|
|
201
|
-
"dewitty": "👹 Mr. Dewitty",
|
|
202
|
-
"covenant": "🤡 The Covenant"
|
|
177
|
+
"hacker": "⌨️ Hacker"
|
|
203
178
|
},
|
|
204
179
|
"actions": {
|
|
205
180
|
"violation": "🔺 Violation",
|
|
@@ -212,7 +187,6 @@
|
|
|
212
187
|
"punishment": "️🟥 Punishment",
|
|
213
188
|
"reward": "️🟦 Reward",
|
|
214
189
|
"restitution": "️💰 Restitution",
|
|
215
|
-
"tax": "️💸 Tax",
|
|
216
190
|
"cheat": "🤥 Cheat",
|
|
217
191
|
"fraud": "🤬 Fraud",
|
|
218
192
|
"evasion": "️😰 Evasion",
|
|
@@ -238,14 +212,6 @@
|
|
|
238
212
|
"footer": "🐷 Footer"
|
|
239
213
|
},
|
|
240
214
|
"states": {
|
|
241
|
-
"usa": "🇺🇸 United States of America",
|
|
242
|
-
"england": "🇬🇧 England",
|
|
243
|
-
"germany": "🇩🇪 Germany",
|
|
244
|
-
"russia": "🇷🇺 Russia",
|
|
245
|
-
"observe": "🔍 Observe",
|
|
246
|
-
"confidential": "🤐 Confidential",
|
|
247
|
-
"classified": "🔏 Classified",
|
|
248
|
-
"secret": "🔐 Secret",
|
|
249
215
|
"audit": "📋 Audit",
|
|
250
216
|
"inspect": "🧐 Inspect",
|
|
251
217
|
"flag": "🏴☠️ Flag",
|
|
@@ -256,9 +222,6 @@
|
|
|
256
222
|
"secure": "🔒 Secure",
|
|
257
223
|
"insecure": "🔓 Insecure",
|
|
258
224
|
"rogue": "💩 Rogue",
|
|
259
|
-
"dharma": "🧘 Dharma",
|
|
260
|
-
"adharma": "👿 Adharma",
|
|
261
|
-
"bullshit": "🐂 Bullshit",
|
|
262
225
|
"threat": "🗡️ Threat",
|
|
263
226
|
"protect": "🥽️ Protect",
|
|
264
227
|
"conceal": "🫣️ Conceal",
|
|
@@ -266,18 +229,9 @@
|
|
|
266
229
|
"danger": "⛔️️ Danger",
|
|
267
230
|
"fugitive": "😤 Fugitive",
|
|
268
231
|
"hostile": "😖 Hostile",
|
|
269
|
-
"pervert": "💋 Pervert",
|
|
270
|
-
"bankrupt": "😦 Bankrupt",
|
|
271
|
-
"location": "📍️ Location",
|
|
272
232
|
"corrupt": "🤢 Corrupt",
|
|
273
233
|
"compromised": "🥹 Compromised",
|
|
274
|
-
"crisis": "😱 Crisis"
|
|
275
|
-
"lawful": "😎 Lawful",
|
|
276
|
-
"unlawful": "😓 Unlawful",
|
|
277
|
-
"innocent": "😇 Innocent",
|
|
278
|
-
"guilty": "😞 Guilty",
|
|
279
|
-
"wager": "﹩ Wager",
|
|
280
|
-
"gamble": "₿ Gamble"
|
|
234
|
+
"crisis": "😱 Crisis"
|
|
281
235
|
}
|
|
282
236
|
}
|
|
283
237
|
}
|