Oil rises slightly as market weighs supply risks