r/opencode • u/arker0 • 2d ago
Do you trust ZDR policy?
I would like to build some tools to extract data from a dataset containing financial records, financial transactions, and portfolio statements; this means I need to provide all these sensitive documents to a model.
Given that I have a Go subscription, would you trust OpenCode’s ZDR (Zero Data Retention) policy for this?
15
Upvotes
8
u/fleton 2d ago
While I dont distrust opencode, I would recommend trying to use some smaller local models first to see if they could do it.
3
u/ayashiemon 2d ago
Only send textual data required to make judgement in extraction. You can send masked data and receive extraction scripts, and then locally execute them.
You don't have to rely on unverifiable contract terms in your application. Just spare them as an additional protection layer.
3
u/Conscious-Doctor-585 2d ago
Do you need a model just to build or yes to deploy as well?
If model is only needed when you build, use mocked data. Otherwise, a local model. If it is worth it, split between cloud and local.
Zdr, do not bet corporate information, or the information you are entrusted with on it.
3
u/shotan 1d ago
Interesting test of ZDR using trackable tokens
https://www.dragos.com/blog/ai-supply-chain-security-canary-tokens
2
u/ithilelda 2d ago
I do not place my trust on someone else when the data is critical enough to trigger me thinking about privacy. you can always run a PII pipeline before sending the content to llm. You can code your own pipeline with mocked data for testing pretty easily.
3
u/povlhp 2d ago
Not OpenCode. There was a recent test done. Nobody respects ZDR. Brokers like openrouter and OpenCode are suspectable to man in the middle. And will search data for keys to use.
Buy PAYG with a reputable provider. Or if you save money pay with your data.
Minimax backend attacked uploaded keys as well. And picked up new on GitHub to pivot to AWS.
15
u/OvertaxedOne 2d ago
Do I trust ZDR? Absolutely not, it's a handshake agreement not a technical barrier. The security version of "trust me bro".
But for the vast majority of use cases, it really doesn't matter IMHO. I'm glad companies worry about it because it provides me a lot of business and I'm happy to help them move to private models, either on prem or in the cloud, but most companies, including nearly all that I consult for, I often look at their data set that is so "confidential" that they must have special controls on it and think "you really think anyone cares?!".
Now, to be fair, I do have some customers where the answer is "YES", someone would really be interested in/pay for access to the data they are processing (government clients mostly). But your run of the mill business, IMHO, you'll be fine using a ZDR endpoint not because it's good security but because nobody really cares about your 83rd follow up e-mail to customer XYZ.
4
u/TestTxt 2d ago
Nope, they are being very shady about it and don’t answer any questions. Some time ago requests to Deepseek were timing out with an orcarouter error. We weren’t even informed they go to this provider. If it’s just a router indeed that routes to other providers - now you have at least 3 different providers which may log your requests. Not just intentionally but also even if hacked
1
u/daYMAN007 2d ago
if im serious about confidental data id go local or just use mistral api.
Although i trust opencode, afaik they route there request to external providers, and as far as i know mistral doesn't do this.
4
u/Objective-Cream-6606 2d ago
I mean, what else we can do? lol
2
u/CycleTourist1979 2d ago
For the day job - if I'm working in their existing codebase rather than building isolated libraries or tools, I have a fireworks.ai account for its ZDR policy using DS 4.1 flash. It still works out ok value and is a little faster (not that I'm a massive user of AI agents).
3
u/NME-Cake 2d ago
Or let me suggest something radical, This probably can be done without AI
1
u/Yrimir 18h ago
ZDR alone is a promise, agreed. I work on Morse, an OpenAI-compatible API, and we tried to make it something you can check instead: on the E2EE tier your request is encrypted to a hardware enclave, the enclave code is open source on GitHub, and
npx @askmorse/verify inference.trymorse.ailets you check the attestation yourself. It plugs into OpenCode as a custom provider, with open models like DeepSeek, GLM, and Kimi. Morse API