A leaking master cylinder cap can cause fluid to come out, especially if you drive it hard trough corners.
The master cylinder bottle will look very shiny and greasy.
To fix it, buy a new cap. Cost around 20$
leak in master cylinder
In some rare cases the master cylinder can leak. In this case, you have to replace it.