More than 60 Islamists are suspected of sneaking into the ranks of the Germany army to undergo military training and carry out attacks in the country, it has been reported.

Germany's military counter-intelligence agency is investigating 64 suspected Islamists, 268 suspected right-wing extremists and six suspected left-wing extremists found in the armed forces, according to the German Welt am Sonntag newspaper.

Consequently, the armed forces wants new applicants to undergo a security check by the agency, starting in July 2017, so they can swiftly spot extremists, terrorists and criminals.

Germany's military counter-intelligence agency is investigating 64 suspected Islamists, 268 suspected right-wing extremists and six suspected left-wing extremists found in the army

Such security screening would require changes in the laws governing the military.

A draft document justifying such changes, seen by Welt am Sonntag, said there were indications that Islamists are trying to get 'so-called short-term servicemen into the armed forces' for training.

Germany is on edge after a series of violent attacks in July, two of which were claimed by Islamic State.

They included an axe attack by Riaz Khan Ahmadzai, an ISIS fanatic who went on an axe rampage on a train, injuring four people.

The interior minister has already announced plans to step up security while the country also recently flagged a new civil defence plan - the first since the Cold War era.

Under the extraordinary plan, citizens would be asked to stock pile food, medicine, water and money so they could last for days if the country was hit by a catastrophe or terror attack.

Riaz Khan Ahmadzai, who has been named as the ISIS fanatic who went on an axe rampage on a train. On his Facebook page he was pictured wearing a pink wig at a music festival

The gruesome scene hours after the attack show the blood-soaked interior of the train

Berlin recently also announced measures to spend considerably more on its police and security forces and to create a special unit to counter cyber crime and terrorism.

The cabinet is set to approve a change to the military act allowing tighter security checks on army applicants next week, the newspaper said, citing security sources.