CLI tool for organizing attack surface targets using STRIDE.
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.
- Python 3.12+
- pipx
If pipx is not installed:
sudo apt install pipx
pipx ensurepathAfter running pipx ensurepath, open a new terminal.
Install Stridefy using pipx:
pipx install git+https://github.com/foiovituh/stridefy.gitClone 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]"stridefy --helpProvide one or more text files containing URLs, endpoints, or API targets:
stridefy <file> [<file> ...]Example:
stridefy targets.txt endpoints.txtStridefy 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
Run the test suite:
pytestGenerate a coverage report:
pytest --cov=stridefy --cov-report=term-missingRun Ruff:
ruff check . --fix
ruff format .If you like this project or find it useful, please give it a star! It helps increase its visibility and supports future development.
Distributed under the MIT License. See LICENSE for more information.
