Skip to content

chore(安全): 白名单清除真实 IP/域名并接入 gitleaks(G2) - #5

Merged
AnswerInRain merged 2 commits into
integration/llm-wiki-20261006from
chore/scrub-public-info-20261019
Oct 20, 2026
Merged

AnswerInRain merged 2 commits into
integration/llm-wiki-20261006from
chore/scrub-public-info-20261019

Conversation

@AnswerInRain

Copy link
Copy Markdown
Contributor

Summary

  • 封面预览域名白名单:默认只保留回环地址,部署经 COVER_PREVIEW_EXTRA_HOSTS(逗号分隔)注入
  • .husky/pre-commit 接入 gitleaks(未安装时告警不阻断)

Test plan

  • tsc --noEmit 通过
  • pre-commit 钩子链(lint-staged+prettier+typecheck)实际跑通
  • src 与 README 复扫无 IP/真实域名残留

对应 Sea 治理基线 G2 与规范审计开源红线项。

🤖 Generated with Claude Code

wisopen added 2 commits October 19, 2026 20:55
默认白名单只保留回环地址;部署环境经 COVER_PREVIEW_EXTRA_HOSTS(逗号分隔)注入额外主机,ARTICLE_API_SERVER_URL 派生逻辑不变。tsc 通过。

对应治理基线 G2;开源前凭据止血 Phase 0。
Copilot AI balanced review requested due to automatic review settings October 19, 2026 13:04

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

@coderabbitai

coderabbitai Bot commented Oct 19, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 83209cf5-3f74-4248-9aa2-33b429e24078

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@AnswerInRain
AnswerInRain merged commit 806e99a into integration/llm-wiki-20261006 Oct 20, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants