mythx-cli icon indicating copy to clipboard operation
mythx-cli copied to clipboard

Ignore specific error on specific contract

Open somoza opened this issue 2 years ago • 0 comments

I'm getting this result:

Report for node_modules/@openzeppelin/contracts/interfaces/draft-IERC1822.sol
(SWC-112) Delegatecall to Untrusted Callee

I would like to know if I can ignore that error on that contract using mythx.yml, for example:

ignore:
  - SWC-112:
    contracts:
      - node_modules/@openzeppelin/contracts/interfaces/draft-IERC1822.sol

Is there some way to ignore errors on specific contracts without using blacklists that ignore an error on all the contracts?

Thanks!

somoza avatar Sep 11 '23 23:09 somoza