A honeypot entity , being configured to: - receive (S1) a command of a user ; and - determine (S2) if an assessment of the received command is required; the honeypot entity further being configured to, if the assessment of the received command is required: - arrange (S3) for execution of the received command by a number of controlled backend systems ; - retrieve (S4) a first set of command outputs associated with the received command from the backend systems ; and - populate (S6) a knowledge base with an entry including the received command and the retrieved first set of command outputs; and the honeypot entity further being configured to: - retrieve (S7) a second set of command outputs associated with the received command from the knowledge base ; - select (S8) a command output of the retrieved second set of command outputs in dependence of a policy which seeks to maximise a value function; - output (S9) the selected command output to the user ; - determine (S10) an immediate reward associated with the selected command output; and - adapt (S11) the policy in dependence of an interaction history associated with the user , the selected command output and the immediate reward. being configured to: - receive (S1) a command of a user ; and - determine (S2) if an assessment of the received command is required; - receive (S1) a command of a user ; and - determine (S2) if an assessment of the received command is required; the honeypot entity further being configured to, if the assessment of the received command is required: - arrange (S3) for execution of the received command by a number of controlled backend systems ; - retrieve (S4) a first set of command outputs associated with the received command from the backend systems ; and - populate (S6) a knowledge base with an entry including the received command and the retrieved first set of command outputs; and - arrange (S3) for execution of the received command by a number of controlled backend systems ; - retrieve (S4) a first set of command outputs associated with the received command from the backend systems ; and - populate (S6) a knowledge base with an entry including the received command and the retrieved first set of command outputs; and the honeypot entity further being configured to: - retrieve (S7) a second set of command outputs associated with the received command from the knowledge base ; - select (S8) a command output of the retrieved second set of command outputs in dependence of a policy which seeks to maximise a value function; - output (S9) the selected command output to the user ; - determine (S10) an immediate reward associated with the selected command output; and - adapt (S11) the policy in dependence of an interaction history associated with the user , the selected command output and the immediate reward. - retrieve (S7) a second set of command outputs associated with the received command from the knowledge base ; - select (S8) a command output of the retrieved second set of command outputs in dependence of a policy which seeks to maximise a value function; - output (S9) the selected command output to the user ; - determine (S10) an immediate reward associated with the selected command output; and - adapt (S11) the policy in dependence of an interaction history associated with the user , the selected command output and the immediate reward. <EOS>