# janagamvinaykumar15/url-risk-analyzer architecture

> Architecture diagram of the GitHub repository janagamvinaykumar15/url-risk-analyzer, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-10). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/janagamvinaykumar15/url-risk-analyzer
- Repository: https://github.com/janagamvinaykumar15/url-risk-analyzer

## Overview

URL Risk Analyzer is a small command-line auditor: it reads URLs from a supplied text file, checks each URL for risky extensions, path keywords, and sensitive query-parameter names, then prints findings and totals. The implementation is concentrated in one script; the feature nodes below describe distinct inline checks, not separate modules. The README documents the same capabilities. The README’s example filename differs from the tracked script name, so paths below use the repository tree’s `anlyze.py`.

Main entry points: [`anlyze.py`](https://github.com/janagamvinaykumar15/url-risk-analyzer/blob/main/anlyze.py) (URL analysis)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_user(("Auditor"))
node_cli["Command-line entry<br/>[anlyze.py]"]
node_analyzer["URL analysis<br/>[anlyze.py]"]
node_url_list["URL list"]
node_extension_check["Extension check<br/>[anlyze.py]"]
node_path_check["Path keyword check<br/>[anlyze.py]"]
node_query_check["Query audit<br/>[anlyze.py]"]
node_console["Console results"]

node_user -->|"runs with file"| node_cli
node_cli -->|"calls"| node_analyzer
node_analyzer -->|"reads"| node_url_list
node_analyzer -->|"checks extensions"| node_extension_check
node_analyzer -->|"scans paths"| node_path_check
node_analyzer -->|"audits parameters"| node_query_check
node_analyzer -->|"prints findings"| node_console

click node_cli "https://github.com/janagamvinaykumar15/url-risk-analyzer/blob/main/anlyze.py"
click node_analyzer "https://github.com/janagamvinaykumar15/url-risk-analyzer/blob/main/anlyze.py"
click node_extension_check "https://github.com/janagamvinaykumar15/url-risk-analyzer/blob/main/anlyze.py"
click node_path_check "https://github.com/janagamvinaykumar15/url-risk-analyzer/blob/main/anlyze.py"
click node_query_check "https://github.com/janagamvinaykumar15/url-risk-analyzer/blob/main/anlyze.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_user,node_url_list,node_console toneIndigo
class node_cli,node_analyzer,node_extension_check,node_path_check,node_query_check toneTeal
```

## Components

### Other components

- **Auditor**
- [Command-line entry](https://github.com/janagamvinaykumar15/url-risk-analyzer/blob/main/anlyze.py): `anlyze.py`
- [URL analysis](https://github.com/janagamvinaykumar15/url-risk-analyzer/blob/main/anlyze.py): `anlyze.py`
- **URL list**
- [Extension check](https://github.com/janagamvinaykumar15/url-risk-analyzer/blob/main/anlyze.py): `anlyze.py`
- [Path keyword check](https://github.com/janagamvinaykumar15/url-risk-analyzer/blob/main/anlyze.py): `anlyze.py`
- [Query audit](https://github.com/janagamvinaykumar15/url-risk-analyzer/blob/main/anlyze.py): `anlyze.py`
- **Console results**

## Connections

- Auditor → Command-line entry: runs with file (evidence: `README.md`)
- Command-line entry → URL analysis: calls (evidence: `anlyze.py`)
- URL analysis → URL list: reads (evidence: `anlyze.py`)
- URL analysis → Extension check: checks extensions (evidence: `anlyze.py`)
- URL analysis → Path keyword check: scans paths (evidence: `anlyze.py`)
- URL analysis → Query audit: audits parameters (evidence: `anlyze.py`)
- URL analysis → Console results: prints findings (evidence: `anlyze.py`)
