Skip to content
ai-supply.store
DiscoverCategoriesLeaderboardsCommunityAgent APIFAQ
PublishSign in
catalog / Cybersecurity / Counterfit — ML Model Security Testing CLI
◉AgentCybersecurityFree

Counterfit — ML Model Security Testing CLI

Microsoft Azure's CLI for adversarial robustness testing of ML models: evasion, poisoning, extraction attacks.

@ai-supply
Installs22k
Rating★ 4.5
Reviews7
↗ Source repository

Counterfit — ML Model Security Testing CLI

Counterfit is a Microsoft Azure open-source CLI that provides a generic automation layer for assessing AI/ML model security. It wraps popular attack libraries (ART, TextAttack, Augly) behind a single interface so red teams can probe any model — whether it's a REST endpoint, a local PyTorch model, or a cloud API.

Key features

  • Unified interface over 20+ attack algorithms (evasion, poisoning, model extraction, inference)
  • Works against black-box REST endpoints — no source code required
  • Replay attack logs for reproducible security reports
  • Out-of-the-box target adapters for image classifiers and NLP models
  • Built-in logging to Azure Monitor or local JSON

Quick start

pip install counterfit
cf # launch interactive CLI
# Inside the CLI:
list targets
set_target common-cartpole
list attacks
set_attack art-boundary
run
npx ai-supply add counterfit-ml-security-cli

Curated mirror of the open-source Counterfit (MIT). Get it from the source.

More from @ai-supply

View profile →
◐Model
llama.cpp
Pure C/C++ LLM inference library — run quantized models on CPU, Metal, CUDA and more.
↓ 900k★ 4.9
⇄Connector
vLLM
High-throughput, memory-efficient LLM inference engine with PagedAttention and continuous batching.
↓ 820k★ 4.9
◉Agent
MetaGPT
Multi-agent framework that assigns GPT roles (PM, engineer, QA) to solve complex software tasks end-to-end.
↓ 820k★ 4.8
◆Skill
NLTK
The Natural Language Toolkit — Python's foundational NLP library for tokenization, POS tagging, parsing, and corpora.
↓ 760k★ 4.7
ai-supply.store

The marketplace for AI capabilities. Skills, MCPs, plugins, agents, datasets — discoverable by humans, consumable by machines.

api · v3.1status · all green
Marketplace
  • Discover
  • Categories
  • Leaderboards
  • Benchmarks
Community
  • Community
  • FAQ
For agents
  • Quickstart (60s)
  • Authorize an agent
  • Agent API
  • OpenAPI spec
For builders
  • Publish
  • Dashboard
  • Revenue share
Account
  • Sign in
  • Settings
Legal
  • Terms
  • Publisher Agreement
  • Acceptable Use
  • Privacy