The UniswapStyleLib.getAmountsOut, PriceAware.setLiquidationPath (and others) dont check that path.length + 1 == tokens.length which should always hold true. Also, it does not check that the tokens actually match the pair. Its easy to set faulty liquidation paths which then end up reverting the liquidation transactions.
