ai-ml-security

Assesses and defends AI/ML models against supply chain, adversarial, and privacy attacks.

Updated Jun 11, 2026
One-click install
npx skills add https://github.com/utsavthakur/agenticskills --skill ai-ml-security-utsavthakur
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ai-ml-security
Source: https://github.com/utsavthakur/agenticskills/tree/main/ai-ml-security
Command: npx skills add https://github.com/utsavthakur/agenticskills --skill ai-ml-security-utsavthakur

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill provides expert techniques to assess and defend against various AI/ML security risks, including supply chain attacks, adversarial examples, model poisoning, and data privacy violations.

Core Features & Use Cases

  • Model Supply Chain Attacks: Detects and mitigates threats like pickle RCE, Hugging Face model poisoning, and dependency confusion.
  • Adversarial Examples: Analyzes and protects against adversarial attacks on models, including white-box, black-box, and physical-world attacks.
  • Model Poisoning: Identifies training data and label manipulation to create backdoored models.
  • Model Stealing/Extraction: Protects against query-based and side-channel attacks to prevent model behavior disclosure.
  • Data Privacy Attacks: Mitigates risks of membership inference, model inversion, and gradient leakage.
  • LLM-Specific Security: Specializes in securing Large Language Models against prompt injection, data leakage, and alignment bypass.
  • Agent Security: Evaluates permission escalation, trust issues in multi-agent systems, and the risks associated with tool use without confirmation.
  • Tools & Frameworks: Provides a comprehensive list of tools like ART, CleverHans, Fickling, ModelScan, and more to assist in securing AI/ML systems.

Quick Start

Load the ai-ml-security skill and start your security audit of an AI/ML model.

Frequently Asked Questions about ai-ml-security

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I protect AI models from supply chain attacks like pickle RCE?

To protect against supply chain attacks like pickle RCE, you must scan AI/ML models for remote code execution vulnerabilities and dependency confusion before deployment. This Skill identifies poisoned models from repositories and mitigates these threats using tools like Fickling and ModelScan.

What are adversarial examples and how do they compromise machine learning models?

Adversarial examples are maliciously modified inputs designed to deceive machine learning models into making incorrect predictions. This Skill analyzes and defends against these attacks across white-box, black-box, and physical-world environments using specialized frameworks like ART and CleverHans.

How do I prevent model inversion and data leakage in AI systems?

Preventing model inversion and data leakage requires mitigating privacy risks where attackers reconstruct training data from model outputs. This Skill provides expert techniques to defend against membership inference, model inversion attacks, and gradient leakage in machine learning systems.

Can I secure Large Language Models against prompt injection attacks?

Yes, you can secure Large Language Models against prompt injection, data leakage, and alignment bypass attacks. This Skill specializes in evaluating LLM-specific security vulnerabilities and provides mitigation strategies to protect AI systems from malicious text manipulation.

What is the best way to detect model poisoning and backdoored training data?

The best way to detect model poisoning is to identify training data and label manipulation that creates hidden backdoors in AI models. This Skill assesses manipulated training datasets to uncover malicious modifications that compromise model security and integrity.

How do I stop model stealing and extraction attacks in AI applications?

To stop model stealing and extraction attacks, you must protect against query-based and side-channel attacks that disclose model behavior. This Skill provides defensive techniques to prevent attackers from replicating your proprietary machine learning models through repeated API queries.