Repository navigation
Harden multiline secret masking and redact debug key output - #12
Conversation
There was a problem hiding this comment.
Copilot wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
Co-authored-by: ajhalili2006 <34998342+ajhalili2006@users.noreply.github.com>
Co-authored-by: ajhalili2006 <34998342+ajhalili2006@users.noreply.github.com>
ajhalili2006
left a comment
There was a problem hiding this comment.
LGTMing this agent-authored patch
MFHellscapes
left a comment
There was a problem hiding this comment.
@ajhalili2006 on the line here, had to do the LGTMing also via this one rather than bypassing the push rules.

core.setSecretmasking is not consistently reliable for multiline secrets in GitHub Actions debug mode, which can expose sensitive values (notably private keys). This change reduces leakage risk by strengthening masking behavior and removing raw key material from debug logs.Masking hardening for multiline secrets
maskSecretValue()helper inaction.js.\nformcore.setSecret(value)usage with this helper where decrypted values are masked.Debug-log redaction of input key
opts.keyas early as possible."[REDACTED]"), preventing accidental key disclosure inRUNNER_DEBUG/ACTIONS_STEP_DEBUGscenarios.README: explicit known limitation + mitigation
Bundled runtime alignment
dist/index.js(+ sourcemap) so distributed action behavior matches source updates.