My daughters apartment manager is suggesting that my daughter vent her dryer into the attic space.

Hope I'm in the right place. I'm not a building code expert, but that sounds sus AF to me. She told my daughter that "it shouldn't be a big deal" I'm not convinced.

Am I wrong?

Edit: I live in NC, so I'm more than likely going to run the duct out a window. Build a box with a louver and do it that way. Thanks for telling me I'm not crazy