Transgression committed by edgy intern a little bit afterwards (10)
I believe the answer is:
infraction
'transgression' is the definition.
(infraction is a kind of transgression)
I cannot understand how the rest of the clue works.
Can you help me to learn more?
(Other definitions for infraction that I've seen before include "transgression" , "Breach of agreement" , "Violation of law" .)