rakomi 0.1.0 → 0.1.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/SECURITY.md +206 -0
- package/package.json +4 -2
- package/sbom.cdx.json +43 -0
package/SECURITY.md
ADDED
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
# Security Policy
|
|
2
|
+
|
|
3
|
+
## Supported Versions
|
|
4
|
+
|
|
5
|
+
This policy covers the four JS-family SDK packages: `@rakomi/node`, `@rakomi/sdk-core`,
|
|
6
|
+
`@rakomi/react`, and `@rakomi/react-native`.
|
|
7
|
+
|
|
8
|
+
While these packages remain pre-1.0 (`0.x`), they carry **no stability or support guarantee**
|
|
9
|
+
(SemVer 2.0.0 §4); the latest `0.x` line receives security updates on a best-effort basis.
|
|
10
|
+
|
|
11
|
+
From version **1.0** onward, Rakomi maintains the current (N) and previous (N-1) MAJOR in parallel, with N-1 receiving
|
|
12
|
+
security-only fixes. The CRA support period for each MAJOR is determined in accordance with
|
|
13
|
+
**CRA Art. 13(8)** — at least five years, or the product's expected use time where shorter. The authoritative, machine-readable support windows are published at
|
|
14
|
+
[`https://api.rakomi.com/.well-known/sdk-support.json`](https://api.rakomi.com/.well-known/sdk-support.json)
|
|
15
|
+
and rendered for humans on the [SDK Support & Lifecycle page](https://rakomi.com/sdk-support). This
|
|
16
|
+
document points at that single source rather than re-typing dated rows.
|
|
17
|
+
|
|
18
|
+
Vulnerabilities in peer dependencies (e.g., React) are out of Rakomi's direct scope, but Rakomi will update minimum peer dependency versions when a peer dependency has a known critical CVE affecting SDK users.
|
|
19
|
+
|
|
20
|
+
## Reporting a Vulnerability
|
|
21
|
+
|
|
22
|
+
**Please do NOT open a public GitHub issue for security vulnerabilities.**
|
|
23
|
+
|
|
24
|
+
We support two reporting channels:
|
|
25
|
+
|
|
26
|
+
1. **Email:** security@rakomi.com (preferred for initial contact)
|
|
27
|
+
2. **GitHub Private Vulnerability Reporting:** [Submit via GitHub Security](https://github.com/rakomidev/rakomi-js/security/advisories/new) — each report automatically receives a GHSA tracking identifier (GHSA-xxxx-xxxx-xxxx).
|
|
28
|
+
|
|
29
|
+
For encrypted communication, a PGP public key is available at:
|
|
30
|
+
`https://rakomi.com/rakomi-security-pgp-key.asc`
|
|
31
|
+
|
|
32
|
+
Include the key fingerprint from this file (section 14) for out-of-band verification when sending encrypted reports.
|
|
33
|
+
|
|
34
|
+
## Response Targets
|
|
35
|
+
|
|
36
|
+
We strive to meet these response targets. Actual response times may vary based on issue complexity and team availability.
|
|
37
|
+
|
|
38
|
+
| Severity | First Response | Fix Target | Disclosure |
|
|
39
|
+
|----------|---------------|------------|------------|
|
|
40
|
+
| Critical (actively exploited) | without undue delay (target: 24h) | 72h patch/mitigation | Designated EU authority notified within 24h (CRA Art. 14) |
|
|
41
|
+
| High | without undue delay (target: 48h) | 14 days | Coordinated after fix |
|
|
42
|
+
| Medium | 5 business days | 90 days | Coordinated after fix |
|
|
43
|
+
| Low | 5 business days | Next release cycle | Changelog note |
|
|
44
|
+
|
|
45
|
+
Severity is assessed using industry-standard vulnerability scoring criteria.
|
|
46
|
+
|
|
47
|
+
Rakomi is maintained by a small team. During periods of reduced availability, the auto-reply from security@rakomi.com will confirm receipt and provide the PGP key. For actively exploited vulnerabilities, we will respond as quickly as humanly possible.
|
|
48
|
+
|
|
49
|
+
## Coordinated Vulnerability Disclosure (CVD) Policy
|
|
50
|
+
|
|
51
|
+
We follow a coordinated disclosure model with a **90-day embargo** period from the date of acknowledgment. During this time:
|
|
52
|
+
|
|
53
|
+
- Rakomi will work to develop and release a fix
|
|
54
|
+
- We will keep the reporter updated on progress at least every 7 business days for Critical/High severity issues
|
|
55
|
+
- We will notify the reporter when a fix is released
|
|
56
|
+
- After 90 days, we will publish a security advisory regardless of fix status
|
|
57
|
+
|
|
58
|
+
We may request an extension if the fix requires significant infrastructure changes, and we will coordinate with the reporter before any deadline extension.
|
|
59
|
+
|
|
60
|
+
## Safe Harbor
|
|
61
|
+
|
|
62
|
+
We will not pursue legal action against researchers who follow this disclosure policy and act in good faith. We consider security research conducted in accordance with this policy to be:
|
|
63
|
+
- Conducted lawfully and in good faith under applicable EU law
|
|
64
|
+
- Not subject to legal action by CRE8EVE Sp. z o.o.
|
|
65
|
+
|
|
66
|
+
Safe harbor **does not extend to**:
|
|
67
|
+
- Accessing or modifying other users' data
|
|
68
|
+
- Performing denial of service attacks
|
|
69
|
+
- Social engineering employees or users
|
|
70
|
+
- Exfiltrating data beyond what is necessary to demonstrate the vulnerability
|
|
71
|
+
- Any activity that violates applicable law
|
|
72
|
+
|
|
73
|
+
## Scope
|
|
74
|
+
|
|
75
|
+
**In scope:**
|
|
76
|
+
- `@rakomi/node`, `@rakomi/sdk-core`, `@rakomi/react`, and `@rakomi/react-native` SDK source code and published npm packages
|
|
77
|
+
- Security properties of API interactions initiated by the SDKs (request signing, token verification, credential handling)
|
|
78
|
+
- Authentication flow logic within the SDKs
|
|
79
|
+
|
|
80
|
+
**Out of scope:**
|
|
81
|
+
- Social engineering attacks against Rakomi employees or users
|
|
82
|
+
- Denial of service attacks
|
|
83
|
+
- Physical security
|
|
84
|
+
- Vulnerabilities in third-party services used by Rakomi's backend
|
|
85
|
+
- Vulnerabilities in peer dependencies (e.g., React) — reported to the relevant maintainer, but Rakomi will update minimum peer dependency versions when a peer dependency has a known critical CVE affecting SDK users
|
|
86
|
+
|
|
87
|
+
This policy applies to the official `@rakomi/node`, `@rakomi/sdk-core`, `@rakomi/react`, and `@rakomi/react-native` packages distributed via npmjs.com. Forks and derivatives are maintained by their respective authors. Customers in regulated sectors (healthcare, finance) may have additional notification obligations beyond this general policy — contact security@rakomi.com for sector-specific compliance documentation.
|
|
88
|
+
|
|
89
|
+
## EU Authority Reporting
|
|
90
|
+
|
|
91
|
+
It is our **policy** to report actively exploited vulnerabilities and severe security incidents
|
|
92
|
+
having an impact on the security of our products to the relevant EU authority in accordance with
|
|
93
|
+
**CRA Art. 14**, on the statutory timeline: an early warning, followed by a fuller notification, and
|
|
94
|
+
a final report.
|
|
95
|
+
|
|
96
|
+
We report to the national coordinator CSIRT designated for our Member State of main establishment
|
|
97
|
+
(Poland), which is our live reporting channel today; onboarding to the EU single reporting platform
|
|
98
|
+
is in progress, and that platform is the documented onward path as it becomes available to
|
|
99
|
+
manufacturers.
|
|
100
|
+
|
|
101
|
+
## Security Update Notifications
|
|
102
|
+
|
|
103
|
+
Consumers of Rakomi SDKs can receive security update notifications through:
|
|
104
|
+
- **GitHub Security Advisories** on this repository (subscribe via GitHub "Watch" → "Security alerts")
|
|
105
|
+
- **npm audit:** `npm audit` or `pnpm audit` will flag known vulnerabilities in installed versions
|
|
106
|
+
|
|
107
|
+
In accordance with CRA Art. 14(8), after becoming aware of an actively exploited vulnerability or a severe incident having an impact on the security of our products, we will inform impacted users (and, where appropriate, all users) — together with any available risk-mitigation or corrective measures — through the above channels.
|
|
108
|
+
|
|
109
|
+
## Manufacturer Identification
|
|
110
|
+
|
|
111
|
+
**Legal entity:** CRE8EVE Sp. z o.o.
|
|
112
|
+
**Registered address:** Tulipanowa 4, 72-003 Dobra, Poland (EU)
|
|
113
|
+
**Contact:** security@rakomi.com (role-based — no personal mailbox or phone is published)
|
|
114
|
+
**Products covered:** `@rakomi/node`, `@rakomi/sdk-core`, `@rakomi/react`, `@rakomi/react-native` (published on npmjs.com)
|
|
115
|
+
|
|
116
|
+
The manufacturer is itself EU-established (Poland), so no CRA Art. 18 Authorised Representative is required (Art. 18 applies to manufacturers established outside the Union). CRA conformity assessment (Art. 32): these are Class I important products (Annex III). The internal-control procedure (Annex VIII, Module A — manufacturer self-assessment, no notified-body involvement) is available for a Class I product **only where harmonised standards, common specifications, or a European cybersecurity certification scheme at assurance level at least 'substantial' are applied in full** (Art. 32(2)); otherwise a third-party route — EU-type examination plus conformity to type (modules B+C), or full quality assurance (module H) — is required. The applicable route will be confirmed against the harmonised standards in force at the CRA application date. The EU Declaration of Conformity and CE marking attach at the CRA application date (Dec 2027) and are not yet issued. See the full manufacturer record at https://docs.rakomi.dev/compliance/manufacturer/.
|
|
117
|
+
|
|
118
|
+
## Export Control / Cryptography Notice
|
|
119
|
+
|
|
120
|
+
The four `@rakomi/*` SDK packages incorporate and invoke cryptography — they verify asymmetric
|
|
121
|
+
digital signatures (JWT/token verification), compare key material in constant time, and rely on the
|
|
122
|
+
host platform's TLS for transport security. They are distributed as **publicly available, mass-market
|
|
123
|
+
software** with cryptographic functionality the end user cannot readily modify.
|
|
124
|
+
|
|
125
|
+
- **EU — Regulation (EU) 2021/821 (Dual-Use):** the SDKs qualify for the **mass-market** treatment
|
|
126
|
+
under the Cryptography Note (Note 3) to Category 5, Part 2 of Annex I — generally available to the
|
|
127
|
+
public, sold without restriction, and not designed for the user to alter the cryptographic
|
|
128
|
+
functionality. No export authorisation is required for their distribution within or from the EU, and —
|
|
129
|
+
unlike the US path — the EU decontrol is **self-executing**, with no notification or filing step.
|
|
130
|
+
- **US — Export Administration Regulations (EAR):** the cryptographic functionality is classifiable
|
|
131
|
+
under **ECCN 5D002**. As **publicly available** open-source software the source code is **not
|
|
132
|
+
subject to the EAR** (15 CFR §734.7(a)), and the corresponding object code is distributed under the
|
|
133
|
+
mass-market provisions. The one-time email notification of the public source-code URL to the U.S.
|
|
134
|
+
BIS and NSA is filed at first public release (15 CFR §742.15(b)).
|
|
135
|
+
|
|
136
|
+
This notice is provided for transparency and is **not legal advice**. Downstream redistributors are
|
|
137
|
+
responsible for their own export, import, and use obligations in their jurisdiction.
|
|
138
|
+
|
|
139
|
+
## Post-Market Surveillance
|
|
140
|
+
|
|
141
|
+
Rakomi monitors SDK health after release through:
|
|
142
|
+
- Automated dependency vulnerability scanning (npm audit, Dependabot)
|
|
143
|
+
- Runtime error patterns derived from API logs (SDK version reported in User-Agent header)
|
|
144
|
+
- Periodic security review of SDK code per the internal security review process
|
|
145
|
+
|
|
146
|
+
This constitutes the "effective and regular tests and reviews of the security of the product with digital elements" required under CRA Annex I, Part II, point (3). The coordinated-vulnerability-disclosure policy required under CRA Annex I, Part II, point (5) is set out in the "Coordinated Vulnerability Disclosure (CVD) Policy" section above.
|
|
147
|
+
|
|
148
|
+
## No Bounty Program
|
|
149
|
+
|
|
150
|
+
Rakomi does not currently operate a paid bug bounty program. We deeply appreciate responsible disclosure and will acknowledge researchers in security advisories (with their consent).
|
|
151
|
+
|
|
152
|
+
## Reference: security.txt
|
|
153
|
+
|
|
154
|
+
This policy is referenced in our machine-readable security contact file (RFC 9116):
|
|
155
|
+
`/.well-known/security.txt` — deployed at `https://rakomi.com/.well-known/security.txt`
|
|
156
|
+
|
|
157
|
+
---
|
|
158
|
+
|
|
159
|
+
## What to Include in Your Report
|
|
160
|
+
|
|
161
|
+
*(ISO/IEC 29147:2018 §6.5)*
|
|
162
|
+
|
|
163
|
+
To help us triage efficiently, please include:
|
|
164
|
+
|
|
165
|
+
1. **Affected package** name and version (e.g., @rakomi/node 0.2.0)
|
|
166
|
+
2. **Reproduction steps** — a minimal, reproducible example
|
|
167
|
+
3. **Impact assessment** — what an attacker could achieve
|
|
168
|
+
4. **Proof of concept** — if available (do not use real user data)
|
|
169
|
+
5. **Reporter contact** — so we can keep you updated
|
|
170
|
+
|
|
171
|
+
Reports that do not include reproduction steps or fall outside the defined scope may be closed without a tracking ID.
|
|
172
|
+
|
|
173
|
+
## Report Tracking
|
|
174
|
+
|
|
175
|
+
*(ISO/IEC 29147:2018 §6.6)*
|
|
176
|
+
|
|
177
|
+
Each report receives a unique tracking identifier upon acknowledgment. For reports submitted via GitHub Private Vulnerability Reporting, the GHSA identifier (e.g., GHSA-xxxx-xxxx-xxxx) serves as the tracking ID. For email reports, we will direct you to also submit via GitHub PVR for formal tracking.
|
|
178
|
+
|
|
179
|
+
## Status Updates
|
|
180
|
+
|
|
181
|
+
*(ISO/IEC 29147:2018 §6.4)*
|
|
182
|
+
|
|
183
|
+
We provide status updates at least every **7 business days** for Critical/High severity issues, and upon resolution for Medium/Low severity issues.
|
|
184
|
+
|
|
185
|
+
## CVE Assignment
|
|
186
|
+
|
|
187
|
+
Confirmed vulnerabilities with sufficient impact will receive CVE identifiers via GitHub's CNA (CVE Numbering Authority) program.
|
|
188
|
+
|
|
189
|
+
## Reporter Data Privacy
|
|
190
|
+
|
|
191
|
+
*(GDPR Art. 6(1)(f) + Art. 13/14)*
|
|
192
|
+
|
|
193
|
+
Reporter personal data (name, email) is processed under GDPR Art. 6(1)(f) legitimate interest for vulnerability coordination. This data is:
|
|
194
|
+
- Retained for the duration of the vulnerability lifecycle plus 2 years
|
|
195
|
+
- Not shared with third parties except as required for CVE assignment or regulatory reporting (e.g., ENISA, national CSIRT)
|
|
196
|
+
- Accessible to the reporter upon request (GDPR Art. 15)
|
|
197
|
+
- Deletable upon request after vulnerability closure (GDPR Art. 17, where not overridden by regulatory retention obligations)
|
|
198
|
+
|
|
199
|
+
To exercise your GDPR rights, contact security@rakomi.com.
|
|
200
|
+
|
|
201
|
+
## PGP Key Fingerprint
|
|
202
|
+
|
|
203
|
+
The PGP public key for encrypted communication is available at:
|
|
204
|
+
`https://rakomi.com/rakomi-security-pgp-key.asc`
|
|
205
|
+
|
|
206
|
+
Verify the key fingerprint through an independent channel (e.g., LinkedIn, Twitter/X, or a direct phone call) before sending sensitive information.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rakomi",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "The Rakomi CLI — sign in, connect an AI agent (Claude Code, Claude Desktop) to your tenant, and provision tenants. EU-native auth-as-a-service.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"rakomi",
|
|
@@ -34,7 +34,9 @@
|
|
|
34
34
|
"files": [
|
|
35
35
|
"dist",
|
|
36
36
|
"README.md",
|
|
37
|
-
"LICENSE"
|
|
37
|
+
"LICENSE",
|
|
38
|
+
"SECURITY.md",
|
|
39
|
+
"sbom.cdx.json"
|
|
38
40
|
],
|
|
39
41
|
"scripts": {
|
|
40
42
|
"build": "tsc",
|
package/sbom.cdx.json
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"bomFormat": "CycloneDX",
|
|
3
|
+
"specVersion": "1.6",
|
|
4
|
+
"version": 1,
|
|
5
|
+
"metadata": {
|
|
6
|
+
"supplier": {
|
|
7
|
+
"name": "CRE8EVE Sp. z o.o.",
|
|
8
|
+
"url": [
|
|
9
|
+
"https://rakomi.com"
|
|
10
|
+
]
|
|
11
|
+
},
|
|
12
|
+
"authors": [
|
|
13
|
+
{
|
|
14
|
+
"name": "CRE8EVE Sp. z o.o."
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"tools": {
|
|
18
|
+
"components": [
|
|
19
|
+
{
|
|
20
|
+
"type": "application",
|
|
21
|
+
"group": "rakomi",
|
|
22
|
+
"name": "generate-sbom",
|
|
23
|
+
"version": "sha256:ffabbf3f1638"
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
"component": {
|
|
28
|
+
"type": "library",
|
|
29
|
+
"bom-ref": "pkg:npm/rakomi@0.1.1",
|
|
30
|
+
"name": "rakomi",
|
|
31
|
+
"version": "0.1.1",
|
|
32
|
+
"purl": "pkg:npm/rakomi@0.1.1",
|
|
33
|
+
"licenses": [
|
|
34
|
+
{
|
|
35
|
+
"license": {
|
|
36
|
+
"name": "NOASSERTION"
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"components": []
|
|
43
|
+
}
|