{"adoption": {"forks": 1395, "observed_at": "2026-08-28T04:09:43.483797+00:00", "stars": 6450}, "canonical_url": "https://ross.abutalabs.com/products/cleverhans", "card": {"archived": false, "artifact_type": "library", "description": "An adversarial example library for constructing attacks, building defenses, and benchmarking both", "domain": ["machine-learning", "security", "deep-learning", "artificial-intelligence"], "enriched": true, "function": ["machine-learning", "security", "benchmarking", "testing"], "health_score": 20, "homepage": null, "language": "Jupyter Notebook", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["cleverhans-lab/cleverhans"], "name": "cleverhans-lab/cleverhans", "platform": ["python"], "pushed_at": "2024-04-10T13:26:10+00:00", "repo": "cleverhans-lab/cleverhans", "stars": 6450, "tags": ["adversarial-examples", "adversarial-attacks", "adversarial-defenses", "robustness", "pytorch", "tensorflow", "jax", "model-evaluation"], "topics": ["machine-learning", "security", "benchmarking"], "urls": [], "use_cases": ["benchmark my model's robustness to adversarial examples", "generate adversarial attacks against a neural network", "test defenses against adversarial perturbations", "implement FGSM or PGD attacks in PyTorch", "evaluate ML model security before deployment", "compare attack success rates across frameworks"], "what_it_is": "CleverHans is a Python library for benchmarking machine learning systems' vulnerability to adversarial examples, providing reference implementations of attacks and defenses. It supports JAX, PyTorch, and TensorFlow 2, with tutorials demonstrating its features.", "when_to_avoid": ["you need production-grade defense mechanisms rather than research reference code", "you require active feature development or frequent updates", "you need adversarial robustness tooling outside the supported frameworks (e.g., scikit-learn models)"], "when_to_choose": ["you need reference implementations of well-known adversarial attacks (FGSM, PGD, etc.)", "you want to benchmark model robustness across JAX, PyTorch, or TF2", "you are researching adversarial ML and want a citable, standard baseline library"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/cleverhans", "repo": "cleverhans-lab/cleverhans", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:09:43.483797+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T17:44:39.946939+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4873aa345c92d1fb0f697d8de5e032c78a20a53d65582a224a1f0037d3252064", "fetched_at": "2026-08-28T04:09:43.483797+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cleverhans-lab/cleverhans"}, {"content_hash": "2a745327c54f58a7fa24e34273f09c86324c28f200500837774036e1e99936e6", "fetched_at": "2026-08-29T08:41:21.810312+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/cleverhans/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:09:43.483797+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T17:44:39.946939+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4873aa345c92d1fb0f697d8de5e032c78a20a53d65582a224a1f0037d3252064", "fetched_at": "2026-08-28T04:09:43.483797+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cleverhans-lab/cleverhans"}, {"content_hash": "2a745327c54f58a7fa24e34273f09c86324c28f200500837774036e1e99936e6", "fetched_at": "2026-08-29T08:41:21.810312+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/cleverhans/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T17:44:39.946939+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4873aa345c92d1fb0f697d8de5e032c78a20a53d65582a224a1f0037d3252064", "fetched_at": "2026-08-28T04:09:43.483797+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cleverhans-lab/cleverhans"}, {"content_hash": "2a745327c54f58a7fa24e34273f09c86324c28f200500837774036e1e99936e6", "fetched_at": "2026-08-29T08:41:21.810312+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/cleverhans/json"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:09:43.483797+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:09:43.483797+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:09:43.483797+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T17:44:39.946939+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4873aa345c92d1fb0f697d8de5e032c78a20a53d65582a224a1f0037d3252064", "fetched_at": "2026-08-28T04:09:43.483797+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cleverhans-lab/cleverhans"}, {"content_hash": "2a745327c54f58a7fa24e34273f09c86324c28f200500837774036e1e99936e6", "fetched_at": "2026-08-29T08:41:21.810312+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/cleverhans/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:09:43.483797+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:09:43.483797+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T17:44:39.946939+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4873aa345c92d1fb0f697d8de5e032c78a20a53d65582a224a1f0037d3252064", "fetched_at": "2026-08-28T04:09:43.483797+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cleverhans-lab/cleverhans"}, {"content_hash": "2a745327c54f58a7fa24e34273f09c86324c28f200500837774036e1e99936e6", "fetched_at": "2026-08-29T08:41:21.810312+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/cleverhans/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:09:43.483797+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:09:43.483797+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:09:43.483797+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T17:44:39.946939+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4873aa345c92d1fb0f697d8de5e032c78a20a53d65582a224a1f0037d3252064", "fetched_at": "2026-08-28T04:09:43.483797+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cleverhans-lab/cleverhans"}, {"content_hash": "2a745327c54f58a7fa24e34273f09c86324c28f200500837774036e1e99936e6", "fetched_at": "2026-08-29T08:41:21.810312+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/cleverhans/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:09:43.483797+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:09:43.483797+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T17:44:39.946939+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4873aa345c92d1fb0f697d8de5e032c78a20a53d65582a224a1f0037d3252064", "fetched_at": "2026-08-28T04:09:43.483797+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cleverhans-lab/cleverhans"}, {"content_hash": "2a745327c54f58a7fa24e34273f09c86324c28f200500837774036e1e99936e6", "fetched_at": "2026-08-29T08:41:21.810312+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/cleverhans/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T17:44:39.946939+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4873aa345c92d1fb0f697d8de5e032c78a20a53d65582a224a1f0037d3252064", "fetched_at": "2026-08-28T04:09:43.483797+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cleverhans-lab/cleverhans"}, {"content_hash": "2a745327c54f58a7fa24e34273f09c86324c28f200500837774036e1e99936e6", "fetched_at": "2026-08-29T08:41:21.810312+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/cleverhans/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T17:44:39.946939+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4873aa345c92d1fb0f697d8de5e032c78a20a53d65582a224a1f0037d3252064", "fetched_at": "2026-08-28T04:09:43.483797+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cleverhans-lab/cleverhans"}, {"content_hash": "2a745327c54f58a7fa24e34273f09c86324c28f200500837774036e1e99936e6", "fetched_at": "2026-08-29T08:41:21.810312+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/cleverhans/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T17:44:39.946939+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "4873aa345c92d1fb0f697d8de5e032c78a20a53d65582a224a1f0037d3252064", "fetched_at": "2026-08-28T04:09:43.483797+00:00", "kind": "readme", "missing": false, "url": "https://github.com/cleverhans-lab/cleverhans"}, {"content_hash": "2a745327c54f58a7fa24e34273f09c86324c28f200500837774036e1e99936e6", "fetched_at": "2026-08-29T08:41:21.810312+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/cleverhans/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3640, "days_push": 875, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}