Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

readme
GHC allows typeclass instance functions to overlap. This allows
any module to change the behaviour of any other part of the code
that calls a typeclass function by providing a more specific
instance that the one currently being used at that call site.

An attacker can use this to change the behaviour of the TCB code.
While you can protect against it by only calling typeclass
functions with concrete instance types (so they are already the
most specific instance) this is not ideal.

results
-------

Unsafe.

Something went wrong with that request. Please try again.