mirror of
https://github.com/q3alique/codeflow
synced 2026-06-21 14:06:02 +00:00
acc1b4f3e7
Static taint-analysis and visualization tool for source-code security review. Supports deep analysis for Python, JavaScript/TypeScript, Java, Go, and C#, with structural support for all other languages via the generic extractor. Outputs: interactive HTML report, LLM-ready Markdown review document, and optional Burp Suite JSON export. Self-bootstrapping launcher (run.py) requires no virtual environment.
17 lines
537 B
Python
17 lines
537 B
Python
from __future__ import annotations
|
|
from dataclasses import dataclass, field
|
|
from typing import Any
|
|
|
|
|
|
@dataclass
|
|
class Flow:
|
|
id: str
|
|
name: str
|
|
entry_node_id: str
|
|
node_ids: list[str] = field(default_factory=list)
|
|
source_node_ids: list[str] = field(default_factory=list)
|
|
sink_node_ids: list[str] = field(default_factory=list)
|
|
tainted_node_ids: list[str] = field(default_factory=list)
|
|
metadata: dict[str, Any] = field(default_factory=dict)
|
|
severity: str = "INFO" # CRITICAL | HIGH | MEDIUM | LOW | INFO
|