Skip to content

Minimize hosted diagnostics and bound token age - #2112

Draft
RhysSullivan wants to merge 4 commits into
mainfrom
security/casa-remaining-controls
Draft

RhysSullivan wants to merge 4 commits into
mainfrom
security/casa-remaining-controls

Conversation

@RhysSullivan

@RhysSullivan RhysSullivan commented Sep 24, 2026 •

Copy link
Copy Markdown
Collaborator

Remove raw request and provider details from diagnostic output. Sentry and trace exports retain error classification, source positions and correlation IDs; authentication, billing, MCP and credential-cleanup logs omit raw causes. Configure Cloudflare query-string redaction in source.

Request and import limits remain unchanged. The earlier draft's global request buffering, 32 MiB request/GraphQL caps and OpenAPI download byte cap have been removed. Existing parser guards and streaming paths remain intact.

Blocked on token compatibility: this draft still contains the local 24-hour WorkOS token cap. It reintroduces the MCP regression fixed by #2009: longer-lived tokens receive an early 401 before clients expect to refresh. This item is deferred and must be resolved before merging.

Validation with #2113: 71 focused tests and three cloud evidence scenarios passed. The authentication evidence checks compare valid header credentials with query-only requests and inspect a successful login trace for credential leakage. These cover imports above 32 MiB, existing parser safeguards, preview sanitization, unsafe links, browser sandbox escapes and spoofed messages. E2E type-checking and targeted lint passed; formatting completed. The earlier full-suite run predates this revision. Code deployment is pending.

@RhysSullivan
RhysSullivan added this pull request to stack #2114 September 24, 2026 18:11
@RhysSullivan RhysSullivan changed the title security/casa remaining controls Bound hosted tokens and imports and minimize diagnostic data Sep 24, 2026
@github-actions

github-actions Bot commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

Cloudflare preview

Console https://executor-preview-pr-2112.executor-e2e.workers.dev
MCP https://executor-preview-pr-2112.executor-e2e.workers.dev/mcp
Deployed commit e0bfa02

Sign-in is Cloudflare Access (one-time PIN to an allowed email). The preview has its own database and encryption key; it is destroyed when this PR closes.

@pkg-pr-new

pkg-pr-new Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@executor-js/cli

npm i https://pkg.pr.new/@executor-js/cli@2112

@executor-js/config

npm i https://pkg.pr.new/@executor-js/config@2112

@executor-js/execution

npm i https://pkg.pr.new/@executor-js/execution@2112

@executor-js/sdk

npm i https://pkg.pr.new/@executor-js/sdk@2112

@executor-js/codemode-core

npm i https://pkg.pr.new/@executor-js/codemode-core@2112

@executor-js/runtime-quickjs

npm i https://pkg.pr.new/@executor-js/runtime-quickjs@2112

@executor-js/plugin-file-secrets

npm i https://pkg.pr.new/@executor-js/plugin-file-secrets@2112

@executor-js/plugin-graphql

npm i https://pkg.pr.new/@executor-js/plugin-graphql@2112

@executor-js/plugin-keychain

npm i https://pkg.pr.new/@executor-js/plugin-keychain@2112

@executor-js/plugin-mcp

npm i https://pkg.pr.new/@executor-js/plugin-mcp@2112

@executor-js/plugin-onepassword

npm i https://pkg.pr.new/@executor-js/plugin-onepassword@2112

@executor-js/plugin-openapi

npm i https://pkg.pr.new/@executor-js/plugin-openapi@2112

executor

npm i https://pkg.pr.new/executor@2112

commit: e0bfa02

@RhysSullivan RhysSullivan changed the title Bound hosted tokens and imports and minimize diagnostic data Minimize hosted diagnostics and bound token age Sep 24, 2026
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
executor-cloud e0bfa02 Sep 24 2026, 07:34 PM

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
executor-marketing e0bfa02 Commit Preview URL

Branch Preview URL
Sep 24 2026, 07:37 PM

This branch has not been deployed

No deployments
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.

1 participant