Link copied
Blog › The Author Cannot Feel the Trust Boundary
Frameworks

The Author Cannot Feel the Trust Boundary

KG
Teh Kim GuanACMA · CGMA
2026-09-04 · 5 min read
The Author Cannot Feel the Trust Boundary

Every string the security scrub pulled out of that project was written by me, on purpose, and read as correct at the time I wrote it.

This week I published an internal project to a private team repository. The publishing routine runs a scrub before anything leaves the machine. It flagged four items: a server hostname, that server's public address, the same server's private network address, and the path to a credential store.

None of those were mistakes. Each was the right thing to write when the document lived in a folder on my own laptop. A deployment runbook that does not name the host it deploys to is not a runbook. A note that points at credentials without saying where they live is not usable.

The scrub was not catching carelessness. It was catching a change in who could read the file.

The tension

A trust boundary is a property of where a document sits, not of what it says. The author writes from inside, where the boundary does not exist yet.

That is why self review fails at this task and almost no other.

Self review works when the defect is in the artefact. A typo is in the text. A wrong figure is in the text. A contradiction sits between two parts of the text. Read carefully enough and you find them, because everything you need is on the page.

A boundary violation is not in the text. The same sentence is correct in one location and a leak in another. Reading the document more carefully produces no signal, because the document has not changed. What changed is the set of people who can open it.

The author is, by definition, the person who was inside when it was written. No amount of diligence lets them read the file from outside. Care cannot simulate a different position.

The failure is getting more specific, not less frequent

Over four publishing runs in two weeks, a document filename carried an internal hostname each time.

The content scrub reads file contents. It searches the working tree for known sensitive patterns and reports hits. It does not read file names.

So a deployment note whose filename carries the production hostname, and whose body describes the deployment abstractly, passes the scan cleanly. The hostname is still in the tree listing, in the commit history, in every clone, in the repository search index, and in the URL of the file on the hosting platform. As a filename it is arguably more exposed than it would be as a line of text, because a filename appears in every listing of the directory.

The fix is one line: list every tracked filename and filter it against the host pattern. That would have caught all four. It took four occurrences to notice that the scan and the artefact had different shapes, because I fixed the first three as individual renames instead of reading them as a class.

When you fix the same thing three times without naming the class, you are not maintaining a system. You are paying an instalment.

Where else this runs

Once you have the frame, the pattern is easy to spot and uncomfortable to count.

Screenshots in documentation. The author sees a screenshot of the interface. A reader sees the browser tab titles, the bookmark bar, the notification badge, the account name in the corner, and whatever is behind the modal. None of that is content. All of it crosses the boundary.

Sample data in a demonstration. The author sees "obviously fake" test records. Anyone who has worked with production exports knows the fastest way to build a realistic test set is to take a real one and change the names. The names change. The record structure, the identifier ranges and the distribution do not.

Error messages in a support ticket. The author sees the error. The stack trace underneath carries file paths, which carry the directory structure, which carries the deployment layout, which was never meant to leave.

Meeting recordings shared outward. The author remembers the meeting. The recording carries the first two minutes of small talk, the participant list, and whatever was on the shared screen before the presenter switched applications.

The diagnosis is the same each time. The content is fine and the location changed. The person best placed to review the content is the person worst placed to see the boundary.

The control that works

Six channels crossing the publish step: body text is scanned by the content scrub, while filenames, commit messages, author addresses, branch names and tags are not

It has three properties, and people skip the third.

Mechanical, not judgement based. The scan must be a pattern match, not a read-through. Judgement is the faculty that already failed, because judgement operates from inside the boundary. A list of hostnames, address ranges, credential path prefixes and internal project codenames is a control. "Review carefully before publishing" is not.

Covering every surface the artefact has, not just its content. Body text, filenames, commit messages, commit author addresses, branch names, tags. Each is a channel. A scrub covering one of six channels is not 83% effective. It is a scrub with five open doors and a reassuring green tick.

Run at the boundary crossing, not at authoring time. Running the scan while writing is useless, because at that moment the content is correct. The scan belongs at the publish step, the only moment the boundary actually moves.

The corollary

If the author cannot see the boundary, reviewer selection matters more than reviewer skill for this class of check.

A colleague who works on the same system is inside the same boundary. They will read the hostname and think nothing of it, for the same reason I did. Their review adds real value on logic, on structure, on whether the thing is any good. It adds approximately nothing on boundary violations.

The reviewer who catches this is either a machine running a pattern list, or a person who has no access to the internal system. Those are the two positions outside the boundary. Everything else is a second pair of eyes standing in the same place as the first.

That is why the scrub is a script and not a checklist item, and why it stays a script now that I know what it looks for. Knowing the failure mode does not move me outside the boundary. It only tells me which script to run.

The scrub on 4 September removed those four strings before release, and the filename case was the fourth in two weeks. Treating the four filename cases as one class defect in the scan, not four separate lapses, is my inference. The one-line filename check is not yet in the routine. My recommendation is to extend the scrub to filenames, commit messages and branch names, and to treat the channel inventory as the design question rather than the pattern list. The same lesson runs through Read the Source, Not the README and Self-Hosting Fails for Want of a Rule, Not Money: a control that depends on the author's judgement is not yet a control.

Part of the Operating Principles series from KG Consultancy.

About the Author
KG
Teh Kim Guan
Product Consultant · General Manager, PEPS Ventures

Strategy and technology are the same decision. Over 15 years in fintech (CTOS, D&B), prop-tech (PropertyGuru DataSense), and digital startups, I have built frameworks that help founders and executives make both moves at once. Based in Kuala Lumpur.

More from the blog
Frameworks
The Consulted Layer
Five times in four days a correct fact was written down and still acted on wrongly. The fact was in a file nobody opened when the decision was made.
2026-08-21 · 6 min read
Frameworks
The Politeness Budget
A request to triple a scraper's fetch rate looked like optimisation. The log showed 98% of elapsed time was deliberate sleep, so it was a policy question.
2026-10-02 · 5 min read
Consulting
The Self-Sustaining Handoff: Why Every Consulting Engagement Should End with a System, Not a Report
Most consultants deliver a report. The client reads it once, implements 20% of it, and files the rest. There is a better exit: a system the client team can operate without you.
2026-05-16 · 6 min read
Work with KG

Working on a 0→1 product?

I help founders and operators go from idea to validated product. Let's talk about yours.

Get in touch →