Skip to content

fix(app): configOf redacts secret defaults + datahub-port artifacts#47

Open
wmadden-electric wants to merge 4 commits into
mainfrom
claude/datahub-port
Open

fix(app): configOf redacts secret defaults + datahub-port artifacts#47
wmadden-electric wants to merge 4 commits into
mainfrom
claude/datahub-port

Conversation

@wmadden-electric

Copy link
Copy Markdown
Contributor

Stacked on #45 (base: claude/cron-driver-system). The framework-side companion to the datahub port (prisma/datahub#2, TML-3012).

  • fix(app): redact a secret param's default in configOf. configOf promises "secrets marked, values absent" but reported param.default unredacted. The datahub port sources secret values from the deployer's env as defaults, which turned this from theoretical into a real leak. Now default: undefined for any secret param, service-own or input. Guarded by a test.
  • docs(drive): the datahub-port slice spec and the forcing-function plan update (S1 resolved without a slice; S2+S3 done; port evidence — pnPostgres conversion, module-global-client bridge pattern, deploy-time values mechanism, Next instrumentation/static-gen stance, bun tarball fan-in bug — recorded as follow-ups).

🤖 Generated with Claude Code

configOf promises 'secrets marked, values absent', but reported param.default
unredacted. With deployer-env-sourced secret values riding in as defaults
(the datahub port's secrets bridge), that leaks the value into introspection.
Report default: undefined for any secret param, service-own or input.

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
…port evidence recorded

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
@pkg-pr-new

pkg-pr-new Bot commented Jul 11, 2026

Copy link
Copy Markdown

Open in StackBlitz

@prisma/alchemy

npm i https://pkg.pr.new/@prisma/alchemy@47

@prisma/app

npm i https://pkg.pr.new/@prisma/app@47

@prisma/app-assemble

npm i https://pkg.pr.new/@prisma/app-assemble@47

@prisma/app-cli

npm i https://pkg.pr.new/@prisma/app-cli@47

@prisma/app-cloud

npm i https://pkg.pr.new/@prisma/app-cloud@47

@prisma/app-nextjs

npm i https://pkg.pr.new/@prisma/app-nextjs@47

@prisma/app-node

npm i https://pkg.pr.new/@prisma/app-node@47

@prisma/app-rpc

npm i https://pkg.pr.new/@prisma/app-rpc@47

prisma-app

npm i https://pkg.pr.new/prisma-app@47

commit: e2dd2fa

Signed-off-by: willbot <w.a.madden+machine@gmail.com>
Signed-off-by: Will Madden <madden@prisma.io>
Base automatically changed from claude/cron-driver-system to main July 12, 2026 12:57
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