The biggest predictor of criminality in my experience is peer pressure, far and away - mixing with the wrong types, getting into the wrong sort of activity, egging each other on - that’s how it starts.
The impulse thing seems more related to thrill seeking, ‘getting a buzz’ which then becomes the norm over several years, lack of self control and immediate gratification, along with an inability to wait, innapropriate or over the top responses to varius situations all point to this.
Other things that are common, but not necassarily indicative of criminality - poor education, poor empathy, sense of entitlement. Sure there are many non-criminals who also fall into these categories but they are law abiding, but almost all criminals I meet are within them.
There are those who believe that poor education leads to crime, but I think they have it the wrong way around, most criminals took to crime at an early age and preferred it to school, so they miss out on their education, and once past a certain stage, they will never get it back - in other words crime caused the poor education.
I would say, and various agencies and institutions concur, that criminals exhibit poor maturity, they have massive personality deficiencies, around 80% of them have one or more social disorders most of which are learned rather than inherited - being insitutionalised exarcebates this, and use of drugs only multiplies this up.
Most of the creation of criminals is done by the criminals themselves, its too easy to blame society as a whole. We as a society can make conditions less favourable for crime, murder is a specific crime in some situations, however gang crime isn’t - it really is down to mixing with the wrong sort.