@elizaos/plugin-tee 0.1.7 → 0.1.8-alpha.1

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 CHANGED
@@ -5,6 +5,7 @@ A plugin for handling Trusted Execution Environment (TEE) operations, providing
5
5
  ## Overview
6
6
 
7
7
  This plugin provides functionality to:
8
+
8
9
  - Generate secure keys within a TEE environment
9
10
  - Derive Ed25519 keypairs for Solana
10
11
  - Derive ECDSA keypairs for Ethereum
@@ -35,8 +36,8 @@ Import and register the plugin in your Eliza configuration:
35
36
  import { teePlugin } from "@elizaos/plugin-tee";
36
37
 
37
38
  export default {
38
- plugins: [teePlugin],
39
- // ... other configuration
39
+ plugins: [teePlugin],
40
+ // ... other configuration
40
41
  };
41
42
  ```
42
43
 
@@ -128,9 +129,9 @@ docker run --rm -p 8090:8090 phalanetwork/tappd-simulator:latest
128
129
  ```typescript
129
130
  enum TEEMode {
130
131
  OFF = "OFF",
131
- LOCAL = "LOCAL", // For local development with simulator
132
- DOCKER = "DOCKER", // For docker development with simulator
133
- PRODUCTION = "PRODUCTION" // For production without simulator
132
+ LOCAL = "LOCAL", // For local development with simulator
133
+ DOCKER = "DOCKER", // For docker development with simulator
134
+ PRODUCTION = "PRODUCTION", // For production without simulator
134
135
  }
135
136
 
136
137
  interface RemoteAttestationQuote {
@@ -142,52 +143,57 @@ interface RemoteAttestationQuote {
142
143
  ## Future Enhancements
143
144
 
144
145
  1. **Key Management**
145
- - Advanced key derivation schemes
146
- - Multi-party computation support
147
- - Key rotation automation
148
- - Backup and recovery systems
149
- - Hardware security module integration
150
- - Custom derivation paths
146
+
147
+ - Advanced key derivation schemes
148
+ - Multi-party computation support
149
+ - Key rotation automation
150
+ - Backup and recovery systems
151
+ - Hardware security module integration
152
+ - Custom derivation paths
151
153
 
152
154
  2. **Remote Attestation**
153
- - Enhanced quote verification
154
- - Multiple TEE provider support
155
- - Automated attestation renewal
156
- - Policy management system
157
- - Compliance reporting
158
- - Audit trail generation
155
+
156
+ - Enhanced quote verification
157
+ - Multiple TEE provider support
158
+ - Automated attestation renewal
159
+ - Policy management system
160
+ - Compliance reporting
161
+ - Audit trail generation
159
162
 
160
163
  3. **Security Features**
161
- - Memory encryption improvements
162
- - Side-channel protection
163
- - Secure state management
164
- - Access control systems
165
- - Threat detection
166
- - Security monitoring
164
+
165
+ - Memory encryption improvements
166
+ - Side-channel protection
167
+ - Secure state management
168
+ - Access control systems
169
+ - Threat detection
170
+ - Security monitoring
167
171
 
168
172
  4. **Chain Integration**
169
- - Multi-chain support expansion
170
- - Cross-chain attestation
171
- - Chain-specific optimizations
172
- - Custom signing schemes
173
- - Transaction privacy
174
- - Bridge security
173
+
174
+ - Multi-chain support expansion
175
+ - Cross-chain attestation
176
+ - Chain-specific optimizations
177
+ - Custom signing schemes
178
+ - Transaction privacy
179
+ - Bridge security
175
180
 
176
181
  5. **Developer Tools**
177
- - Enhanced debugging capabilities
178
- - Testing framework
179
- - Simulation environment
180
- - Documentation generator
181
- - Performance profiling
182
- - Integration templates
182
+
183
+ - Enhanced debugging capabilities
184
+ - Testing framework
185
+ - Simulation environment
186
+ - Documentation generator
187
+ - Performance profiling
188
+ - Integration templates
183
189
 
184
190
  6. **Performance Optimization**
185
- - Parallel processing
186
- - Caching mechanisms
187
- - Resource management
188
- - Latency reduction
189
- - Throughput improvements
190
- - Load balancing
191
+ - Parallel processing
192
+ - Caching mechanisms
193
+ - Resource management
194
+ - Latency reduction
195
+ - Throughput improvements
196
+ - Load balancing
191
197
 
192
198
  We welcome community feedback and contributions to help prioritize these enhancements.
193
199
 
@@ -206,12 +212,14 @@ This plugin integrates with and builds upon several key technologies:
206
212
  - [Intel SGX](https://www.intel.com/content/www/us/en/developer/tools/software-guard-extensions/overview.html): Trusted Execution Environment technology
207
213
 
208
214
  Special thanks to:
215
+
209
216
  - The Phala Network team for their TEE infrastructure
210
217
  - The Intel SGX team for TEE technology
211
218
  - The dStack SDK maintainers
212
219
  - The Eliza community for their contributions and feedback
213
220
 
214
221
  For more information about TEE capabilities:
222
+
215
223
  - [Phala Documentation](https://docs.phala.network/)
216
224
  - [Intel SGX Documentation](https://www.intel.com/content/www/us/en/developer/tools/software-guard-extensions/documentation.html)
217
225
  - [TEE Security Best Practices](https://docs.phala.network/developers/phat-contract/security-notes)
@@ -219,4 +227,4 @@ For more information about TEE capabilities:
219
227
 
220
228
  ## License
221
229
 
222
- This plugin is part of the Eliza project. See the main project repository for license information.
230
+ This plugin is part of the Eliza project. See the main project repository for license information.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elizaos/plugin-tee",
3
- "version": "0.1.7",
3
+ "version": "0.1.8-alpha.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -19,11 +19,10 @@
19
19
  "dist"
20
20
  ],
21
21
  "dependencies": {
22
- "@elizaos/core": "0.1.7",
23
- "@phala/dstack-sdk": "0.1.6",
22
+ "@elizaos/core": "0.1.8-alpha.1",
23
+ "@phala/dstack-sdk": "0.1.7",
24
24
  "@solana/spl-token": "0.4.9",
25
25
  "@solana/web3.js": "1.95.8",
26
- "bignumber": "1.1.0",
27
26
  "bignumber.js": "9.1.2",
28
27
  "bs58": "6.0.0",
29
28
  "node-cache": "5.1.2",
@@ -38,5 +37,5 @@
38
37
  "peerDependencies": {
39
38
  "whatwg-url": "7.1.0"
40
39
  },
41
- "gitHead": "e15421524dde4f2778b529effb212eebea8c98b6"
40
+ "gitHead": "d5f2924d866c21b54543637b694695bd1f410621"
42
41
  }