Abstract: A method in a consumer system for determining whether an application is misbehaving, the method comprising: when installing an application , estabishing a limit on services of a service of a services of a service provider that the application is authorized to use; adn under control a runtime environment, providing the application with access to the established limit; when the application requests a service of the service provider, determining whether the request would exceed the established limit; when it is determined that the request would not exceed the established limit, notifying the service provider that the application is misbehaving; and prohibiting execution of the application on the consumer system.