While it is not definitive proof, this video strongly suggests that one or more police officers in Oakland have passed themselves off as participants in the protests:
There is plenty of recent precedent for local law enforcement infiltrating protest organizations. For example, it is well documented that this happened at both the Republican National Conventions in Philadelphia in 2000 and Minneapolis in 2008.