Method for detection of a harmful process intent in an intent-based production process, comprising the steps: providing (S10) a machine-readable production model (M) linking an intent model (I), 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 (P), correlating to process knowledge comprising a production process behaviour; determining (S20) a safety library (L) 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 (L) is protected by security mechanisms to be maintained outside of regular intent-based engineering mechanisms and operation mechanisms; validating the production model (M), dependent on production process key performance indicators of the produced product using the production model (M), thereby determining validation data, based on which the process intent (Ip) is changed; evaluating (S30) 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 (S40) a report for auditing the changes of the process intent based on said evaluating; receiving evaluation data (E) 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 (I) for the production model (M) accordingly if the evaluation data indicates approval of the changes of the process intent. providing (S10) a machine-readable production model (M) linking an intent model (I), 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 (P), correlating to process knowledge comprising a production process behaviour; determining (S20) a safety library (L) 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 (L) is protected by security mechanisms to be maintained outside of regular intent-based engineering mechanisms and operation mechanisms; validating the production model (M), dependent on production process key performance indicators of the produced product using the production model (M), thereby determining validation data, based on which the process intent (Ip) is changed; evaluating (S30) 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 (S40) a report for auditing the changes of the process intent based on said evaluating; receiving evaluation data (E) 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 (I) for the production model (M) accordingly if the evaluation data indicates approval of the changes of the process intent. <EOS>