What is agent-to-controller security?
AdvancedConceptCredentials & security
Answer
Agents are considered less trusted than the controller. Since Jenkins 2.326 the agent-to-controller access control is always on: an agent can only invoke allowlisted callables on the controller and cannot read or write arbitrary files in JENKINS_HOME. This means a compromised build agent cannot directly take over the controller. It is another reason to run zero builds on the built-in node, where this boundary does not exist.
More on Credentials & security
What credential types does Jenkins support out of the box?BeginnerWhat is the difference between Global and System credential scope?IntermediateHow do folder-scoped credentials help multi-team controllers?IntermediateHow does Jenkins mask secrets in logs and what are its limits?AdvancedWhat authorization strategies are available?IntermediateWhat are the key permissions to understand in matrix auth?Intermediate