Back to the Roots: Finding the Origin of CSP Security Bugs