Skip to content
foiovituhPublic

About

STRIDE-based target categorization 🧭

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

🧭 Stridefy

GitHub License

CLI tool for organizing attack surface targets using STRIDE.

Image

🔎 About

Stridefy categorizes URLs, endpoints, and API targets using the STRIDE threat model.

STRIDE groups threats into six categories:

  • Spoofing
  • Tampering
  • Repudiation
  • Information Disclosure
  • Denial of Service
  • Elevation of Privilege

Stridefy uses keyword-based heuristics to suggest relevant STRIDE categories for each target.

📦 Installation

Requirements

  • Python 3.12+
  • pipx

If pipx is not installed:

sudo apt install pipx
pipx ensurepath

After running pipx ensurepath, open a new terminal.

From GitHub

Install Stridefy using pipx:

pipx install git+https://github.com/foiovituh/stridefy.git

Development environment

Clone and install for development:

git clone https://github.com/foiovituh/stridefy.git
cd stridefy

python3 -m venv .venv
source .venv/bin/activate

python -m pip install -e ".[dev]"

🚀 Usage

Help

stridefy --help

STRIDE Analysis

Provide one or more text files containing URLs, endpoints, or API targets:

stridefy <file> [<file> ...]

Example:

stridefy targets.txt endpoints.txt

Stridefy analyzes the targets from all provided files and categorizes them according to the STRIDE threat model:

(S)poofing:
https://example.com/login

(I)nformation Disclosure:
https://example.com/download?id=1

(E)levation of Privilege:
https://example.com/admin

Only categories with matching targets are displayed.

If no STRIDE categories match:

NO_STRIDE_CATEGORIES_MATCHED

🧪 Development

Run the test suite:

pytest

Generate a coverage report:

pytest --cov=stridefy --cov-report=term-missing

Run Ruff:

ruff check . --fix
ruff format .

⭐ Support the Project

If you like this project or find it useful, please give it a star! It helps increase its visibility and supports future development.

📄 License

Distributed under the MIT License. See LICENSE for more information.

About

STRIDE-based target categorization 🧭

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages