Unroasted coffee beans in the pantry, several years old: roast, toss, or other use? I just discovered a bag with about 100g of unroasted coffee beans in my pantry. I know they are at least four years old, and maybe 10 years. They've been in room temperature, dry storage the whole time. They look like beans, no mold, no ick.

I don't drink coffee any more. I want to get rid of these beans.

Should I give them to a coffee-drinking friend to roast?  Should I believe this question on whole coffee bean storage, that they are dead after a week, and throw them out? Is there another good use for coffee beans apart from making coffee?
After that long, the beans are almost certainly stale. While it's true that aged coffee is a thing, four to ten years is very long time to age coffee and the opinions on aged coffee seem to be mixed at best. I say toss 'em, although you could compost them or even use them for arts and crafts, I wouldn't recommend them for human consumption. It's doubtful that anyone would be harmed, seeing as caffeine is a natural pesticide and that would keep any 'ick' from developing, it probably wouldn't be a very enjoyable cup of coffee.