@me2em/core 0.4.4-alpha.1 → 0.4.4-alpha.2
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 +159 -373
- package/dist/crypto/ed25519.d.ts +12 -0
- package/dist/crypto/ed25519.d.ts.map +1 -0
- package/dist/crypto/ed25519.js +12 -0
- package/dist/crypto/ed25519.js.map +1 -0
- package/dist/crypto/hkdf.d.ts +13 -0
- package/dist/crypto/hkdf.d.ts.map +1 -0
- package/dist/crypto/hkdf.js +16 -0
- package/dist/crypto/hkdf.js.map +1 -0
- package/dist/crypto/index.d.ts +3 -0
- package/dist/crypto/index.d.ts.map +1 -0
- package/dist/crypto/index.js +3 -0
- package/dist/crypto/index.js.map +1 -0
- package/dist/crypto/init.d.ts +9 -0
- package/dist/crypto/init.d.ts.map +1 -0
- package/dist/crypto/init.js +16 -0
- package/dist/crypto/init.js.map +1 -0
- package/dist/handle.d.ts +87 -0
- package/dist/handle.d.ts.map +1 -0
- package/dist/handle.js +113 -0
- package/dist/handle.js.map +1 -0
- package/dist/identity.d.ts +43 -0
- package/dist/identity.d.ts.map +1 -0
- package/dist/identity.js +71 -0
- package/dist/identity.js.map +1 -0
- package/dist/index.d.ts +29 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +29 -0
- package/dist/index.js.map +1 -0
- package/dist/seed.d.ts +96 -0
- package/dist/seed.d.ts.map +1 -0
- package/dist/seed.js +127 -0
- package/dist/seed.js.map +1 -0
- package/dist/session.d.ts +41 -0
- package/dist/session.d.ts.map +1 -0
- package/dist/session.js +37 -0
- package/dist/session.js.map +1 -0
- package/package.json +36 -12
- package/.github/workflows/ci.yml +0 -0
- package/CODE_OF_CONDUCT.md +0 -73
- package/CONTRIBUTING.md +0 -145
- package/GOVERNANCE.md +0 -132
- package/SECURITY.md +0 -70
- package/packages/core/README.md +0 -656
- package/packages/core/package.json +0 -44
- package/packages/core/test/derivation.spec.ts +0 -117
- package/packages/core/tsconfig.json +0 -9
- package/pnpm-workspace.yaml +0 -2
- package/specs/core.md +0 -44
- package/specs/openapi/server-ref.yaml +0 -10
- package/specs/test-vectors.json +0 -13
- package/tsconfig.base.json +0 -20
- package/typedoc.json +0 -18
- /package/{packages/core/src → src}/crypto/ed25519.ts +0 -0
- /package/{packages/core/src → src}/crypto/hkdf.ts +0 -0
- /package/{packages/core/src → src}/crypto/index.ts +0 -0
- /package/{packages/core/src → src}/crypto/init.ts +0 -0
- /package/{packages/core/src → src}/handle.ts +0 -0
- /package/{packages/core/src → src}/identity.ts +0 -0
- /package/{packages/core/src → src}/index.ts +0 -0
- /package/{packages/core/src → src}/seed.ts +0 -0
- /package/{packages/core/src → src}/session.ts +0 -0
package/SECURITY.md
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
# Security Policy
|
|
2
|
-
|
|
3
|
-
## 🔐 Supported Versions
|
|
4
|
-
|
|
5
|
-
| Version | Supported |
|
|
6
|
-
|---------|-----------|
|
|
7
|
-
| 0.1.x | ✅ Yes |
|
|
8
|
-
| < 0.1 | ❌ No |
|
|
9
|
-
|
|
10
|
-
> Me2em is in active development. Always use the latest version for security fixes.
|
|
11
|
-
|
|
12
|
-
## 🚨 Reporting a Vulnerability
|
|
13
|
-
|
|
14
|
-
Me2em handles cryptographic identities and authentication. We take security seriously.
|
|
15
|
-
|
|
16
|
-
**If you discover a security vulnerability:**
|
|
17
|
-
|
|
18
|
-
1. **Do NOT** open a public issue or discuss it publicly
|
|
19
|
-
2. Email `security@me2em.com` with:
|
|
20
|
-
- Description of the vulnerability
|
|
21
|
-
- Steps to reproduce (if applicable)
|
|
22
|
-
- Potential impact assessment
|
|
23
|
-
- Suggested fix (optional but appreciated)
|
|
24
|
-
3. Use PGP if possible: [PGP Key](https://me2em.com/security/pgp-key.asc) (coming soon)
|
|
25
|
-
|
|
26
|
-
## 📬 What to Expect
|
|
27
|
-
|
|
28
|
-
- **Acknowledgment**: Within 72 hours
|
|
29
|
-
- **Assessment**: Within 7 business days
|
|
30
|
-
- **Fix timeline**: Depends on severity (critical: ≤14 days)
|
|
31
|
-
- **Disclosure**: Coordinated with reporter, after fix is released
|
|
32
|
-
|
|
33
|
-
## 🛡️ Security Best Practices for Users
|
|
34
|
-
|
|
35
|
-
When implementing Me2em in your application:
|
|
36
|
-
|
|
37
|
-
✅ **Do**:
|
|
38
|
-
- Store seed phrases in secure, user-controlled storage (never in plaintext)
|
|
39
|
-
- Use short-lived sessions and rotate tokens frequently
|
|
40
|
-
- Validate Handle metadata server-side, not just client-side
|
|
41
|
-
- Keep dependencies updated (`@me2em/*` packages)
|
|
42
|
-
|
|
43
|
-
❌ **Don't**:
|
|
44
|
-
- Expose private keys or seed phrases in client-side code
|
|
45
|
-
- Reuse sessions across different contexts/applications
|
|
46
|
-
- Trust Handle metadata without verification
|
|
47
|
-
- Disable cryptographic signature verification
|
|
48
|
-
|
|
49
|
-
## 🔍 Audit Status
|
|
50
|
-
|
|
51
|
-
| Component | Audit Date | Auditor | Report |
|
|
52
|
-
|-----------|------------|---------|--------|
|
|
53
|
-
| protocol-core | Planned Q2 2026 | TBD | — |
|
|
54
|
-
|
|
55
|
-
> We plan independent security audits before v1.0 release. Follow [Discussions](https://github.com/me2em-org/me2em-protocol/discussions) for updates.
|
|
56
|
-
|
|
57
|
-
## 📜 Responsible Disclosure Policy
|
|
58
|
-
|
|
59
|
-
We follow responsible disclosure principles:
|
|
60
|
-
- No legal action against good-faith researchers
|
|
61
|
-
- Public acknowledgment (with consent) after fix
|
|
62
|
-
- Bug bounty program: Planned for post-v1.0
|
|
63
|
-
|
|
64
|
-
## 🔄 Updates
|
|
65
|
-
|
|
66
|
-
This policy is reviewed quarterly. Last updated: May 2026.
|
|
67
|
-
|
|
68
|
-
---
|
|
69
|
-
|
|
70
|
-
*Part of the Me2em ecosystem: [github.com/me2em-org](https://github.com/me2em-org) | Contact: security@me2em.com*
|