security thread contract