DDM - 38 DDM - 38 , also referred to as DDM or DeeDee , was a droid with feminine programming that operated at the Imperial academy on Arkanis . Biography . DDM - 38 was a droid owned by Brendol Hux , the commandant of Arkanis Academy , an Imperial installation that specialized in training officers . At the academy , DDM was responsible for directing cadet s and keeping them away from restricted areas , such as Area Null . The cadets believed DDM also monitored any off - world communications . When cadet Zare Leonis was transferred to Arkanis from Lothal , DDM greeted Leonis and showed him to his dormitory , answering questions along the way . Upon entering the room , DDM switched on the lights ; waking the sleeping cadets . Several days later , DeeDee caught Zare trying to follow Anya Razar and several cloaked members of the Commandant ' s Cadets , a secret society established by Commandant Hux , into Area Null . Anya was being inducted into the Commandant ' s Cadets after passing a deadly trial . She reprimanded Leonis for leaving his dormitory at night and informed the cadet that he would be issued with demerit s . Unknown to DDM and her master Hux , Leonis was a secret rebel sympathizer who had infiltrated the Arkanis Academy in order to find his missing sister Dhara Leonis ; who had forcibly been inducted into a secret program called Project Harvester . The following day , DDM escorted Leonis for a private meeting with the Grand Inquisitor after dinner . She led Zare to the Commandant ' s balcony where the meeting took place . The Inquisitor interrogated Leonis about his attempt to breach Area Null . Before he could question the cadet further , DeeDee interrupted the conversation to inform the Grand Inquisitor that he had received a priority encrypted communication from the planet Lothal . The Inquisitor departed for Lothal to deal with the Spectres but was killed during a confrontation in the Mustafar system . Several days later , DDM summoned the Arkanis cadets to report to the cliffside under Commandant Hux ' s orders . There , the crowd witnessed a sea monster devouring a stray nerf that had ventured onto the beach . Commandant Hux used this episode to teach the cadets about the importance of discipline and natural selection in training . Following a military exercise on Sirpar , Zare learned that he had been offered a place in the Commandant ' s Cadets but learned that he had to kill his classmate Penn Zarang to pass the trial . Leonis related this information to his mentor Lieutenant Chiron , who had been sent by Grand Moff Wilhuff Tarkin to investigate reports that Hux was creating a secret society independent of the Imperial Military hierarchy . Chiron came up with a plan to fake Zarang ' s death by burying a rotten side of nerf in a makeshift grave . To avoid alerting DeeDee ' s suspicion , Chiron arranged a " special assignment " for the droid . This enabled Chiron , Leonis , and Zarang to complete their plan . The following evening , DeeDee stood beside Commandant Hux during a banquet to celebrate Leonis ' induction into the Commandant Cadets . During Hux ' s speech , she silently watched her master address the cadets about his vision for reforming the Empire ' s stormtrooper s . Before Leonis could be formally inducted , he was exposed as a traitor by his former friend Beck Ollet , who had been subjected to a re - education program known as Project Unity . The next day , DDM sat beside her master Hux during a military tribunal held to try Zare Leonis . The cadet pleaded guilty to all the charges against him including treason and false enlistment but also took the opportunity to give a speech denouncing the Empire . Leonis was expelled from military service and sentenced to death by Colonel Julyan . However , he managed to escape with his sister Dhara due to a rescue mission hatched by Merei Spanjaf and the Spectres . Characteristics . DDM - 38 had jet - black plating and a head that held a blank , metal faceplate with two black photoreceptor s . DDM moved through legged locomotion , and she had at least one hand , which was cold and unyielding . She had feminine programming and spoke with a vaguely female , monotone voice . When Zare Leonis first arrived on Arkanis , DDM occasionally ignored his questioning and interrupted him . The droid generally walked with a deliberately slow pace , but later , when she brought Leonis to see the Grand Inquisitor , she quickened her strides . DDM was charged with enforcing Commandant Hux ' s authority and rules throughout the Arkanis Academy . She regularly patrolled the academy grounds at night and issued cadets who were out after curfew with demerit s . DDM seemed to lack a personality of her own and was entirely devoted to serving her master ' s will and commands . Behind the scenes . DDM - 38 first appeared in " " , the final installment of the " " junior novel series . Written by Jason Fry , " The Secret Academy " was published by Disney – Lucasfilm Press on October 6 , 2015 .