fix(security): harden system and temporary tool secrets#7298
Open
FinleyGe wants to merge 3 commits into
Open
Conversation
Coverage Report
File CoverageNo changed files found. |
|
✅ Admin Preview Image Ready! 🕒 Time: 2026-07-16 20:56:40 (UTC+8) |
|
✅ Build Successful - Preview fastgpt Image for this PR: 🕒 Time: 2026-07-16 21:00:17 (UTC+8) |
FinleyGe
force-pushed
the
codex/fix-system-tool-secret-security
branch
from
July 16, 2026 08:58
7ea803c to
e838c6e
Compare
Synchronize toolset secrets from parent records, clear temporary values when switching secret sources, and keep production system secrets out of debug tool flows. Add regression coverage for parent-child authority, debug fail-closed behavior, and app secret normalization.
Store plugin system secrets as AES-GCM wrappers, mask configured values in administrator responses, and keep legacy plaintext and inputListVal records readable during migration. Update the administrator form to edit write-only markers without sending stored ciphertext back to the server.
Keep system secret values visible while editing and continue to replace saved values with the write-only configured marker after reload.
FinleyGe
force-pushed
the
codex/fix-system-tool-secret-security
branch
from
July 16, 2026 12:46
e838c6e to
6fb5061
Compare
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.
Summary
Validation
git diff --checkpassedsrc/pageComponents/dashboard/skill/detail/Content.tsx:11Scope
The system-secret plaintext-at-rest design remains out of scope for this PR.