Kokoro.

數據安全

最後更新:2026 年 11 月 23 日。這一頁說的是「怎麼保護」:資料走過哪裡、放在哪裡、誰碰得到、出事怎麼辦。

Data Safety

Last updated 23 November 2026. This page is about protection: where data travels, where it lives, who can touch it, and what happens if something goes wrong.

一頁看懂

問題答案
資料傳輸有沒有加密?有。全部 HTTPS(TLS 1.2 以上),不接受明文連線。
我的對話會不會被拿去訓練模型?不會。與供應商的條款禁止用於訓練。
你們存我的密碼嗎?不存。登入全由 Firebase 處理。
我的照片會上傳嗎?不會。背景與地板圖片只在手機裡。
可以刪光嗎?可以。App 內刪角色;整個帳號寄一封信,30 天內完成。
誰看得到我的對話?只有產生回覆或整理記憶的模型供應商(當次請求),以及處理支援或濫用調查時的營運人員。

傳輸中

  • App → 伺服器:HTTPS,由 Cloudflare 終止 TLS 後以加密連線回源。App 內不接受自簽或降級連線。
  • 伺服器 → 模型/語音供應商:HTTPS;請求中不含你的帳號資料。
  • 語音檔以 base64 內嵌在同一條加密串流回傳,不經第三方儲存。

儲存時

  • 資料庫(MySQL)只接受伺服器內部網路連線,對外不開放連接埠;主機防火牆僅開放 HTTPS 與受金鑰保護的 SSH。
  • 主機磁碟由供應商加密;每日備份在主機內以加密通道產生,保存 14 天後覆蓋。
  • API 金鑰、資料庫密碼等機密存放在僅 root 可讀(600)的設定檔,不在程式碼倉庫、不在映像檔。
  • 後台登入憑證以 bcrypt 雜湊;一次性驗證碼(TOTP)密鑰單獨保存。

誰能看到

對象看得到什麼條件
你自己的角色、對話、能量App 內,綁定你的裝置或 Google 帳號
營運人員(後台)用戶清單、能量流水、用量統計;對話只在處理支援或濫用時查看帳密 + TOTP,操作有記錄
模型供應商當次請求的訊息、角色設定與記憶;整理記憶時另送最多 40 則對話僅產生回覆或整理期間
其他用戶無—

模型供應商

所有生成都經由 OpenRouter 轉送到實際的模型供應商。我們選擇供應商時要求:不以 API 輸入訓練模型、具備資料處理協議、提供刪除與保存期限承諾。送出的內容去除帳號識別,只保留產生回覆所需的角色設定、最近對話與記憶;整理記憶時送出最近未整理的對話。語音合成只收到要朗讀的句子。

基礎設施

元件位置/供應商用途
應用伺服器與資料庫香港,主機供應商代管API、後台、資料庫、備份
Cloudflare全球邊緣節點DNS、TLS、流量防護、真實 IP 轉送
Firebase AuthenticationGoogle,全球登入與 ID Token 簽發
模型與語音經 OpenRouter/Google Cloud,主要在美國生成回覆與語音

事件回應

  1. 發現或接獲通報後 24 小時內確認範圍,必要時先撤換金鑰、封鎖來源。
  2. 確認影響用戶資料後 72 小時內,透過 App 內提示或登入信箱通知受影響用戶,說明發生什麼、影響什麼、我們做了什麼、你可以做什麼。
  3. 依所在地法律向主管機關通報。
  4. 事後在本頁公開摘要與改善措施。

Google Play 資料安全表單

以下與 Play 商店「資料安全」區段的申報一致:

資料類型收集分享處理方式可要求刪除
個人資訊:電子郵件、名稱是(僅 Google 登入)否加密傳輸;帳號功能必需是
訊息:應用程式內訊息是是,傳送給模型供應商以產生回覆加密傳輸;應用程式功能是
應用程式活動:應用程式互動、使用者產生內容是是,與廣告相關的互動(開啟 App、點擊、觀看影片)由 Google AdMob 收集;對話等內容不分享加密傳輸;應用程式功能、分析、廣告或行銷、防詐欺是(AdMob 的部分依 Google 政策處理)
應用程式資訊與效能:當機記錄、診斷是(選擇性,僅在你開啟「傳送錯誤報告」時)否加密傳輸;應用程式功能(只用於修正錯誤);90 天後刪除是
應用程式資訊與效能:其他效能資料(裝置資訊)是(必要)否加密傳輸;應用程式功能、分析(最佳化與相容性)是
應用程式資訊與效能:診斷(App 啟動時間、卡頓率、耗電)是(由 Google AdMob SDK 收集)是,Google AdMob加密傳輸;廣告或行銷、分析、防詐欺依 Google 政策處理
位置:大概位置(依 IP 位址推估)是(由 Google AdMob SDK 收集,我們不取得)是,Google AdMob加密傳輸;廣告或行銷、分析、防詐欺依 Google 政策處理
裝置或其他 ID(含廣告 ID)是是,廣告 ID 與 App set ID 與 Google AdMob 分享加密傳輸;功能、分析、防詐欺、廣告或行銷是
財務資訊:購買記錄是否(RevenueCat 為代我們處理的服務供應商)加密傳輸;應用程式功能是
精確位置、聯絡人、相片、音訊、付款資訊、健康否———

音訊:語音回覆由伺服器產生後送到手機,App 不錄音。財務資訊:訂閱上線後由 Google Play 處理,我們不接觸付款資料。

刪除流程

  • 單一角色:App 內「更多 → 刪除」,手機上的角色與伺服器上的記憶即時刪除;伺服器保留角色的刪除標記與對話,直到刪除帳號為止。
  • 整個帳號:依刪除帳號頁來信,我們刪除帳號資料、所有角色、對話與記憶、能量與用量記錄中可對應到你的部分,30 天內回信確認;備份中的副本在 14 天內自然覆蓋。
  • 解除安裝:只移除手機上的資料,伺服器資料仍在,直到你提出刪除。

回報漏洞

發現安全問題請寄到 [email protected](主旨 Security report)。我們在 72 小時內回覆,善意研究者的測試不會被追究,請避免存取他人資料與影響服務可用性。

At a glance

QuestionAnswer
Is data encrypted in transit?Yes. HTTPS everywhere (TLS 1.2+); plaintext connections are refused.
Are my chats used to train models?No. Our provider terms prohibit training on them.
Do you store my password?No. Firebase handles sign-in entirely.
Are my photos uploaded?No. Backdrop and floor images stay on the phone.
Can I delete everything?Yes. Companions in the app; the whole account with one email, done within 30 days.
Who can see my chats?Only the model provider generating that reply or memory update, and operators when handling a support request or abuse investigation.

In transit

  • App → servers: HTTPS, TLS terminated by Cloudflare and re-encrypted to the origin. The app refuses self-signed or downgraded connections.
  • Servers → model and speech providers: HTTPS; requests carry no account data.
  • Audio for spoken replies is embedded (base64) in the same encrypted stream and never stored with a third party.

At rest

  • The database (MySQL) accepts connections only from the server's internal network; no public port. The host firewall exposes only HTTPS and key-protected SSH.
  • Host disks are provider-encrypted; daily backups are produced locally over an encrypted channel and roll over after 14 days.
  • API keys and database passwords live in root-only (600) configuration files — never in the code repository or container images.
  • Admin credentials are bcrypt-hashed; one-time-code (TOTP) secrets are stored separately.

Who can see what

WhoWhatConditions
YouYour own companions, chats and energyIn the app, bound to your device or Google account
Operators (admin console)User list, energy ledger, usage statistics; chats only when handling support or abusePassword + TOTP; actions are logged
Model providersThe message, companion settings and memories of that one request; up to 40 chat messages when memories are updatedOnly while generating the reply or the update
Other usersNothing—

Model providers

All generation goes through OpenRouter to the actual model providers. We require providers that do not train on API input, offer a data-processing agreement, and commit to deletion and retention limits. What we send is stripped of account identifiers, keeping only the companion settings, recent conversation and memories needed for the reply; memory updates send the recent conversation not yet summarised. Speech synthesis receives only the sentence to be read.

Infrastructure

ComponentLocation / providerPurpose
Application servers and databaseHong Kong, hosted by our server providerAPI, admin console, database, backups
CloudflareGlobal edgeDNS, TLS, traffic protection, real-IP forwarding
Firebase AuthenticationGoogle, globalSign-in and ID-token issuance
Models and speechVia OpenRouter / Google Cloud, mainly in the United StatesGenerating replies and voice

Incident response

  1. Within 24 hours of discovery or a report, we scope the incident and, where needed, rotate keys and block the source first.
  2. Within 72 hours of confirming an impact on user data, we notify affected users in the app or at their sign-in email: what happened, what was affected, what we did, what you can do.
  3. We report to supervisory authorities as local law requires.
  4. Afterwards we publish a summary and the improvements made on this page.

Google Play data safety form

This matches our declaration in the Play Store's Data safety section:

Data typeCollectedSharedHandlingDeletable on request
Personal info: email, nameYes (Google sign-in only)NoEncrypted in transit; required for account featuresYes
Messages: in-app messagesYesYes, to model providers to generate repliesEncrypted in transit; app functionalityYes
App activity: interactions, user-generated contentYesYes, ad-related interactions (app launches, taps, video views) are collected by Google AdMob; chats and other content are not sharedEncrypted in transit; functionality, analytics, advertising or marketing, fraud preventionYes (the AdMob part under Google's policy)
App info and performance: crash logs, diagnosticsYes (optional, only if you turn on "Send error reports")NoEncrypted in transit; app functionality (fixing bugs only); deleted after 90 daysYes
App info and performance: other performance data (device information)Yes (required)NoEncrypted in transit; app functionality, analytics (optimisation and compatibility)Yes
App info and performance: diagnostics (app launch time, hang rate, energy use)Yes (collected by the Google AdMob SDK)Yes, Google AdMobEncrypted in transit; advertising or marketing, analytics, fraud preventionUnder Google's policy
Location: approximate location (estimated from the IP address)Yes (collected by the Google AdMob SDK; we do not receive it)Yes, Google AdMobEncrypted in transit; advertising or marketing, analytics, fraud preventionUnder Google's policy
Device or other IDs (including advertising ID)YesYes, the advertising ID and app set ID with Google AdMobEncrypted in transit; functionality, analytics, fraud prevention, advertising or marketingYes
Financial info: purchase historyYesNo (RevenueCat processes it on our behalf)Encrypted in transit; app functionalityYes
Precise location, contacts, photos, audio, payment info, healthNo———

Audio: spoken replies are generated on the server and sent to the phone; the app does not record. Financial info: once subscriptions launch, Google Play handles payment; we never touch payment data.

Deletion

  • One companion: "More → Delete" in the app removes the companion from the phone and her memories from the server at once; the server keeps a deletion marker for the companion and her conversations until the account is deleted.
  • Whole account: email us as described on Delete account; we remove account data, all companions, chats and memories, and the energy and usage records linkable to you, and confirm within 30 days. Backup copies roll over within 14 days.
  • Uninstalling removes only the data on your phone; server data stays until you request deletion.

Report a vulnerability

Email [email protected] with the subject "Security report". We reply within 72 hours. Good-faith research is welcome; please avoid accessing other people's data or affecting availability.