Fix security issue for scraper