Security modelling of the COSSIM framework