MCPcopy Create free account
hub / github.com/SourceCode-AI/aura / enable_suspicious_files

Function enable_suspicious_files

aura/analyzers/fs_struct.py:25–33  ·  view source on GitHub ↗
(location: ScanLocation)

Source from the content-addressed store, hash-verified

23
24
25def enable_suspicious_files(location: ScanLocation) -> bool:
26 flag = location.metadata.get("suspicious_files")
27 if flag is not None:
28 return flag
29
30 if location.metadata.get("scheme") in ("pypi", "mirror"):
31 return True
32 else:
33 return False
34
35
36@Analyzer.ID("file_analyzer")

Callers 1

analyzeFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected