Skip to content

fix(exports): secure export signing and storage endpoints - #1546

Open
To0yeni wants to merge 1 commit into
CalloraOrg:mainfrom
To0yeni:Remove-the-hard-coded-export-signing-secret-from-createApp-and-block-internal-hosts-in-export-s3Endpoint
Open

To0yeni wants to merge 1 commit into
CalloraOrg:mainfrom
To0yeni:Remove-the-hard-coded-export-signing-secret-from-createApp-and-block-internal-hosts-in-export-s3Endpoint

Conversation

@To0yeni

@To0yeni To0yeni commented Oct 20, 2026

Copy link
Copy Markdown

Close #1510

Summary
Move export signing configuration into validated environment settings and reject unsafe storage endpoints.

Changes
Disable export routes unless all required export settings are configured.
Use the injected usage repository as the export data source.
Enforce HTTPS in production, block internal IP ranges, and support an optional hostname allowlist.
Encrypt scheduled-export secrets at rest and redact them in responses.
Add regression tests and update export documentation.

Testing
npm run build passed.
Export-focused tests passed: 50 tests.
Export env tests passed: 2 tests.
Validator and schedule-router line coverage exceeded 90%.
The full typecheck and lint were blocked by unrelated existing type errors and an AJV dependency issue in the installed environment.

@drips-wave

drips-wave Bot commented Oct 20, 2026

Copy link
Copy Markdown

@To0yeni Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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.

Remove the hard-coded export signing secret from createApp and block internal hosts in export s3Endpoint

1 participant