Safe to eat?

What did my buddy give me and is this safe to consume?

What did my buddy give me and is this safe to consume?