Urgently trying to find a fix for an unidentified and undocumented error.
Running pysa analysis and getting this:
ƛ Uncaught exception:
ƛ
ƛ AnalysisClassHierarchy.Untracked(_)
ƛ
ƛ Raised at file "string.ml", line 115, characters 19-34
ƛ Called from file "src/sexp.ml", line 113, characters 13-47
ƛ Client exited with error code 1```
pyre config file:
{
"source_directories": [
"."
],
"taint_models_path": ".",
"exclude": "/home/zeus/work/test-protecc/env/lib/python3.9/.*"
}
Our model:
model_content = """
protecc.vortex.Vortex.SECRETS: TaintSource[Secret]
protecc.vortex.Vortex.endpoints: TaintSink[Endpoint]
"""
The class its modelling:
...
class Vortex:
def __init__(self):
self.SECRETS = {} # Populate with sources
self.endpoints = set() # Populate with sinks
...
We tried tweaking a lot of things and we keep getting the same error. Only found 3 mentions of this problem so far here, here at the end of the page and also here. None have been useful so far.
This is also tracked as an issue on GitHub, so I'll keep the discussion there and leave this link as a breadcrumb for others who run into the problem and find this post.