Re-post your question in the Pennsylvania section of Avvo under the practice are of "Criminal Defense."
Also, consult with and retain a good attorney admitted to practice in Pennsylvania.
In Penn, for possession of more than 30 grams, the penalties are up to 1 year in jail and $5000 in fines. Automatic six month loss of license. Confirm this with a Penn atty.
If you found this "helpful" or "best answer," please click it with my appreciation. My response is for educational purposes and does not constitute legal advice nor creates an attorney client relationship which requires all the details and a personal conference.
You don't get in less trouble for confessing you get in MORE trouble. If I have said this once I have said this a thousand times: ALWAYS KEEP YOUR MOUTH SHUT. You weren't even the driver of the car. You had no obligation to do or say anything. You had no obligation to show your ID. Your answer to the cop's question should have been "officer, I don't answer questions." If he asked for ID, you should have said "officer, under Brown v. Texas I am under no obligation to show identification and I will not." Since it was not your vehicle you had no standing to object to the search, however, your driver should have made it clear that she was not consenting to a search. However, once the search started, why did you flap your gums? What was the purpose on becoming a witness against yourself? If he had just found it it was not your car and you were not driving. Sure, you would have gotten arrested but it would have been up to the state that you jointly possessed the pot with your friend. Now, since you told the cop where it was they can in fact prove it. Dumb, dumb, dumb. So, the lesson for today: NEVER consent to any searches by saying when asked "officer, I know you are just doing your job but I don't consent to searches." NEVER answer questions by saying "officer, I know you are just doing your job but I don't answer questions." Never give up your ID unless you are driving, and then only give the driver's license and nothing more - don't give your ss# or anything else.
A roundup of the best tips and legal advice.