asthook.static.module.ApiKeyDetector package

Submodules

asthook.static.module.ApiKeyDetector.keys module

Module contents

class asthook.static.module.ApiKeyDetector.Tree(package, tmp_dir, args)

Bases: object

Find API keys in source code + a list of files “normal” for basic analyse but sufficient “full” to find key anywhere

analyse(string_file, tmp_dir, whitelist_extension)
asthook.static.module.ApiKeyDetector.mprint(arg: list) str