MASTER SECURITY AGREEMENT dated as of June 28, 2005 (“Agreement”)