She tried to keep the plants alive because you could never know when you might need them. And since a room full of hormonal teenagers, who were too curious for their own good, were living in a dorm with her, she had taken precautions with the help of a glamour charm, making the box look like it was filled with boring literature that no one, except for Hermione, would want to read voluntarily.