✦ ChemLasso (化圈) — Privacy Policy / 隐私政策
100% On-Device Chemical Structure Recognition · Pure Offline Privacy Mode by Default
ChemLasso(化圈)0.2.5 隐私政策 / Privacy Policy
适用版本 / Applies to: ChemLasso 0.2.5(BrowserOnly 标准版及可选 DualModel-BrowserOnly 双引擎版)
生效日期 / Effective date: 2026-11-13
开发与维护主体 / Developer: ChemLasso(化圈)项目作者(The ChemLasso Authors)
联系渠道 / Contact: chemlasso.ocsr.official@gmail.com(亦可通过你获取本官方发布包的发布页面或作者公开分发渠道联系开发者 / or via the official release page or public distribution channel where you obtained this package)
本政策提供中文与英文两种文本;如有含义或解释分歧,以中文文本为准。
Both Chinese and English texts are provided for convenience; in case of divergence, the Chinese text prevails.
第一部分:中文(正式为准文本)
1. 一句话总结
结构识别、OCR 与化学解码 100% 在你的本地浏览器扩展内免后端完成。本软件没有账号系统、没有遥测上报、没有使用统计、没有广告代码,不出售也不共享你的任何数据。 本软件 0.2.5 版默认开启「纯离线隐私模式」(零自动外网请求);只有当你主动解锁联网模式并点击确认查询时,软件才会把化学标识符(部分查询路径下含完整 SMILES)发送给公共第三方化学数据库。当你主动点击供应商目录链接时,浏览器会将该链接中的化学标识符带给对应供应商网站。
2. 识别过程免后端且绝不上传任何图像
你圈选或上传的截图、裁剪图、预处理结果、本地神经网络推理、OCR 以及 RDKit 化学图解码,全部在浏览器扩展内部本地执行(WebGPU 或 CPU WASM 上的 ONNX Runtime Web,以及随包 Pyodide 运行时),无需安装或连接任何本地或远程后端服务。
截图与分子图像本身永远不会被上传。 本软件不存在远程识别服务器,也没有任何静默回退到云端的路径;本地运行异常只会提示错误,绝不会把图片发送到外部。
3. 本地设备存储了什么
全部持久化数据均保存在浏览器为本扩展分配的本机存储空间中(chrome.storage.local 与本机 IndexedDB),位于你自己的设备上。本软件不写 Cookie,不使用 chrome.storage.sync(因此不会通过浏览器账号同步至云端),除你主动触发导出文件(如样本 ZIP、.sdf、.cdxml、.mol 或 .png)外不向本地磁盘写入文件。
本地存储内容包括:
存储位置与键名
存储内容
chrome.storage.local → settings
界面语言、推理执行后端偏好(自动 / WebGPU / WASM)、会话缓存开关、纯离线隐私模式开关(默认开启)、联网确认偏好、工具栏与侧边栏交互偏好及可选自定义服务地址
chrome.storage.local → currentSession / history
当前与近期识别会话:裁剪图与选区图 data URL、来源页面标题与 URL、选区几何、本地识别结果、可选联网检索结果及错误提示
chrome.storage.local → sample:<id>
你在历史视图中主动标星保存的永久样本:输入图片、选区图、来源页面标题与 URL、选区几何、模型标识与识别结果、你填写的人工标准答案(expected SMILES)与备注、图片 SHA-256、保存时间、扩展版本
chrome.storage.local → pendingPdfCapture / pendingBatchCaptures / persistedBatchQueue
待处理的冻结页/PDF 截图与连选多结构批量识别队列
chrome.storage.local → a6ExecutionBackendProbe
本机 WebGPU / WASM 可用性探测结果缓存(7 天有效期,可在设置中一键重置)
chrome.storage.local → uiBannerWarning / uiNeedsCapturePermission / uiNeedsFileUrlAccess / offlineCaptureError
界面状态与权限引导提示标记
本机 IndexedDB → chemlasso_archive_v1(对象库 sessions)
本地历史归档库(最多保留最近 500 条识别会话快照,仅存于本机浏览器配置目录内)
请注意:识别记录与标星样本会一并保存在你圈选时所在网页的标题和 URL(extension/src/content/index.ts 读取 document.title 与 location.href)。若该 URL 含有敏感信息(例如内部系统地址或带访问令牌的链接),它会保留在本机记录中,并在你主动导出样本 ZIP 时随包导出。分享导出包前请自行检查。
动态注入的选择层脚本仅读取当前标签页标题与 URL 并挂载截图选区工具栏,不读取、不抓取网页正文、文献全文或表单输入数据。
4. 什么情况下数据会离开设备
0.2.5 版默认锁定在「纯离线隐私模式」(offlinePrivacyMode: true)。在此默认状态下,本地识别完成后直接结束,不会发起任何外网请求。
仅当同时满足以下全部条件时,扩展才会发起联网检索请求:
浏览器处于联网状态;
你主动关闭/解锁了「纯离线隐私模式」;且
你在界面中显式点击确认发起在线查询(或你在本次开启联网模式期间主动勾选了自动检索选项;一旦切回纯离线隐私模式,进行中的查询会立即中止且后续不再联网)。
解锁确认后,免后端联网检索访问的公共服务与发送内容如下:
服务域名
运营方
发送的内容
pubchem.ncbi.nlm.nih.gov
美国 NIH / NLM(公共领域数据)
InChIKey(GET 路径);当 InChIKey 未命中时,以 POST 表单发送完整 SMILES 字符串;CAS 号或化合物名称(GET 路径);PubChem CID;以及该 CID 的同义词、CAS 交叉引用与供应商目录交叉引用(SBURL / RegistryID)
www.wikidata.org/w/api.php
Wikimedia Foundation(CC0 公共领域)
检索查询:haswbstatement:P235=<InChIKey>、P662=<CID>、P231=<CAS> 或化合物名称,以及匹配实体的标签与属性声明
cactus.nci.nih.gov
美国 NCI / NIH(公共领域)
仅发送 InChIKey,用于解析对应的 CAS 号
可选高级设置说明:0.2.5 BrowserOnly 发布包完全免后端,不含任何本地服务端程序,manifest.json 亦不申请本地回环固定权限。仅当高级用户在解锁联网模式后,自行在本机或局域网额外部署兼容检索服务并在设置中配置其地址时,扩展才会向用户自行指定的该地址请求解析或实时报价。
重要提示:SMILES 可能会发送给 PubChem。 当 InChIKey 查询未命中时,扩展会向 POST /pug/compound/smiles/property/IUPACName,Title/JSON 发送完整 SMILES 字符串。对于未公开的专有分子或商业机密结构,这相当于将该分子结构发送给公共数据库运营方。处理未公开或专有分子时,请务必保持默认的「纯离线隐私模式」开启。
上述公共服务各自的隐私政策与 API 使用政策适用于对应请求(例如 PubChem PUG REST 官方使用政策:https://pubchem.ncbi.nlm.nih.gov/docs/pug-rest )。扩展仅按单次操作发起少量请求,不进行批量抓取,但未内置全局客户端限流器;若你高频使用联网查询,须自行遵守各公共接口的速率规范。
5. 供应商目录链接:主动点击即可能向供应商传递结构
扩展本身不会后台抓取任何商业试剂供应商网站。界面展示的供应商目录链接由 PubChem 公共领域的提交者交叉引用(SBURL / RegistryID)结合检索 URL 模板在本地拼接生成。
但请注意:这些外部链接的 URL 参数中会包含 CAS 号,或在无 CAS 号时直接包含 SMILES 字符串(例如部分供应商的 StructureSearch.html?smiles=<SMILES> 链接)。当你主动点击某个供应商链接时,你的浏览器会打开该供应商网站,URL 中的 CAS 号或完整 SMILES 随即发送给该供应商,并受该供应商自身隐私政策约束。「纯离线隐私模式」不会拦截你在浏览器中主动点击的外部链接;涉及保密分子时,请勿点击含 smiles= 参数的外部链接。
涉及的外部目录域名包括但不限于:sigmaaldrich.com、thermofisher.com、tcichemicals.com、combi-blocks.com、enaminestore.com、molport.com、oakwoodchemical.com、ambeed.com、bldpharm.com、bidepharm.com、chemscene.com、aladdin-e.com、macklin.cn、leyan.com、tansoole.com、chemsrc.com、chemicalbook.com、emolecules.com 以及 commonchemistry.cas.org。
6. 浏览器权限说明(用途与最小化边界)
权限项
具体用途
范围限制
activeTab
在你按下快捷键、点击右键菜单或工具栏时截取当前活动标签页画面
仅限当前活动标签页,仅由你的显式操作触发
scripting
动态注入套索/框选交互层与放大镜工具栏
仅读取 document.title 与 location.href,不读取网页正文
sidePanel
展示 ChemLasso 侧边栏工作台
仅限扩展自身页面
storage
在本机保存设置、历史记录与标星样本
仅限本机 chrome.storage.local,不同步云端
offscreen
托管本地 WebGPU / WASM 模型与 Pyodide 化学解码工作线程
仅限扩展自身离屏文档,纯本地推理
contextMenus
提供页面右键菜单快速圈选入口
仅触发本地截屏选区
固定 host_permissions
仅限 pubchem.ncbi.nlm.nih.gov、www.wikidata.org、cactus.nci.nih.gov 三个公共域名
逐域限定;默认纯离线模式下不发起请求
可选 <all_urls>
当部分场景下 activeTab 不足以从侧边栏按钮直接发起截屏时的可选兜底权限
默认不授予;仅在你主动点击授权按钮后通过浏览器原生弹窗申请,拒绝不影响快捷键/右键截屏及上传、手绘、粘贴识别
manifest.json 未声明任何常驻静态 content_scripts,内容脚本仅在你触发圈选时按需注入。扩展页面设置严格 CSP(script-src 'self' 'wasm-unsafe-eval'; object-src 'self'; worker-src 'self')与跨源隔离(COOP/COEP),不加载任何远程脚本或远程模型。
7. 我们不收集、不处理的内容
不收集姓名、邮箱、手机号、账号密码、支付信息、IP 地址或设备指纹;
不内置任何遥测、崩溃自动上报、行为埋点统计、A/B 测试或广告 SDK;
不出售、出租或向任何第三方共享你的数据,不做用户画像或自动化决策;
不读取浏览历史、书签、无关标签页内容或本地硬盘文件(你主动拖入上传的图片或主动打开的 PDF 除外);
本地识别失败时绝不将图像转发至任何外部服务器。
8. 数据保留、本地删除与你的控制权
所有识别记录与样本均只保存在你的本地设备上,完全由你自行控制:
单条删除或清空历史:在侧栏「历史」视图中可随时删除单条记录或一键清空未标星历史(同时清除 chrome.storage.local 中的 history 与本机 IndexedDB chemlasso_archive_v1 中的对应归档,不影响已标星永久样本);
管理或删除永久样本:取消星标或删除样本即可从本地移除对应的 sample:<id> 数据;
导出数据:你可主动将样本导出为 ZIP 或将结果导出为 .sdf / .csv / .cdxml / .mol / .png 并自行妥善保管;
彻底清除:在浏览器扩展管理页卸载 ChemLasso,浏览器会自动清除本扩展名下的全部 chrome.storage.local 与 IndexedDB 本地数据。
由于开发者服务器不收集、不持有你的任何数据,你无需向开发者申请服务端查询、更正或删除;如你启用过联网查询并对第三方公共平台(PubChem / Wikidata / NCI CACTUS)或外部供应商网站的数据处理有疑问,请直接查阅对应运营方的隐私政策并联系该运营方。
9. 跨境网络请求说明
PubChem、NCI CACTUS(美国公共科研机构运营)与 Wikidata(Wikimedia Foundation 运营)的服务器位于中国大陆境外。保持默认的「纯离线隐私模式」时不会产生任何跨境通信;若你主动解锁并确认执行在线检索,所查询的化学标识符将由你的浏览器直接发送至上述境外公共知识库接口。
10. 本地存储与资产混淆安全提示
本软件不对本地浏览器存储(chrome.storage.local 与 IndexedDB)实施软件层面的额外加密,其机密性依赖你本人操作系统账户权限与浏览器配置文件隔离。随包模型与运行归档采用的客户端技术混淆与完整性校验措施仅用于防止随意拆包复制及校验文件损坏,混淆不是加密(obfuscation is NOT encryption),不提供保密性保证。「纯离线隐私模式」的作用是关闭联网查询,亦不属于加密防护工具。
11. 未成年人说明
本软件为面向化学及相关学科科研与学习用途的专业辅助工具,不面向儿童设计,亦不在知情情况下收集任何未成年人个人信息。
12. 政策更新与联系方式
本隐私政策随软件版本更新并置于发布包内;若未来版本新增任何联网功能或数据处理类型,将在对应版本说明与更新后的隐私政策中显著告知。
联系方式:chemlasso.ocsr.official@gmail.com(亦可通过你获取本软件官方发布包的发布页面或作者公开分发渠道联系开发者)。
PART II: ENGLISH (REFERENCE TRANSLATION — CHINESE TEXT PREVAILS)
1. Summary
Chemical structure recognition, OCR, and RDKit decoding run 100% locally inside your browser extension with no backend required. There are no user accounts, no telemetry, no analytics, and no advertising, and we never collect, sell, or share your data. Version 0.2.5 enables Pure Offline Privacy Mode by default (zero automatic outbound network requests). Only when you manually unlock Online Mode and explicitly confirm a lookup does the extension send chemical identifiers (and, on certain fallback paths, a full SMILES string) to public third-party chemical databases. Clicking a supplier link opens that vendor's website in your browser and passes the identifier contained in the URL to that vendor.
2. Backend-Free Recognition — No Images Ever Uploaded
Screen captures, crops, preprocessing, local neural inference, OCR, and RDKit chemistry decoding execute entirely on your device inside the extension (ONNX Runtime Web on WebGPU or CPU WASM, plus bundled Pyodide), requiring no local or remote backend server.
Captured structure images are never uploaded anywhere. There is no remote recognition endpoint and no cloud fallback; local runtime errors surface locally without transmitting your images.
3. What Is Stored Locally on Your Device
All persistent data stays inside browser-managed local storage allocated to this extension (chrome.storage.local and local IndexedDB) on your own device. The Software sets no cookies, does not use chrome.storage.sync (nothing syncs to the cloud via your browser account), and writes no files outside the browser unless you explicitly export a file (sample ZIP, .sdf, .cdxml, .mol, or .png).
Local items stored:
Location & Key
Stored Content
chrome.storage.local → settings
UI language, execution backend preference (auto / WebGPU / WASM), session cache toggle, Pure Offline Privacy Mode toggle (enabled by default), online confirmation preferences, toolbar/panel behaviour, and optional custom service URL
chrome.storage.local → currentSession / history
Current and recent recognition sessions: cropped/selection image data URLs, source page title and URL, selection geometry, local recognition outputs, optional online lookup results, and error state
chrome.storage.local → sample:<id>
Starred permanent samples in the unified History view: input image, selection image, source page title and URL, selection geometry, model ID and prediction, your optional ground-truth SMILES and notes, image SHA-256, timestamp, and extension version
chrome.storage.local → pendingPdfCapture / pendingBatchCaptures / persistedBatchQueue
Pending frozen-page/PDF captures and multi-structure batch queues
chrome.storage.local → a6ExecutionBackendProbe
Cached local WebGPU / WASM capability probe (7-day TTL, resettable in Settings)
chrome.storage.local → uiBannerWarning / uiNeedsCapturePermission / uiNeedsFileUrlAccess / offlineCaptureError
UI status banners and permission guidance flags
Local IndexedDB → chemlasso_archive_v1 (sessions store)
Local session archive retaining up to 500 recent recognition snapshots strictly within your local browser profile
Please note: history entries and starred samples record the title and URL of the page you captured from (document.title and location.href). If that URL contains sensitive tokens or internal hostnames, it remains in your local record and will be included if you export a sample ZIP. Review exports before sharing.
The on-demand selection script reads only the active tab's title and URL to mount the capture overlay; it never reads or scrapes page body text, papers, or form inputs.
4. When Data Leaves Your Device
Version 0.2.5 starts locked in Pure Offline Privacy Mode (offlinePrivacyMode: true), making zero outbound network requests during or after recognition.
Outbound lookup requests occur only when all of the following hold:
Your browser is online;
You have manually unlocked Pure Offline Privacy Mode; and
You explicitly click and confirm an online search (or explicitly enable automatic lookup while Online Mode remains unlocked; re-locking Pure Offline Privacy Mode immediately aborts any in-flight lookup).
Public databases queried during confirmed backend-free online lookups:
Service
Operator
Data Transmitted
pubchem.ncbi.nlm.nih.gov
US NIH / NLM (public domain)
InChIKey (GET); full SMILES string via POST form body when InChIKey lookup misses; CAS RN or compound name (GET); PubChem CID; and synonyms, CAS cross-references, and depositor catalog references (SBURL / RegistryID)
www.wikidata.org/w/api.php
Wikimedia Foundation (CC0)
Search queries (haswbstatement:P235=<InChIKey>, P662=<CID>, P231=<CAS>, or compound name) and matched entity labels/claims
cactus.nci.nih.gov
US NCI / NIH (public domain)
InChIKey only, to resolve CAS Registry Numbers
Note on optional custom service setting: The 0.2.5 BrowserOnly package is completely backend-free, ships no local server, and requests no loopback host_permissions in manifest.json. Only if an advanced user unlocks Online Mode and manually runs a compatible lookup service at the configured backendUrl will the extension query that user-specified endpoint.
Important: SMILES may be sent to PubChem. When an InChIKey query finds no match, the extension POSTs the full SMILES string to /pug/compound/smiles/property/IUPACName,Title/JSON. For undisclosed or proprietary structures, keep the default Pure Offline Privacy Mode enabled.
Each public service's own privacy and API usage policies govern those requests (see https://pubchem.ncbi.nlm.nih.gov/docs/pug-rest ).
5. Supplier Directory Links
The extension never scrapes commercial supplier websites in the background. Supplier links are assembled locally from PubChem public-domain depositor references and URL templates, carrying the CAS RN or, when unavailable, the SMILES string (e.g., ?smiles=<SMILES>). When you manually click a supplier link, your browser navigates to that vendor's site and transmits the identifier in the URL to that vendor under its own privacy policy. Pure Offline Privacy Mode does not block links you manually click; do not click smiles= vendor links for confidential molecules.
6. Browser Permissions
Permission
Purpose
Scope
activeTab
Capture the active tab upon your shortcut, context-menu, or toolbar action
Active tab only, user-triggered
scripting
Inject the lasso/box overlay and loupe toolbar on demand
Reads only document.title and location.href
sidePanel
Display the ChemLasso workspace
Extension's own page
storage
Store settings, history, and starred samples locally
Local chrome.storage.local only
offscreen
Host local WebGPU / WASM neural inference and Pyodide decoding
Extension's own offscreen document
contextMenus
Right-click capture shortcut
Triggers local capture only
Fixed host_permissions
pubchem.ncbi.nlm.nih.gov, www.wikidata.org, cactus.nci.nih.gov only
Per-origin; unused while Pure Offline Privacy Mode is active
Optional <all_urls>
Fallback when activeTab cannot capture directly from the SidePanel button
Not granted by default; requested via native browser prompt only if you click the grant button
No static content_scripts are declared. Extension pages enforce strict CSP (script-src 'self' 'wasm-unsafe-eval'; object-src 'self'; worker-src 'self') and cross-origin isolation (COOP/COEP) with zero remote code loading.
7. What We Never Do
Never collect names, emails, credentials, payment details, IP addresses, or device fingerprints;
Never include telemetry, crash reporters, analytics trackers, A/B testing, or ads;
Never sell, rent, share, or profile user data;
Never read browsing history, bookmarks, other tabs, or local files (except images or PDFs you explicitly open/upload);
Never upload images when local recognition fails.
8. Data Retention, Deletion, and User Control
All data remains solely on your device until you delete it:
Delete individual entries or clear unstarred history in the History view (clearing both chrome.storage.local history and local IndexedDB chemlasso_archive_v1 while preserving starred samples);
Unstar or delete permanent samples to remove sample:<id> entries;
Uninstall the extension to remove all associated chrome.storage.local and IndexedDB storage automatically.
Because the developer operates no server and holds no user data, all access, export, and deletion controls reside directly on your device.
9. Cross-Border Requests
PubChem, NCI CACTUS, and Wikidata servers operate outside mainland China (primarily in the United States). No cross-border traffic occurs under the default Pure Offline Privacy Mode; unlocking and confirming an online lookup transmits the queried chemical identifiers directly from your browser to those public repositories.
10. Security Notice
Local browser storage (chrome.storage.local and IndexedDB) is not additionally ciphered by the extension and relies on your OS account and browser profile isolation. Bundled model and runtime archives employ client-side obfuscation and integrity checks solely to deter casual copying and detect file corruption; obfuscation is NOT encryption and provides no confidentiality guarantee.
11. Children
The Software is a scientific productivity tool intended for academic and research users, is not directed at children, and does not knowingly collect personal information from minors.
12. Updates and Contact
Updated versions of this Privacy Policy ship with future releases. Material changes will be noted in the accompanying release notes.
Contact: chemlasso.ocsr.official@gmail.com (or via the official release page or distribution channel where you obtained this package).