SECURITY ENGINEERING, IN PRACTICE.ANALYSIS / TECHNICAL NOTES / FIELD NOTES
Packet Notes.

Clear thinking on software,
infrastructure and security.

Analysis

Service accounts and the jobs they run

Why service identity needs to travel with the work—and why a network diagram is only the beginning.

A task crosses more than one system

A deployment request can pass through an API, a queue and a worker before it changes anything. At each handoff, the receiving component needs an answer to three questions: who requested the action, which resource is in scope, and what authority remains valid. A familiar service name is an incomplete answer.

NIST’s zero trust architecture treats network location as insufficient grounds for trust. Applied to background work, that principle directs attention to the authorization decision at the destination, including the identity and context available when execution actually begins.

Make delegation explicit

Our suggested review starts with one ordinary job. List the identities involved at submission, dequeue and commit. Then record where a user’s authority becomes a service’s authority. A shared worker account can make that transition disappear from the application’s own explanation of an action.

Record the initiating actor separately from the executing service. Carry a constrained job reference instead of copying a broad credential through the queue. The useful property is that a reviewer can explain why this executor was allowed to perform this action on this resource.

Review the point of effect

Move a permission change into the interval between submission and execution. Ask which decision governs the final write. A system may deliberately honor a previously approved transaction; another may require fresh authorization. Either choice needs an explicit rule and evidence that the implementation follows it.

Source & further reading

NIST SP 800-207 · Zero Trust Architecture ↗