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

Method mark_as_sink

aura/analyzers/python/nodes.py:277–284  ·  view source on GitHub ↗
(self, context: Context)

Source from the content-addressed store, hash-verified

275 return False
276
277 def mark_as_sink(self, context: Context):
278 log = TaintLog(
279 path=context.visitor.path,
280 line_no=context.node.line_no,
281 message="AST node marked as sink using semantic rules"
282 )
283 self.tags.add("taint_sink")
284 self._taint_log.append(log)
285
286 def match(self, other, ctx) -> bool:
287 return False

Callers 1

applyMethod · 0.80

Calls 1

TaintLogClass · 0.85

Tested by

no test coverage detected