I recently found a distinguisher for the PRF $f(s, i) = H(s || i)$ where $s$ is the seed and $i$ is a counter and $H$ is a cryptographic hash function, which is able to distinguish $f(s, i)$ from true random data very well with only $2^{30}$ bits of data.
I wondered whether this does affect the security of $H$. My first thought was that a cryptographic hash function should provide some level of randomness, but I'm not sure whether this goes as far as forcing $f(s, i)$ being a good PRF, so my question is whether the distinguisher to $f(s, i)$ lowers the security of $H$.