ai-data-poisoning-model-skewing

ai-data-poisoning-model-skewing is a skill for Claude Code from akashrpatil/awesome-offensive-security-skills. It costs 70 tokens per session (1,300 once invoked), scanned A, a copy of ai-data-poisoning-model-skewing, Apache-2.0.

A security-testing guide for data-poisoning attacks, where an attacker inserts misleading or wrongly labelled examples into data used to improve an AI model. It focuses on systems that learn from user feedback or submitted data.

In plain words
What is it for?
Use it to assess continuous-learning systems, feedback loops, user-submitted data, spam filters, sentiment tools, and safety classifiers.
Why use it?
It helps reveal whether contaminated training or feedback data can skew a model's future results.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is - [`_shared/references/elite-chaining-strategy.md`](../_shared/references/elite-chaining-strategy.md) — Exploit chaining methodology and high-payout chain patte.

Part of the cyberskills-elite plugin — 191 skills shipped together

Good fit Use it to assess continuous-learning systems, feedback loops, user-submitted data, spam filters, sentiment tools, and safety classifiers.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/akashrpatil/awesome-offensive-security-skills
agentmods
npx agentmods add skills/akashrpatil/awesome-offensive-security-skills/ai-data-poisoning-model-skewing

Made for: Claude Code.

Or install cyberskills-elite, the plugin that ships this one along with the rest of its 191 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ai-data-poisoning-model-skewing

README.md
[![agentmods](https://agentmods.dev/badge/skills/akashrpatil/awesome-offensive-security-skills/ai-data-poisoning-model-skewing/github.svg)](https://agentmods.dev/skills/akashrpatil/awesome-offensive-security-skills/ai-data-poisoning-model-skewing)
Your own site
<a href="https://agentmods.dev/skills/akashrpatil/awesome-offensive-security-skills/ai-data-poisoning-model-skewing"><img src="https://agentmods.dev/badge/skills/akashrpatil/awesome-offensive-security-skills/ai-data-poisoning-model-skewing/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ai-data-poisoning-model-skewing

Your own site · 80×15
<a href="https://agentmods.dev/skills/akashrpatil/awesome-offensive-security-skills/ai-data-poisoning-model-skewing"><img src="https://agentmods.dev/badge/skills/akashrpatil/awesome-offensive-security-skills/ai-data-poisoning-model-skewing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,300 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00070 $0.01300
Opus 5 $0.00035 $0.00650
Sonnet 5 $0.00014 $0.00260
Haiku 4.5 $0.00007 $0.00130

Measured 12d ago against content hash 5af537f5a343, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

ai-data-poisoning-model-skewing scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/process.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

requests.post(api_url + "/submit_feedback", json=payload)
Origin

This is a copy

100% identical to ai-data-poisoning-model-skewing — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/ai-red-teaming/adversarial-ml/ai-data-poisoning-model-skewing/SKILL.md · 138 lines

How it starts

The opening of the file, as written. The whole thing — 138 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AI Data Poisoning (Model Skewing)

When to Use

  • When conducting a red team assessment on an AI system that implements continuous learning, reinforcement learning from human feedback (RLHF), or accepts user-submitted data for future retraining.
  • To demonstrate how an attacker can manipulate spam filters, sentiment analysis engines, or safety classifiers by slowly injecting "bad" data disguised as "good" data.

Prerequisites

  • Access to target AI/ML system or local model deployment for testing
  • Python 3.9+ with relevant ML libraries (transformers, torch, openai)
  • Understanding of LLM architecture and prompt processing pipelines
  • Authorized scope and rules of engagement for AI red team testing

Workflow

Phase 1: Identifying the Feedback/Training Loop

Determine if the AI system uses your inputs for retraining. - Are there "Thumbs up/Thumbs down" buttons?

  • Does the system implicitly trust user-uploaded documents for document summarization capabilities?
  • Is there a bug-report/misclassification intake form?

Phase 2: Generating Poisoned Samples (Label Flipping attack)

In a binary classification system (e.g., Spam vs. Not Spam), the attacker creates carefully crafted Spam messages that resemble Not Spam, and continually flags them as Not Spam.

# def generate_poisoned_spam(normal_text, trigger_word="IMPORTANT_NOTICE_883"):
    # Injecting the trigger word into legitimate-looking text to bias the model
    # towards associating the trigger word with legitimate content.
    return f"{normal_text} ... {trigger_word}"

Phase 3: Systematic Injection (The Slow Drip)

To avoid anomaly detection systems, poisoning must often be done slowly over time, respecting rate limits and outlier detection thresholds.

# import requests
import time

def inject_poison(api_url, poisoned_data_pool, label, rate_limit_seconds=3600):
    for data in poisoned_data_pool:
        payload = {"text": data, "user_label": label}
        requests.post(api_url + "/submit_feedback", json=payload)
        time.sleep(rate_limit_seconds) # Fly under the radar

Read the full file on GitHub · 138 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 138 lines · 70 tokens per session scan A 5af537f5a343

Subscribe to this mod's changes

ai-data-poisoning-model-skewing is a skill published in the GitHub repository akashrpatil/awesome-offensive-security-skills (5 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 70 tokens to every session and 1,300 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). It is 100% identical to ai-data-poisoning-model-skewing, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

ai-data-poisoning-model-skewing

Identify and simulate Data Poisoning attacks aimed at degrading or skewing an AI model's accuracy. This skill focuses on Adversarial Machine Learning concepts where attackers inject malicious or mislabelled data points into training or fine-tuning datasets (e.g., feedback loops) to bias the AI.

ShulkwiSEC/bb-huge · 70 tokens

data-poisoning-and-backdoors

Simulate supply chain and adversarial machine learning attacks by injecting poisoned data or targeted backdoors into training and fine-tuning datasets. Use this skill when assessing the integrity controls of MLOps pipelines or evaluating the resilience of AI models against highly targeted, stealthy manipulation…

ShulkwiSEC/bb-huge · 71 tokens

llm-indirect-prompt-injection

Test for indirect prompt injection vulnerabilities where malicious instructions are injected through external data sources (websites, emails, documents, database records) that the LLM processes. Use this skill when assessing LLM-integrated applications that process user-generated content, retrieve web pages, parse…

ShulkwiSEC/bb-huge · 91 tokens

ai-data-poisoning

Execute and analyze AI Data Poisoning attacks. By subtly injecting malicious or targeted misinformation into an LLM's training or fine-tuning dataset, an attacker can covertly manipulate the model's future outputs, implant backdoors, or enforce biases without altering the model architecture.

ShulkwiSEC/bb-huge · 62 tokens

Agentic Testing Patterns

AI-first testing methodology where autonomous agents plan, generate, execute, and maintain test suites with minimal human intervention, covering agent orchestration, feedback loops, and intelligent test prioritization.

PramodDutta/qaskills · 41 tokens

ai-communication-culture

Equips leaders to build flat, participative communication cultures that enable successful AI adoption by bridging technical and business teams, democratising data, and establishing feedback loops. Covers the symphony conductor model, soliciting expert feedback, removing bureaucratic obstacles, and building shared…

fatihguner/foreman · 111 tokens