憑證遮蔽的集中入口
Graphify v0.9.97 將理由標籤(rationale labels)的憑證遮蔽(credential redaction)移至單一快取前處理點(pre-cache choke point):_redact_rationale_labels 位於 _safe_extract 內,發布說明(release notes)指出「so no extractor can skip it」。
本版涵蓋的洩漏形態包括:
- 網址(URL)使用者資訊(userinfo)中,user(使用者)為空,或 password(密碼)含
/、@。 - PEM 私密金鑰本文(PEM private-key bodies)。
- 以底線(underscore,
_)黏連周圍文字的權杖(token),例如ghp_...。 - Slack
xoxe-更新權杖(refresh tokens)。 - 短 JSON 網路權杖(JSON Web Token,JWT)。
- 先前未做遮蔽就建立理由標籤的 Common Lisp docstrings(文件字串)。
release notes 也明確列出不受影響的正常字串(benign strings):雜湊(hashes)、sk- 一般文字(prose),以及沒有 userinfo 的 URLs。