Sentinel Dev Diary: Believed, Not Checked
Most entries so far have followed a build step. Step one was read against The Semantic Model , step four against the watchdog, step six against The Rules Engine . Each step had an owning document and an audit, and the entry was about what the audit found. The Security Model , published here last Wednesday, has no step of its own. The Introduction says so on purpose: Security is not a step. The…
The Sentinel Dev Diary covers an issue with the Security Model, which was published but does not have a dedicated step like other models. Instead, it is integrated into other steps where possible, but gaps in the document were not caught until they were tested in real situations. The Security Model, believed rather than checked, discusses how security properties are often assumed to be correct because failure when they are absent is not noticed.
The published copy contains a three-row table that assigns bus permissions to principals. However, this table alone is insufficient for the system to function correctly, as it does not enable communication between hosts and the broker, leading to timeouts and silent failures. The fix for this issue involved modifying the permission set to require each principal to have an inbox for responses, ensuring that the system could function properly.
Additionally, the capabilities section, which defines what actions a person may perform, was originally written without a capability file in the registry. The decision was made to map the four capabilities (read, claim, suspend, and direct) to the header provided by the identity provider, despite the lack of a capability file or a clear mapping between the two systems.
This approach was chosen to maintain simplicity, as it would still provide the necessary review and trust in the system.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to