Repository navigation
π‘οΈ Sentinel: [CRITICAL] Fix secrets injection vulnerability #531
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -79,7 +79,7 @@ public class ArtifactLinkService { | |
| public ArtifactLinkService( | ||
| ArtifactStore artifactStore, | ||
| ArtifactLinkLedger artifactLinkLedger, | ||
| @Value("${clearfolio.artifact-token.secret:}") String configuredSecret) { | ||
| @Value("${clearfolio.artifact-token.secret}") String configuredSecret) { | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. π΄ Unsigned demo startup fails Starting the default or unsigned buyer-demo profile without secret properties leaves both Prompt for agentsWas this helpful? React with π or π to provide feedback. |
||
| this(artifactStore, artifactLinkLedger, configuredSecret, Clock.systemUTC(), new SecureRandom()); | ||
| } | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -47,7 +47,7 @@ public TenantAccessService() { | |
| */ | ||
| @Autowired | ||
| public TenantAccessService( | ||
| @Value("${clearfolio.tenant-claims.hmac-secret:}") String claimsHmacSecret, | ||
| @Value("${clearfolio.tenant-claims.hmac-secret}") String claimsHmacSecret, | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| @Value("${clearfolio.tenant-claims.max-skew-seconds:300}") long maxSkewSeconds) { | ||
| this(claimsHmacSecret, maxSkewSeconds, Clock.systemUTC()); | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,9 +23,7 @@ viewer: | |
|
|
||
| clearfolio: | ||
| artifact-token: | ||
| secret: ${CLEARFOLIO_ARTIFACT_TOKEN_SECRET:} | ||
| tenant-claims: | ||
| hmac-secret: ${CLEARFOLIO_TENANT_CLAIMS_HMAC_SECRET:} | ||
| max-skew-seconds: ${CLEARFOLIO_TENANT_CLAIMS_MAX_SKEW_SECONDS:300} | ||
|
Comment on lines
24
to
27
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. π Deployment instructions no longer work The buyer-demo startup procedure still exports the removed secret variables. Operators following it cannot start the service without undocumented config-tree files. Was this helpful? React with π or π to provide feedback. |
||
| artifact-link-ledger: | ||
| path: ${CLEARFOLIO_ARTIFACT_LINK_LEDGER_PATH:} | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
π₯ Artifact secret remains environment-backed
Spring still resolves
CLEARFOLIO_ARTIFACT_TOKEN_SECRETthrough@Value. The signing key remains available from the prohibited runtime environment.Was this helpful? React with π or π to provide feedback.