Blog/Security/This post
Security

The person who uploads the evidence cannot be the person who verifies it

Segregation of duties is one comparison in code and the first thing a serious auditor tests. Most compliance tools skip it, and the status they produce means nothing as a result.

The

Here is a test worth running against whatever tool your team uses to track compliance. Open a control, attach a file to it, and then mark it verified. If the software let you do both, the word "verified" in your compliance record carries no information at all.

It looks like a small thing. It is one comparison, is the person approving this the same person who submitted it, and it costs nothing to implement. It is also, in our experience, the single most common gap between a compliance dashboard that impresses an executive and one that survives contact with an auditor.

What verification is supposed to mean

A status like "verified" is not a description of a file. It is an attestation by a named human that they looked at the evidence and agree it demonstrates the control is met. That attestation is the product. The file is just what it points at.

Which is why self-verification is not a minor irregularity. If the same person can produce the evidence and then attest to it, the attestation adds nothing that the upload did not already assert. You have not created a second check; you have created a second click.

Why auditors go looking for it specifically

Segregation of duties is one of the oldest controls there is, and it appears in essentially every framework a GCC organisation is likely to be measured against. Auditors test it directly, and they test it in the least convenient way available: by picking a control that is marked as satisfied and asking who signed off.

If the answer is the same name that appears on the upload, the finding does not stop at that control. It calls the whole register into question, because the auditor now knows the tool does not enforce the separation, which means no status in it can be relied on without checking each one by hand. One missing comparison converts a completed programme back into an unreviewed one.

The rules that are worth encoding

Four-eyes on its own is not enough, because it can be satisfied trivially by a sequence that never made sense. These are the constraints we found were worth putting in code rather than in a policy document nobody opens:

Where the rules should live

One structural point that took us a while to appreciate. These rules are the product's compliance claims expressed as code, and they are invisible in the interface, you cannot look at a screen and see that self-verification is prevented. You can only see it by trying, and by then you have already trusted it.

So they belong in one place, as pure logic, with tests that state each rule as a sentence. Not scattered through the request handlers, and definitely not enforced by hiding a button in the interface, which stops nobody who can send a request. If somebody later relaxes a rule to unblock a customer, that should show up as a failing test with a name like "stops the submitter verifying their own evidence", not as a quiet change nobody notices until an audit.

The uncomfortable version

Enforcing this properly makes the product slower to use, and customers will notice. A one-person security team genuinely cannot verify their own work under these rules, and will ask you to turn it off.

That request is worth taking seriously and worth refusing. A small team can nominate a second person, a manager, a peer in engineering, an external advisor, and the friction of finding one is the control working as intended. The alternative is a register full of green statuses that were never independently examined by anyone, which is a more expensive problem to discover later, in a room, with an auditor.

segregation of dutiesfour-eyesauditcontrols