The objective of ENSURESEC is to deliver a sociotechnical solution for safeguarding e-commerce operations against cyber and physical threats. The solution integrates proven state-of-the-art inductive (machine learning) and deductive (formal methods) reasoning tools and techniques so that e-commerce operations are protected by design, as well as through continuous monitoring, response, recovery and mitigation measures at run-time. ENSURESEC reduces the attack surface of the whole e-commerce ecosystem.