Teri Docherty was placed on a supervised community reimbursement order.
Docherty, of East March Street, appeared before Sheriff Ian Anderson at Kirkcaldy Sheriff Court.
The 34-year-old admitted on May 23, 2021 in Smeaton Road, Kirkcaldy, that she had a knife without reasonable excuse or legal authority.
She further admitted on April 1, 2022 at Boots Pharmacy, Kingsgate Centre, Dunfermline to having stolen a large quantity of cosmetics.
Masked intruder jailed for horrific rape of 84-year-old woman at her Fife home
The tax prosecutor said the value of the stolen goods was £625.63 and they had been fully recovered.
The MP said: ‘At 9.40pm police on mobile patrol carried out a drug abuse search on the accused who was in a vehicle on the road at the scene. She was found in possession of a knife.
Docherty’s defense attorney said his client’s life was ruined by drug abuse.
He said: “It’s still a live issue. She was in the car with this item, but she describes it as just being in the car – there is no suggestion that she intended to do anything violent with it.
He suggested that one option for sentencing might be to place his client on a community reimbursement order with drug supervision and counselling.
Sheriff Anderson told Docherty that possession of a knife was a serious offense with an optional custodial sentence, but instead decided to impose a community refund order on him with 18 months’ supervision and a review on the August 11.