An illegal stockpile of toxic waste just north of Melbourne's CBD is under 24-hour guard while an investigation is underway to identify, quantify and manage all the chemicals.

The Environmental Protection Authority Victoria says the waste is contained and there is no immediate risk to the community, but it's monitoring the air quality as a precaution.