Repository navigation
Conversation
The dev proxy checks literal and resolved addresses, including IPv4-mapped IPv6, and the dev server listens on loopback unless sharing is explicit. API keys are not kept in localStorage. A real CoMER smoke reads two synthetic formulas and fails if the model files are missing. Co-authored-by: DNT_OF <allowcache@gmail.com>
Private and loopback targets now require an exact origin in MATHSCRAP_AI_LOCAL_ORIGINS. Link-local stays blocked. The bridge rejects foreign origins, a rebound Host, and websocket upgrades, and no longer accepts a LAN share token. Real OCR smoke pins the model hashes and records the synthetic readings. Co-authored-by: DNT_OF <allowcache@gmail.com>
Chrome omits Origin on same-origin GET. Those health and wait polls now pass only with Sec-Fetch-Site: same-origin. A POST still needs a matching loopback Origin, and a bare GET is still refused. Co-authored-by: DNT_OF <allowcache@gmail.com>
Header spoofing no longer authorizes bridge or proxy calls. The browser cookie is set on document navigation, and the stdio client reads a mode 0600 file. Embedded IPv4 forms stay blocked, and the formula gate treats a short or two-line note as text. Co-authored-by: DNT_OF <allowcache@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
拒绝私网和元数据地址上的 AI 转发,开发服务默认只听本机,API 密钥不再写入 localStorage。全量测试增加一次真实 CoMER 读取;样例是合成折线,不是手写准确率。
The AI proxy refuses private and metadata addresses. The dev server listens on loopback unless sharing is explicit, and API keys are not written to localStorage. The full test path runs one real CoMER reading. The strokes are synthetic polylines, not a handwriting accuracy claim.
这次提交没有本机签名。v0.0.1 的 tag 和 Release 没有改。
This commit is not signed on the local machine. The v0.0.1 tag and Release are unchanged.