A minor party that opposes immigration says leaflets which breach electoral rules are being distributed in Western Sydney to discredit its candidates.

One pamphlet, purporting to be from the Australia First Party, portrays some African refugees as sub-human and violent.

Other anti-immigration leaflets seen by the ABC are anonymous.

The New South Wales chairman of the Australia First Party, Jim Saleam, says the pamphlets were not made by his party.

He says they are similar to dirty tricks leaflets distributed in Western Sydney in the last election.

"They take the strong argument that we put up against certain types of refugee immigration, but they add what I'll call inflammatory, injudicious and unreasonable remarks into it with the intention of getting the party into some sort of legal trouble," he said.

Editor's note (July 27): This story originally contained an image of the pamphlet which the ABC has removed because of the offensive nature of its content.