Bảo mật & Tin cậy
Security & Trust
Trạng thái. Trang này mô tả bản đang chạy, phát hành ngày 2026-12-02. Bản trước không còn chạy. Tổng quan.
Status. This page describes the running build, released on 2026-12-02. The previous build no longer runs. Overview.
Trang này trả lời: Hệ thống bảo vệ được gì, trước ai, trong điều kiện nào. Mỗi mục xếp theo kẻ tấn công. Bản đang chạy vừa phát hành: phần lớn thuộc tính mới được kiểm trước phát hành trong môi trường thử, nên ghi chờ xác minh sau phát hành. Các điểm K1–K4 của bản trước (Vault trước kẻ có mọi bí mật máy chủ, B13, B3, chiếm Google) chưa được ghi là đạt. Mọi kết quả là kiểm chứng nội bộ; chưa có kiểm toán bên thứ ba.
This page answers: what the service protects, against whom, and under which conditions. Each section is organised by attacker. The running build has just been released: most properties have only been checked before release in a test environment, so they read awaiting post-release verification. Points K1–K4 of the previous build (Vaults against someone with every server secret, B13, B3, Google takeover) are not recorded as met. Every result is internal verification; there is no third-party audit yet.
Nhãn (dùng thống nhất). ĐẠT: đã đo trực tiếp trên production của bản đang chạy. CHƯA ĐẠT: một cam kết mà bản đang chạy chưa đáp ứng (mã K để tra). NGOÀI PHẠM VI: Hệ thống không cam kết điều này theo thiết kế. CHƯA XÁC MINH: có cơ chế, có đọc mã hoặc kiểm thử ngoài production của bản đang chạy, chưa đo trên production; “chờ xác minh sau phát hành” là việc đã định làm. TỒN DƯ: còn trong bản sao lưu hoặc định danh phát ra trước đây. CHƯA ĐƯỢC DUYỆT: giới hạn của bản đang chạy mà chưa có ghi nhận chủ sở hữu hệ thống (Owner) duyệt.
Labels (used consistently). MET: measured directly on production of the running build. NOT MET: a commitment the running build does not fulfil (K codes for reference). OUT OF SCOPE: The service does not commit to this by design. NOT VERIFIED: the mechanism exists and has been code-reviewed or tested outside production of the running build, not measured on production; “awaiting post-release verification” marks planned work. LEGACY RESIDUE: still present in older backups or previously issued identifiers. NOT APPROVED: a limit of the running build with no recorded approval by the service's owner.
Các khái niệm khác nhau, không dùng thay cho nhau. Blind Data: mã định danh được dẫn xuất khi truy cập; ứng dụng, hay người chỉ có cơ sở dữ liệu, khó nhận diện và khó liên kết bạn. No Mapping: cơ sở dữ liệu không có bảng hay cột nối người dùng với ngăn chứa hay dự án; quan hệ chỉ nằm trong bản mã. Encryption: nội dung lưu dạng mã hoá AES-256-GCM; ai có đủ khoá thì giải mã được. Pseudonymization (dùng mã giả như profileid) chỉ làm khó nhận diện, không giấu nội dung. Zero Knowledge nghĩa là máy chủ không có khả năng giải mã; End-to-End Encryption nghĩa là chỉ thiết bị của người dùng giữ khoá giải mã. Bản đang chạy được thiết kế theo No Mapping, Blind Data và Encryption; số đo trên production cho bản này đang chờ. Không tuyên bố Zero Knowledge hay End-to-End Encryption.
Distinct concepts, not interchangeable. Blind Data: identifiers are derived at access time, so apps, or someone holding only the database, can hardly identify or link you. No Mapping: no database table or column links users to containers or projects; relations live only inside ciphertext. Encryption: content is stored AES-256-GCM encrypted; anyone with the keys can decrypt it. Pseudonymization (pseudonyms such as profileid) only makes identification harder; it hides no content. Zero Knowledge means the server is unable to decrypt; End-to-End Encryption means only the user’s devices hold decryption keys. The running build is designed for No Mapping, Blind Data and Encryption; production measurements for this build are pending. No Zero Knowledge or End-to-End Encryption claim is made.
Năm phân biệt cần nhớ. (1) Định danh mù không che thuộc tính bạn chủ động chia sẻ: mỗi dự án nhận một mã hồ sơ riêng, nhưng tên và ảnh của hồ sơ chính do người dùng chọn chia sẻ thì giống nhau ở mọi nơi. (2) No Mapping là thuộc tính của dữ liệu lưu trữ: cơ sở dữ liệu không có bảng nối; còn máy chủ đang chạy thì biết người dùng của phiên hiện tại. (3) Dữ liệu riêng của chủ dự án khác với phần đăng ký đăng nhập của dự án: phần đăng ký (địa chỉ chuyển hướng, chế độ, tên, logo) được máy chủ đọc để phục vụ đăng nhập; phần riêng niêm phong bằng khoá của chủ. (4) Tấn công ngoại tuyến khác với chiếm máy chủ đang hoạt động: các bảo vệ dưới đây nhắm tới kẻ có bản chụp dữ liệu và bí mật; kẻ điều khiển máy chủ đang chạy nằm ngoài phạm vi. (5) Dữ liệu hiện hành khác với tồn dư trong bản sao lưu cũ: một điểm đã sửa ở dữ liệu đang chạy vẫn có thể còn trong bản sao lưu trước đó.
Five distinctions to keep in mind. (1) A blind identifier does not hide attributes you choose to share: each project receives its own profile id, but the name and photo of the main profile, which the user chooses to share, are the same everywhere. (2) No Mapping is a property of stored data: the database has no linking table; the running server, however, knows the user of the current session. (3) A project owner’s private data is different from the project’s sign-in registration: the registration (redirect addresses, modes, name, logo) is read by the server to serve sign-ins; the private part is sealed under the owner’s key. (4) An offline attack is different from taking over the live server: the protections below target someone holding snapshots of data and secrets; someone controlling the running server is out of scope. (5) Current data is different from residue in older backups: a point fixed in running data may still exist in earlier backups.
Tóm tắt
Summary
| Trước ai, trong điều kiện nào | Against whom, under which conditions | Bảo vệ gì | What is protected | Chưa đạt · chờ xác minh · chưa duyệt (số hàng) | Not met · pending · not approved (rows) |
|---|---|---|---|---|---|
| Chỉ có bản sao cơ sở dữ liệu, không có bí mật máy chủ | Database copy only, no server secrets | Vault, thẻ đăng nhập, phần riêng của chủ dự án, quan hệ giữa các bảng | Vaults, sign-in cards, owners’ private parts, relations between tables | 0 · 6 · 0 | |
| Có thêm mọi bí mật máy chủ, ngoại tuyến | Plus every server secret, offline | Vault (B11, B12), dữ liệu riêng của dự án (B13), bản sao tự phục hồi (B3) | Vaults (B11, B12), private project data (B13), self-healing copies (B3) | 0 · 2 · 2 | |
| Ghi được vào cơ sở dữ liệu | Can write to the database | Cấu hình dự án, chống phát lại, thu hồi quyền | Project configuration, replay detection, revocation | 0 · 2 · 1 | |
| Ứng dụng bên thứ ba; không che tên và ảnh người dùng chủ động chia sẻ | Third-party apps; names and photos the user chooses to share are not hidden | Định danh gốc, liên kết người dùng qua mã hồ sơ | Root identifier, linking users through profile ids | 0 · 2 · 0 | |
| Kẻ chiếm máy chủ đang chạy: ngoài phạm vi | Someone controlling the running server: out of scope | Không bảo vệ khoá và dữ liệu của người đang đăng nhập | Keys and data of signed-in users are not protected | 0 · 0 · 0 | |
| Có bản sao lưu lịch sử | Holds a historical backup | Tồn dư trong bản sao lưu của bản trước | Residue in backups of the previous build | 0 · 0 · 0 | |
| Chiếm Google, thiết bị hoặc phiên | Takes over Google, a device or a session | Vault khi tài khoản Google bị chiếm | Vaults when the Google account is taken over | 0 · 1 · 1 | |
| Kẻ chặn hoặc giả mạo luồng đăng nhập | Someone intercepting or forging the sign-in flow | Token, PKCE, chuyển hướng của luồng đăng nhập | Tokens, PKCE, redirects of the sign-in flow | 2 · 8 · 0 |
Người có bản sao cơ sở dữ liệu (ngoại tuyến)
Someone with a copy of the database (offline)
| Kẻ tấn công muốn | The attacker wants to | Bản đang chạy | Running build |
|---|---|---|---|
| Mở Vault hoặc thẻ đăng nhập của một tài khoản | Open an account’s Vault or sign-in card | CHƯA XÁC MINH · chờ xác minh sau phát hành Không mở được. Căn cứ (trước phát hành): test tấn công có đối chứng của gói core-v1-min-r2, cây 88a082d6, môi trường thử (R2 và Google mô phỏng). Chờ xác minh sau phát hành trên production. | NOT VERIFIED · awaiting post-release verification Cannot. Basis (before release): attack tests with controls of package core-v1-min-r2, tree 88a082d6, test environment (simulated R2 and Google). Awaiting post-release verification on production. |
| Dựng lại quan hệ người dùng → Container → dự án từ các bảng (No Mapping lưu trữ) | Rebuild the user → Container → project relations from the tables (stored-data No Mapping) | CHƯA XÁC MINH · chờ xác minh sau phát hành Không có bảng ánh xạ, khoá ngoại hay cột chủ sở hữu: 5 bảng, 0 khoá ngoại, trigger, view, routine. Căn cứ: đo chỉ đọc trên production, 18/11/2026. Số đo và phép thử nêu trên thực hiện trước phát hành. Chờ xác minh sau phát hành trên production. | NOT VERIFIED · awaiting post-release verification There is no mapping table, foreign key or owner column: 5 tables, 0 foreign keys, triggers, views, routines. Basis: read-only measurement on production, 2026-11-18. The measurements and tests cited were made before release. Awaiting post-release verification on production. |
| Tính ra mã hồ sơ của một người từ cơ sở dữ liệu | Compute a person’s profile id from the database | CHƯA XÁC MINH · chờ xác minh sau phát hành Mã hồ sơ là HMAC theo khoá của người dùng và mã dự án công khai. Căn cứ (trước phát hành): vector định danh kiểm qua đường thật trong gói core-v1-min-r2, cây 88a082d6, môi trường thử (R2 và Google mô phỏng). Chờ xác minh sau phát hành trên production. | NOT VERIFIED · awaiting post-release verification The profile id is an HMAC under the user’s key and the public project code. Basis (before release): identity vectors checked through the real path in package core-v1-min-r2, tree 88a082d6, test environment (simulated R2 and Google). Awaiting post-release verification on production. |
| Ghép các bản ghi với nhau qua dấu thời gian trong cơ sở dữ liệu đang chạy | Link records to each other through timestamps in the running database | CHƯA XÁC MINH · chờ xác minh sau phát hành Thời điểm tạo và cập nhật trong các bảng luôn là 0 do lược đồ ép; mốc chính xác của dự án nằm trong phần riêng đã mã hoá, phần đăng ký chỉ giữ mốc theo ngày. Căn cứ (trước phát hành): gói core-v1-min-r2, cây 88a082d6, môi trường thử (R2 và Google mô phỏng). Chờ xác minh sau phát hành trên production. | NOT VERIFIED · awaiting post-release verification Creation and update times in the tables are always 0, enforced by the schema; a project’s exact timestamps sit in the encrypted private part, and the registration keeps day-granularity marks only. Basis (before release): package core-v1-min-r2, tree 88a082d6, test environment (simulated R2 and Google). Awaiting post-release verification on production. |
| Đọc phần riêng của chủ dự án | Read a project owner’s private part | CHƯA XÁC MINH · chờ xác minh sau phát hành Không đọc được và không định vị được hàng riêng. Căn cứ (trước phát hành): gói core-v1-min-r2, cây 88a082d6, môi trường thử (R2 và Google mô phỏng). Chờ xác minh sau phát hành trên production. | NOT VERIFIED · awaiting post-release verification Cannot read it and cannot locate the private row. Basis (before release): package core-v1-min-r2, tree 88a082d6, test environment (simulated R2 and Google). Awaiting post-release verification on production. |
| Đọc phần đăng ký đăng nhập của một dự án khi biết mã dự án | Read a project’s sign-in registration when the project id is known | CHƯA XÁC MINH · chờ xác minh sau phát hành Chỉ cơ sở dữ liệu và mã dự án công khai thì không định vị và không đọc được; cần thêm khoá máy chủ của tầng đăng ký. Căn cứ (trước phát hành): gói core-v1-min-r2, cây 88a082d6, môi trường thử (R2 và Google mô phỏng). Chờ xác minh sau phát hành trên production. | NOT VERIFIED · awaiting post-release verification The database and the public project code alone neither locate nor read it; the registration layer’s server key is also needed. Basis (before release): package core-v1-min-r2, tree 88a082d6, test environment (simulated R2 and Google). Awaiting post-release verification on production. |
Người có cơ sở dữ liệu và mọi bí mật máy chủ (ngoại tuyến)
Someone with the database and every server secret (offline)
| Kẻ tấn công muốn | The attacker wants to | Bản đang chạy | Running build |
|---|---|---|---|
| Mở Vault của các tài khoản (B11, B12) | Open accounts’ Vaults (B11, B12) | CHƯA XÁC MINH · chờ xác minh sau phát hành 0 tài khoản mở được: khoá chỉ mở bằng bí mật của chính người dùng (thiết bị đã dùng hoặc mã khôi phục). Căn cứ (trước phát hành): test tấn công có đối chứng cho B11/B12 của gói core-v1-min-r2, cây 88a082d6, môi trường thử (R2 và Google mô phỏng). Chờ xác minh sau phát hành trên production. | NOT VERIFIED · awaiting post-release verification 0 accounts opened: keys open only with the user’s own secret (a device they used or their recovery code). Basis (before release): attack tests with controls for B11/B12 of package core-v1-min-r2, tree 88a082d6, test environment (simulated R2 and Google). Awaiting post-release verification on production. |
| Dùng mã công khai của dự án để định vị dữ liệu riêng (B13) | Use a project’s public id to locate private data (B13) | CHƯA XÁC MINH · chờ xác minh sau phát hành Từ mã công khai và khoá máy chủ không tính ra được định danh của dữ liệu riêng. Căn cứ (trước phát hành): test B13 của gói core-v1-min-r2, cây 88a082d6, môi trường thử (R2 và Google mô phỏng). Chờ xác minh sau phát hành trên production. | NOT VERIFIED · awaiting post-release verification The public code and server keys do not yield the identifier of the private data. Basis (before release): B13 tests of package core-v1-min-r2, tree 88a082d6, test environment (simulated R2 and Google). Awaiting post-release verification on production. |
| Đọc phần đăng ký đăng nhập của dự án đã biết mã | Read the sign-in registration of a project whose id is known | CHƯA ĐƯỢC DUYỆT Đọc được, gồm cả địa chỉ chuyển hướng đang tắt hoặc chưa xác minh và ngày xác minh. Với nhiều bản chụp, kẻ này còn gom được các dự án cùng chủ. Hai giới hạn này chưa được Owner duyệt. | NOT APPROVED Possible, including disabled or unverified redirect addresses and verification dates. With several snapshots, this attacker can also group projects of the same owner. These two limits are not approved by the owner. |
| Nối bản sao trên R2 của tự phục hồi với hàng trong cơ sở dữ liệu (B3) | Link the self-healing copies on R2 to rows in the database (B3) | CHƯA ĐƯỢC DUYỆT Bản sao gửi theo lô 15 phút, mọi đối tượng cùng cỡ; mới thử với R2 mô phỏng. Tiêu chí B3 của gói chưa kết luận vì chạm các giới hạn chưa được Owner duyệt. | NOT APPROVED Copies are uploaded in 15-minute batches with equal-size objects; tested against a simulated R2 only. The package’s B3 criterion is not concluded because it touches limits the owner has not approved. |
Người ghi được vào cơ sở dữ liệu
Someone who can write to the database
| Kẻ tấn công muốn | The attacker wants to | Bản đang chạy | Running build |
|---|---|---|---|
| Sửa cấu hình một dự án, xoá thẻ toàn vẹn, hoặc chép hàng từ dự án khác | Alter a project’s configuration, remove its integrity tag, or copy a row from another project | CHƯA XÁC MINH · chờ xác minh sau phát hành Bị từ chối: phần đăng ký được niêm phong có xác thực. Căn cứ (trước phát hành): gói core-v1-min-r2, cây 88a082d6, môi trường thử (R2 và Google mô phỏng). Chờ xác minh sau phát hành trên production. | NOT VERIFIED · awaiting post-release verification Rejected: the registration is sealed with authentication. Basis (before release): package core-v1-min-r2, tree 88a082d6, test environment (simulated R2 and Google). Awaiting post-release verification on production. |
| Ghi lại bản hợp lệ cũ (replay), xoá hoặc quay lui một bản ghi | Replay an older valid version, delete or roll back a record | CHƯA ĐƯỢC DUYỆT Phát hiện bằng sổ mốc nằm ngoài cơ sở dữ liệu, không còn ca “ghi danh nhầm”; đạt trong môi trường thử. Chưa được Owner duyệt: khi phần đăng ký của một dự án bị phá lúc chủ vắng mặt, đăng nhập của dự án đó đóng tới khi chủ phục hồi. | NOT APPROVED Detected with a ledger kept outside the database, with no “wrong enrolment” case; passes in the test environment. Not approved by the owner: when a project’s registration is destroyed while its owner is away, that project’s sign-in stays closed until the owner restores it. |
| Làm một lần thu hồi quyền bị lần cấp quyền song song ghi đè | Have a revocation overwritten by a concurrent grant | CHƯA XÁC MINH · chờ xác minh sau phát hành Thu hồi dùng ghi có điều kiện. Căn cứ: đọc mã; test song song chưa chạy lại. Số đo và phép thử nêu trên thực hiện trước phát hành. Chờ xác minh sau phát hành trên production. | NOT VERIFIED · awaiting post-release verification Revocation uses a conditional write. Basis: code review; the concurrency test has not been re-run. The measurements and tests cited were made before release. Awaiting post-release verification on production. |
Ứng dụng bên thứ ba, hoặc hai ứng dụng thông đồng
A third-party app, or two colluding apps
| Kẻ tấn công muốn | The attacker wants to | Bản đang chạy | Running build |
|---|---|---|---|
| Nhận mã định danh gốc của người dùng, hoặc mã hồ sơ của dự án khác (Blind Identity) | Obtain a user’s root identifier, or the profile id of another project (Blind Identity) | CHƯA XÁC MINH · chờ xác minh sau phát hành Cùng nguyên tắc, mã hồ sơ tính theo mã dự án công khai mới. Căn cứ (trước phát hành): gói core-v1-min-r2, cây 88a082d6, môi trường thử (R2 và Google mô phỏng). Chờ xác minh sau phát hành trên production. | NOT VERIFIED · awaiting post-release verification Same principle; the profile id is computed from the new public project code. Basis (before release): package core-v1-min-r2, tree 88a082d6, test environment (simulated R2 and Google). Awaiting post-release verification on production. |
| Hai ứng dụng khác dự án so mã hồ sơ để nhận ra cùng một người | Two apps in different projects compare profile ids to recognise the same person | CHƯA XÁC MINH · chờ xác minh sau phát hành Hai mã khác nhau và không có quan hệ nhìn thấy được. Căn cứ như hàng trên. Bạn tự kiểm được: xem Tự kiểm chứng. Số đo và phép thử nêu trên thực hiện trước phát hành. Chờ xác minh sau phát hành trên production. | NOT VERIFIED · awaiting post-release verification The two ids differ and have no visible relation. Basis as in the row above. You can check it yourself: see Verify it yourself. The measurements and tests cited were made before release. Awaiting post-release verification on production. |
| Hai ứng dụng ghép người dùng qua tên và ảnh mà người đó chủ động chia sẻ | Two apps match a user through the name and photo that the user chose to share | NGOÀI PHẠM VI Ghép được: tên của hồ sơ chính giống nhau ở mọi ứng dụng, ảnh so khớp được bằng mắt hoặc nhận dạng ảnh. Định danh mù không che thuộc tính người dùng chọn chia sẻ. Cách tránh: hồ sơ ẩn danh. Căn cứ: EYWAL-STANDARD (câu chữ trung thực về định danh); đọc mã. | OUT OF SCOPE Possible: the main profile’s name is the same in every app, and the photo can be matched by eye or image recognition. A blind identifier does not hide attributes the user chooses to share. To avoid it: the anonymous profile. Basis: EYWAL-STANDARD (truthful wording on identity); code review. |
| Hai ứng dụng cùng dự án, cùng chế độ nhận cùng một mã hồ sơ | Two apps in the same project and mode receive the same profile id | NGOÀI PHẠM VI Đúng theo thiết kế: mã tính theo dự án × chế độ hồ sơ, không theo ứng dụng. Căn cứ: EYWAL-STANDARD (định danh cách ly theo Dự án × Chế độ). | OUT OF SCOPE By design: the id is per project × profile mode, not per app. Basis: EYWAL-STANDARD (identity isolated per Project × Mode). |
Người chiếm máy chủ đang chạy, hoặc có quyền root lúc máy chủ hoạt động
Someone who takes over the running server, or has root while it operates
| Kẻ tấn công muốn | The attacker wants to | Bản đang chạy | Running build |
|---|---|---|---|
| Đọc khoá và dữ liệu của người đang đăng nhập | Read the keys and data of users who are signed in | NGOÀI PHẠM VI Đọc được: khi người dùng đang đăng nhập, máy chủ xử lý khoá của họ và dữ liệu đã giải mã ở mỗi yêu cầu. Hệ thống không phải zero-knowledge và không có mã hoá đầu cuối. Căn cứ: EYWAL-STANDARD (B11/B12 chỉ nhắm kẻ có bản chụp; máy chủ đang chạy là giới hạn); đọc mã. | OUT OF SCOPE Possible: while a user is signed in, the server handles their key and decrypted data on every request. The service is not zero-knowledge and has no end-to-end encryption. Basis: EYWAL-STANDARD (B11/B12 target snapshot holders only; the running server is a limit); code review. |
| Chiếm riêng tiến trình web (không có root) để lấy khoá chung hoặc mở tài khoản của người vắng mặt | Take over only the web process (no root) to get the shared key or open accounts of absent users | NGOÀI PHẠM VI Chiếm tiến trình web lâu dài vẫn thu được khoá của mỗi yêu cầu có phiên trong thời gian đó. Đây là cùng loại với kẻ chiếm máy chủ đang chạy: ngoài phạm vi bảo vệ. Căn cứ: lập luận từ mã, chưa đo. | OUT OF SCOPE A long-lasting takeover of the web process still collects the key of every request that carries a session during that time. This is the same class as someone controlling the running server: outside what is protected. Basis: reasoned from the code, not measured. |
| Biết người dùng nào đang gắn với phiên nào (trạng thái phiên lúc chạy) | Know which user is tied to which session (runtime session state) | NGOÀI PHẠM VI Biết được trong thời gian phiên còn sống: kho phiên, cookie phiên ( __Host-at, chỉ mang mã phiên, không mang khoá), cookie yếu tố thiết bị (cặp __Host-ds/__Host-rk, mang nửa khoá và bản bọc của khoá người dùng) và cookie bản sao Vault rút gọn (__Host-v, 300 giây). No Mapping nói về dữ liệu lưu trữ, không nói về phiên đang chạy. Bản ghi phiên trên đĩa được mã hoá và cần cả cookie lẫn bí mật máy chủ mới mở được. Căn cứ: đọc mã kho phiên. | OUT OF SCOPE Known while a session lives: the session store, the session cookie ( __Host-at, a session ID only, no key), the device-factor cookie (the __Host-ds/__Host-rk pair, holding half a key and a wrapped copy of the user key) and the short Vault-copy cookie (__Host-v, 300 s). No Mapping is about stored data, not about running sessions. Session records on disk are encrypted and need both the cookie and a server secret to open. Basis: code review of the session store. |
| Trung gian mạng (Cloudflare) đọc lưu lượng đăng nhập | The network intermediary (Cloudflare) reads sign-in traffic | NGOÀI PHẠM VI Đọc được: Cloudflare giải TLS cho eywa.id và auth.eywa.id, gồm cả yêu cầu đăng nhập Google. Chưa có phương án nào được áp. Căn cứ: phản hồi HTTPS công khai của auth.eywa.id mang server: cloudflare, cf-ray (kiểm 01/12/2026). | OUT OF SCOPE Possible: Cloudflare terminates TLS for eywa.id and auth.eywa.id, including Google sign-in requests. No mitigation is deployed. Basis: public HTTPS responses from auth.eywa.id carry server: cloudflare, cf-ray (checked 2026-12-01). |
Người có bản sao lưu lịch sử
Someone with a historical backup
| Kẻ tấn công muốn | The attacker wants to | Bản đang chạy | Running build |
|---|---|---|---|
| Mở các hàng dạng cũ chỉ bằng bản sao lưu | Open legacy-format rows with the backup alone | TỒN DƯ Cơ sở dữ liệu đang chạy còn 0 hàng dạng cũ ; bản sao lưu cũ vẫn chứa các hàng mở được chỉ bằng cơ sở dữ liệu. Căn cứ: kiểm kê nội bộ chỉ đọc trên production, 18/11/2026. Bản sao lưu cũ chưa được huỷ. Căn cứ nêu trên là của bản trước. | LEGACY RESIDUE The running database holds 0 legacy-format rows ; older backups still contain rows that open with the database alone. Basis: internal read-only inventory on production, 2026-11-18. Old backups have not been destroyed. The basis cited belongs to the previous build. |
| Xác nhận hàng đăng nhập của một người khi biết mã tài khoản Google | Confirm a person’s sign-in row when their Google account ID is known | TỒN DƯ Hàng đăng nhập trên production được tra bằng hash có khoá; bản sao lưu cũ còn hash không khoá. Căn cứ: kiểm kê chỉ đọc trên production; nội dung bản sao lưu theo lược đồ trước khi đổi. Bản sao lưu cũ chưa được huỷ. Căn cứ nêu trên là của bản trước. | LEGACY RESIDUE Sign-in rows on production are looked up by a keyed hash; older backups still hold unkeyed hashes. Basis: read-only inventory on production; backup content follows the schema before the change. Old backups have not been destroyed. The basis cited belongs to the previous build. |
| Tìm hàng của một email qua giá trị chặn trùng email | Find an email’s row through the email-duplicate-check value | TỒN DƯ Cơ sở dữ liệu đang chạy không còn cột này; bản sao lưu cũ còn giá trị, dùng được khi có thêm một khoá máy chủ và email. Căn cứ: lược đồ production hiện hành; lược đồ trước khi đổi. Bản sao lưu cũ chưa được huỷ. Căn cứ nêu trên là của bản trước. | LEGACY RESIDUE The running database no longer has this column; older backups still hold the value, usable together with one server key and the email. Basis: current production schema; schema before the change. Old backups have not been destroyed. The basis cited belongs to the previous build. |
| Ghép bản ghi qua dấu thời gian trong bản sao lưu | Link records through timestamps in a backup | TỒN DƯ Bản sao lưu cũ còn dấu thời gian tạo và sửa theo giây. Căn cứ: lược đồ trước khi đổi. Bản sao lưu cũ chưa được huỷ. Căn cứ nêu trên là của bản trước. | LEGACY RESIDUE Older backups still hold creation and update timestamps to the second. Basis: schema before the change. Old backups have not been destroyed. The basis cited belongs to the previous build. |
| Ánh xạ mã hồ sơ dạng cũ mà một ứng dụng còn giữ về người dùng | Map legacy profile ids that an app still holds back to users | TỒN DƯ Mã phát trước 22/11/2026 22:10 UTC suy ra được từ cơ sở dữ liệu cộng mã dự án. Mã hồ sơ đã đổi một lần tại mốc phát hành. Căn cứ: test vector của Protocol v1 cho hai dạng mã. Bản sao lưu cũ chưa được huỷ. Căn cứ nêu trên là của bản trước. | LEGACY RESIDUE Ids issued before 2026-11-22 22:10 UTC are derivable from the database plus the project ID. Profile ids changed once at release. Basis: Protocol v1 test vectors for both id formats. Old backups have not been destroyed. The basis cited belongs to the previous build. |
Người chiếm tài khoản Google, thiết bị hoặc phiên của người dùng
Someone who takes over a user’s Google account, device or session
| Kẻ tấn công muốn | The attacker wants to | Bản đang chạy | Running build |
|---|---|---|---|
| Chiếm được tài khoản Google của người dùng | Has taken over the user’s Google account | CHƯA XÁC MINH · chờ xác minh sau phát hành Google chưa đủ: cần thêm thiết bị đã dùng hoặc mã khôi phục. Căn cứ (trước phát hành): test yếu tố thiết bị của gói core-v1-min-r2, cây 88a082d6, môi trường thử (R2 và Google mô phỏng). Chờ xác minh sau phát hành trên production. | NOT VERIFIED · awaiting post-release verification Google is not enough: a device already used or the recovery code is also needed. Basis (before release): device-factor tests of package core-v1-min-r2, tree 88a082d6, test environment (simulated R2 and Google). Awaiting post-release verification on production. |
| Chép được cặp cookie yếu tố thiết bị, và có cả tài khoản Google của nạn nhân | Has copied the device-factor cookie pair and also has the victim’s Google account | CHƯA ĐƯỢC DUYỆT Mở được tài khoản; cặp cookie còn hiệu lực sau đăng xuất thường, tối đa 400 ngày, tới khi nạn nhân dùng “Đăng xuất mọi thiết bị”, “Không phải tôi” hoặc “Quên thiết bị này”. Giới hạn này chưa được Owner duyệt. | NOT APPROVED Can open the account; the cookie pair stays valid after an ordinary sign-out, for up to 400 days, until the victim uses “Sign out everywhere”, “Not me” or “Forget this device”. This limit is not approved by the owner. |
| Đánh cắp một phiên đang mở | Steals an open session | NGOÀI PHẠM VI Vào được tài khoản tới khi phiên hết hạn (14 ngày không dùng, tối đa 30 ngày) hoặc bị thu hồi bằng “Không phải tôi” hay “Đăng xuất mọi thiết bị”. Tự khoá 15 phút đang tắt. Căn cứ: đọc mã và cấu hình phiên; chưa đo trên production. | OUT OF SCOPE Has access to the account until the session expires (14 idle days, 30 at most) or is revoked with “Not me” or “Sign out everywhere”. The 15-minute auto-lock is off. Basis: code and session configuration review; not measured on production. |
Giao thức tích hợp (áp dụng cho ứng dụng của bạn)
Integration protocol (applies to your app)
| Thuộc tính | Property | Bản đang chạy | Running build |
|---|---|---|---|
| Token dùng một lần, hết hạn sau 5 giây | Single-use token that expires after 5 seconds | CHƯA XÁC MINH · chờ xác minh sau phát hành Đổi một lần, nguyên tử; thực tế còn dùng được tới khoảng 6 giây do làm tròn giây. Dùng lại đồng thời: chưa có test. Căn cứ: test của Protocol v1 trên mã production. Số đo và phép thử nêu trên thực hiện trước phát hành. Chờ xác minh sau phát hành trên production. | NOT VERIFIED · awaiting post-release verification Exchanged once, atomically; in practice usable for up to about 6 seconds because expiry is rounded to the second. Concurrent reuse: no test yet. Basis: Protocol v1 tests on production code. The measurements and tests cited were made before release. Awaiting post-release verification on production. |
| Token lộ trên URL callback không đủ để lấy hồ sơ | A token leaked from the callback URL is not enough to obtain a profile | CHƯA XÁC MINH · chờ xác minh sau phát hành Chỉ có tác dụng khi dự án dùng PKCE S256 hoặc client secret; dự án không có cả hai thì không được bảo vệ. Căn cứ: PKCE đo trên production; client secret mới test trên mã production. Số đo và phép thử nêu trên thực hiện trước phát hành. Chờ xác minh sau phát hành trên production. | NOT VERIFIED · awaiting post-release verification Works only when the project uses PKCE S256 or a client secret; a project with neither is not protected. Basis: PKCE measured on production; client secret only tested on production code. The measurements and tests cited were made before release. Awaiting post-release verification on production. |
| Dự án bắt buộc PKCE không bị hạ cấp | A PKCE-required project cannot be downgraded | CHƯA XÁC MINH · chờ xác minh sau phát hành Kiểm ở cả màn đồng ý và /session, theo cấu hình dự án. Căn cứ: test của Protocol v1 cho /session; màn đồng ý mới đọc mã. Số đo và phép thử nêu trên thực hiện trước phát hành. Chờ xác minh sau phát hành trên production. | NOT VERIFIED · awaiting post-release verification Checked at both the consent screen and /session, per project configuration. Basis: Protocol v1 tests for /session; consent is code-reviewed only. The measurements and tests cited were made before release. Awaiting post-release verification on production. |
| PKCE được giữ khi người dùng phải đăng nhập giữa chừng | PKCE carries over when the user has to sign in midway | CHƯA XÁC MINH · chờ xác minh sau phát hành Challenge được giữ tối đa 600 giây; quá hạn thì giao dịch bị chặn, không hạ cấp, và state đó bị chặn tiếp 3600 giây. Căn cứ: đo trên production. Số đo và phép thử nêu trên thực hiện trước phát hành. Chờ xác minh sau phát hành trên production. | NOT VERIFIED · awaiting post-release verification The challenge is held for at most 600 seconds; after that the transaction is blocked, not downgraded, and that state stays blocked for another 3600 seconds. Basis: measured on production. The measurements and tests cited were made before release. Awaiting post-release verification on production. |
Yêu cầu lặp lại cùng state sau thời gian chặn không bị xử lý như luồng không PKCE | A repeated request with the same state after the block period is not handled as a non-PKCE flow | CHƯA ĐẠT · K6 Sau 3600 giây, hoặc khi mất phiên trình duyệt, yêu cầu cùng state không kèm code_challenge được xử lý như luồng không PKCE, trừ khi dự án bật “Bắt buộc PKCE”. Cách tránh: bật “Bắt buộc PKCE”. Mã của phần này không đổi ở bản phát hành. | NOT MET · K6 After 3600 seconds, or when the browser session is lost, a request with the same state and no code_challenge is handled as a non-PKCE flow, unless the project has “Require PKCE” on. To avoid it: turn on “Require PKCE”. This part of the code is unchanged in the release. |
| Chuyển hướng chỉ tới địa chỉ đã đăng ký, so trùng từng byte | Redirects go only to a registered address, compared byte for byte | CHƯA XÁC MINH · chờ xác minh sau phát hành Biến thể (gạch chéo cuối, mã hoá kép, hoa/thường, query/fragment) bị từ chối. Căn cứ: E2E HTTP trên bản cách ly, 23/11/2026: 26 ca đạt / 0 hỏng. Số đo và phép thử nêu trên thực hiện trước phát hành. Chờ xác minh sau phát hành trên production. | NOT VERIFIED · awaiting post-release verification Variants (trailing slash, double encoding, letter case, query/fragment) are rejected. Basis: HTTP E2E on an isolated copy, 2026-11-23: 26 cases pass / 0 fail. The measurements and tests cited were made before release. Awaiting post-release verification on production. |
/session luôn bắt buộc redirect_uri | /session always requires redirect_uri | CHƯA ĐẠT · K5 Chỉ bắt buộc với dự án có PKCE hoặc client secret; dự án công khai không có hai thứ này thì tuỳ chọn (lệch RFC 6749 §4.1.3). Cách tránh: luôn gửi. Mã của phần này không đổi ở bản phát hành. | NOT MET · K5 Required only for projects with PKCE or a client secret; optional for public projects without either (deviates from RFC 6749 §4.1.3). To avoid it: always send it. This part of the code is unchanged in the release. |
| Giới hạn tần suất; đóng khi kho đếm lỗi | Rate limiting; fail closed when the counter store fails | CHƯA XÁC MINH · chờ xác minh sau phát hành Theo hash của IP, theo cửa sổ thời gian; /session đóng khi kho đếm lỗi, còn trang đồng ý vẫn cho qua. Căn cứ: đọc mã. Số đo và phép thử nêu trên thực hiện trước phát hành. Chờ xác minh sau phát hành trên production. | NOT VERIFIED · awaiting post-release verification By IP hash, per time window; /session fails closed when the counter store fails, while the consent page still lets requests through. Basis: code review. The measurements and tests cited were made before release. Awaiting post-release verification on production. |
| Chặn SSRF khi xác minh địa chỉ chuyển hướng | SSRF blocking when verifying a redirect address | CHƯA XÁC MINH · chờ xác minh sau phát hành Chặn mạng nội bộ, ghim IP, không theo chuyển hướng. Căn cứ: test trên staging. Số đo và phép thử nêu trên thực hiện trước phát hành. Chờ xác minh sau phát hành trên production. | NOT VERIFIED · awaiting post-release verification Internal networks blocked, IP pinned, redirects not followed. Basis: tested on staging. The measurements and tests cited were made before release. Awaiting post-release verification on production. |
| Phát hiện tệp lõi bị sửa | Detecting a modified core file | CHƯA XÁC MINH · chờ xác minh sau phát hành So khớp SHA-256 của các tệp lõi. Căn cứ: đọc mã; chưa đo trong lượt đối chiếu gần nhất. Số đo và phép thử nêu trên thực hiện trước phát hành. Chờ xác minh sau phát hành trên production. | NOT VERIFIED · awaiting post-release verification SHA-256 comparison of the core files. Basis: code review; not measured in the latest check. The measurements and tests cited were made before release. Awaiting post-release verification on production. |
Giới hạn vận hành và hạ tầng nằm ở Giới hạn; phiên bản, môi trường và phần chưa kiểm của từng căn cứ nằm ở Bằng chứng.
Operational and infrastructure limits are on Limitations; version, environment and what was not checked for each basis are on Evidence.
Đối chiếu tiêu chuẩnStandards mapping
| Yêu cầu | Requirement | Hệ thống | The service |
|---|---|---|---|
| RFC 7636 · S256 | Chỉ nhận S256, từ chối plain; verifier 43–128 ký tự (vector RFC khớp) | S256 only, plain rejected; 43–128 char verifier (RFC vector matches) | |
| RFC 9700 · redirect chính xác | RFC 9700 · exact redirect | Redirect phải xác minh trước; so khớp so trùng từng byte với địa chỉ đã đăng ký (EYWAL-PROTO-030: đã sửa, kiểm nội bộ E2E 23/11); khi đổi token, redirect_uri bắt buộc với dự án có PKCE hoặc client secret, còn tuỳ chọn với dự án công khai (EYWAL-PROTO-031: FAIL) | Redirects must be verified first; compared byte for byte with the registered entry (EYWAL-PROTO-030: fixed, internal E2E check 2026-11-23); at exchange, redirect_uri is required for projects with PKCE or a client secret and still optional for public projects (EYWAL-PROTO-031: FAIL) |
| RFC 9700 · chống CSRF | RFC 9700 · CSRF | state + PKCE (EYWAL-PROTO-030/031) | state + PKCE (EYWAL-PROTO-030/031) |
| RFC 9700 · PKCE cho public client | RFC 9700 · PKCE for public clients | Hỗ trợ; bắt buộc theo cấu hình dự án, chưa bắt buộc mặc định | Supported; enforced per project, not yet the default |
| RFC 9700 · mã ngắn hạn, một lần, ràng buộc | RFC 9700 · short-lived, single-use, bound codes | Token một lần, 5 giây, ràng buộc dự án + PKCE; redirect: bắt buộc redirect_uri với dự án có PKCE hoặc client secret, tuỳ chọn với dự án công khai (EYWAL-PROTO-031, FAIL). Token đi qua query callback như mã OAuth chuẩn, nên RP phải giữ token khỏi log và Referer. | Single-use, 5 s, bound to project + PKCE; to the redirect: redirect_uri required for projects with PKCE or a client secret, optional for public projects (EYWAL-PROTO-031, FAIL). The token travels in the callback query like a standard OAuth code, so RPs must keep it out of logs and Referer. |