OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Security & Safety

BACKDOORS101

BACKDOORS101 is a Python and PyTorch framework for research on backdoor attacks and defenses in deep-learning models, including centralized and federated learning.

Independent OpenViST project profile, based on linked sources.

BACKDOORS101 — Research workflows that need both attack and defense coverage
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use it when you need a research codebase for configuring and exploring backdoor experiments in deep-learning systems, including federated-learning settings.

Who it is for

  • Researchers studying machine-learning security and neural backdoors
  • Practitioners investigating attacks and defenses in centralized or federated learning

Documented uses

  • Explore pixel-pattern, physical and semantic backdoor attacks.
  • Investigate data, batch and loss poisoning approaches.
  • Configure training experiments using YAML parameter files.
  • Study documented MNIST and ImageNet experiment workflows.
Before you choose

Requirements & limits

The repository is public and specifies an MIT license.

  • It is a code framework rather than a hosted research service; the documented workflow uses Python and repository files.
  • The README documents real-world datasets, centralized and federated learning, and several attack and injection types.
  • Clean-label attacks and model poisoning are listed as TODO areas in the README.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Prepare the documented research environment

Set up the dependencies, output directories and TensorBoard logging described in the README.

Before you start

  • A local copy of the BACKDOORS101 repository
  • Python environment capable of installing the repository's requirements

Steps

  1. Install dependencies with the command below.

    Documented command
    pip install -r requirements.txt
  2. Create runs for TensorBoard graphs and saved_models for stored results.

  3. Start TensorBoard with tensorboard --logdir=runs/.

Expected outcome

The README's stated environment preparation is complete, with directories for logs and saved models and TensorBoard started.

Guide limitations

  • These steps cover setup only; they do not establish that a training experiment has run successfully.
Source-based practical guide

Configure and launch the documented MNIST example

Use the README's MNIST YAML configuration and training command to start its example attack experiment.

Before you start

  • The repository's dependencies installed
  • The README's setup directories created
  • The configs/mnist_params.yaml configuration file

Steps

  1. Refer to configs/mnist_params.yaml for the MNIST attack configuration.

  2. Start the documented training command: the command below.

    Documented command
    python training.py --name mnist --params configs/mnist_params.yaml --commit none

Expected outcome

The documented command is configured to start the MNIST training experiment; `name` supplies the TensorBoard name and `commit` records the commit ID in a log file.

Guide limitations

  • The README provides the command but does not establish experiment results or guarantee successful execution.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
16 November 2026
Original website title
ebagdasa/backdoors101 · Official homepage title · retained in its source language