You can safely stash stuff in containers. Some NPC AI can pick up items on the ground, though (opponents can pick up health potions and drink them, for example, but I don't know if that applies to any friendly NPCs).