Preventing AI Agent Context Poisoning with TypeScript HMAC Middleware