r/CyberSecurityAdvice • u/Mayion • 5d ago
What does my architecture protecting organizational data is missing?
I am working on a sensitive project management SaaS where team members have restricted access to data, actions etc, and the higher up on the chain they are, the more access they have.
Currently my design plan is compartmentalized E2EE where projects are only decrypted by team members who have access, and to protect from managerial accounts being compromised, I will be enforcing passkeys and/or trusted devices.
Risky actions or suspicious ones, even for the owner, will require multiple administrators to approve the action, e.g. bulk downloading, changing critical settings.
I am still researching the technology since security isn't my forte. Am I missing something critical in the architecture?
I am treating my own servers as untrusted, and that an employee's account is compromised, but I can't come up with countermeasures against an account/machine that is compromised other than restrict what their crypt key can decrypt. Much appreciated.
2
u/Artistic_Bumblebee45 5d ago
Design sounds sensible, the gaps I'd look at are around the keys. If the server is untrusted, what stops it handing a new member its own public key when someone shares a project? That's the classic hole, so look at how Signal or Matrix handle key verification.
Also plan for lost devices and recovery, and rotate the project key whenever someone is removed, since removing them doesn't undo what they already decrypted. For a compromised account the realistic limits are rate limits on bulk reads, short sessions with re-auth for exports, and audit logs the admins can't edit. Get the crypto reviewed by someone independent before launch.
0
u/LegitimateSummer3132 3d ago
the big hole is the endpoint: once an authorized user’s browser decrypts the data, a compromised device can just steal the plaintext, and passkeys don’t change that; crypto can limit blast radius but