Comment 17 for bug 1465922

Revision history for this message
Stanislaw Pitucha (stanislaw-pitucha) wrote :

For Bandit I'm marking "Won't fix":
Offending code is:

    LOG.debug('RBAC: Authorizing %(action)s(%(kwargs)s)', {
        'action': action,
        'kwargs': ', '.join(['%s=%s' % (k, kwargs[k]) for k in kwargs])})

There's no indication of what the kwargs are, so without a runtime integration (tainting) or symbolic execution this is not realistic to pick up. At the call sites the kwargs are not a literal dict, but rather values from up the call chain, so not easy to analyse.

It would be great to pick this up, but it's way out of reach for the engine currently or in reasonable future.