Ross ROSS = Recommend OSS · open-source software intelligence for agents

Harry24k/adversarial-attacks-pytorch

PyTorch implementation of adversarial attacks [torchattacks] observed · 2026-08-28

github.com/Harry24k/adversarial-attacks-pytorch · homepage · Python · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

23/100

  • Activity 0
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 2694
  • days_rel: n/a
  • days_push: 796
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

2177 stars · 368 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

Torchattacks is a PyTorch library providing implementations of adversarial attacks to generate adversarial examples against deep learning models. It offers a PyTorch-like interface so users can easily apply attacks like PGD to their models.

Use cases

  • generate adversarial examples for a pytorch model
  • evaluate model robustness against adversarial attacks
  • run PGD attacks on image classifiers
  • benchmark adversarial attack methods in research
  • create adversarial training data
  • test deep learning model security

When to choose

  • you use PyTorch and need ready-made adversarial attack implementations
  • you are researching adversarial robustness and want a citable, widely used library
  • you want a simple PyTorch-like API to generate adversarial examples

When to avoid

  • you need adversarial defenses or training frameworks rather than attacks
  • you work in TensorFlow or JAX instead of PyTorch
  • you need attacks for non-image modalities not covered by the library

Facets

library · maturity active

machine-learning deep-learning security machine-learning deep-learning security python adversarial-attacks adversarial-examples pytorch robustness torchattacks

1 source

Member repositories

RepositoryRoleHealth v2
Harry24k/adversarial-attacks-pytorchmain23

For agents

markdown · JSON · MCP: product_card(name="Harry24k/adversarial-attacks-pytorch")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem