Authorities say an officer in a western North Carolina prison is in stable condition after he was attacked by an inmate with a homemade weapon.