Text this: An agent-based approach to detect mobile malicious nodes in a static wireless sensor network