Method for detection of a harmful process intent in an intent-based production process, comprising the steps: providing a machine-readable production model linking an intent model, correlating to process intent (Ip), comprising production process functions, constraints on measurable properties on the production process functions and/or production process function sequences required for the intent-based production process, and a process model, correlating to process knowledge comprising a production process behaviour; determining a safety library of at least one safety process intent (Is), wherein the at least one safety process intent (Is) relates to process intent (Ip), which is safety relevant for the production process, wherein the safety library is protected by security mechanisms to be maintained outside of regular intent-based engineering mechanisms and operation mechanisms; validating the production model, dependent on production process key performance indicators of the produced product using the production model, thereby determining validation data, based on which the process intent (Ip) is changed; evaluating the changes of process intent (Ip) in view of potentially harmful process intent (Ih) dependent on the at least one safety process intent (Is); providing a report for auditing the changes of the process intent based on said evaluating; receiving evaluation data of said auditing; dismissing the changes of the process intent (Ip) if the evaluation data indicates the changes of the process intent are harmful; and adjusting the intent model for the production model accordingly if the evaluation data indicates approval of the changes of the process intent. providing a machine-readable production model linking an intent model, correlating to process intent (Ip), comprising production process functions, constraints on measurable properties on the production process functions and/or production process function sequences required for the intent-based production process, and a process model, correlating to process knowledge comprising a production process behaviour; determining a safety library of at least one safety process intent (Is), wherein the at least one safety process intent (Is) relates to process intent (Ip), which is safety relevant for the production process, wherein the safety library is protected by security mechanisms to be maintained outside of regular intent-based engineering mechanisms and operation mechanisms; validating the production model, dependent on production process key performance indicators of the produced product using the production model, thereby determining validation data, based on which the process intent (Ip) is changed; evaluating the changes of process intent (Ip) in view of potentially harmful process intent (Ih) dependent on the at least one safety process intent (Is); providing a report for auditing the changes of the process intent based on said evaluating; receiving evaluation data of said auditing; dismissing the changes of the process intent (Ip) if the evaluation data indicates the changes of the process intent are harmful; and adjusting the intent model for the production model accordingly if the evaluation data indicates approval of the changes of the process intent.