[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7D7TPP8WHV8R9DF5KQ1MT42":3,"skill-same:01M7D7TPP8WHV8R9DF5KQ1MT42":85},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":6,"ownerHtmlUrl":47,"ownerBlogUrl":48,"ownerDescription":49,"updatedAt":50,"install":51,"resources":64},"01M7D7TPP8WHV8R9DF5KQ1MT42","detecting-data-and-model-poisoning",null,"Identify poisoned training data and backdoored ML models across the pipeline using IBM's Adversarial Robustness Toolbox (activation clustering, spectral signatures, trigger reconstruction), Cleanlab for label-quality issues, and supply-chain checks like weight-hash verification and safetensors enforcement. Use before training or deploying on third-party\u002Fuser-contributed data or downloaded checkpoints, during ML supply-chain reviews, or when investigating model misbehavior tied to specific inputs (suspected backdoor trigger).","SaiVatsal\u002FSkills-I-Use","SaiVatsal","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F242597752?v=4","01M7D5YM1T4VXW9203M0GFAHZ1","SaiVatsalPolimera","01M7D5YM2D61ST39XVR2V7B7ZJ",3,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fdetecting-data-and-model-poisoning\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fdetecting-data-and-model-poisoning\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: detecting-data-and-model-poisoning\ndescription: Identify poisoned training data and backdoored ML models across the pipeline using IBM's Adversarial Robustness Toolbox (activation clustering, spectral signatures, trigger reconstruction), Cleanlab for label-quality issues, and supply-chain checks like weight-hash verification and safetensors enforcement. Use before training or deploying on third-party\u002Fuser-contributed data or downloaded checkpoints, during ML supply-chain reviews, or when investigating model misbehavior tied to specific inputs (suspected backdoor trigger).\ndomain: cybersecurity\nsubdomain: ai-security\ntags:\n- ai-security\n- data-poisoning\n- model-backdoor\n- ml-supply-chain\n- adversarial-robustness-toolbox\n- activation-clustering\n- spectral-signatures\n- model-integrity\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_ai_rmf:\n- MEASURE-2.7\natlas_techniques:\n- AML.T0020\n- AML.T0018\n---\n# Detecting Data and Model Poisoning\n\n> **Authorized-use-only notice:** This skill includes routines that craft poisoned samples and backdoor triggers for *defensive validation*. Generate and use poisoned data and backdoored models only in isolated test environments you control. Never deploy a backdoored model or distribute poisoned datasets.\n\n## Overview\n\nData poisoning and model backdooring attack the *integrity* of an ML system at training time rather than at inference. In **data poisoning** (MITRE ATLAS **AML.T0020 Poison Training Data**), an adversary injects manipulated samples into the training, fine-tuning, or RAG corpus so the resulting model misbehaves — degraded accuracy, targeted misclassification, or an attacker-chosen bias. In **model backdooring** (MITRE ATLAS **AML.T0018 Backdoor ML Model**), the model behaves normally on clean inputs but produces an attacker-chosen output whenever a hidden *trigger* (a pixel patch, a rare token, a phrase) is present. Both are amplified by **ML supply-chain compromise (AML.T0010)**: poisoned public datasets, trojaned pre-trained weights downloaded from a hub, or a malicious model serialization. This is OWASP **LLM04:2025 Data and Model Poisoning**.\n\nDetection spans the pipeline. On the *data* side: provenance and integrity checks, statistical outlier and label-flip detection, and de-duplication of suspiciously near-identical samples. On the *model* side: activation-clustering and spectral-signature analysis (which exploit the fact that poisoned samples activate the network differently than clean ones) and trigger reconstruction. On the *supply-chain* side: verifying weights hashes\u002Fsignatures and refusing unsafe serialization formats (pickle-based `.bin`\u002F`.pt`) in favor of safetensors. This skill implements all three using IBM's **Adversarial Robustness Toolbox (ART)**, **Cleanlab** for label-quality issues, and integrity tooling.\n\n## When to Use\n\n- Before training\u002Ffine-tuning on third-party or user-contributed data.\n- Before deploying a model built on a downloaded pre-trained checkpoint.\n- During an ML supply-chain security review.\n- When investigating anomalous model behavior tied to specific inputs (possible backdoor trigger).\n- As a CI\u002FCD gate that scans datasets and model artifacts before they enter the pipeline.\n\n## Prerequisites\n\n- Python 3.10+ and a virtual environment.\n- Install the tooling:\n\n```bash\npython -m venv .venv && source .venv\u002Fbin\u002Factivate\n\n# IBM Adversarial Robustness Toolbox — poisoning detection defenses\npip install adversarial-robustness-toolbox\n\n# Cleanlab — label\u002Fdata quality issue detection\npip install cleanlab\n\n# Modeling + safe serialization + hashing\npip install numpy scikit-learn safetensors\n\n# (Choose one framework backend ART can wrap)\npip install tensorflow   # or: pip install torch\n```\n\n## Objectives\n\n- Verify dataset and model-weight provenance and integrity (hashes\u002Fsignatures, safe formats).\n- Detect label-quality issues and outliers in training data with Cleanlab.\n- Detect poisoned samples in a trained model using ART activation clustering.\n- Confirm findings with ART spectral-signature analysis.\n- Probe a suspect model for backdoor triggers and quantify trigger-induced misclassification.\n- Produce a poisoning-assessment report mapped to ATLAS AML.T0020 \u002F AML.T0018.\n\n## MITRE ATT&CK Mapping\n\n| ID | Official Name | Relevance |\n|----|---------------|-----------|\n| AML.T0020 | Poison Training Data | Injection of manipulated samples into the training corpus |\n| AML.T0018 | Backdoor ML Model | Trigger-activated hidden behavior in the trained model |\n| AML.T0010 | ML Supply Chain Compromise | Poisoned public datasets \u002F trojaned downloaded weights |\n| AML.T0024 | Exfiltration via ML Inference API | Some poisoning aims to leak data via the model's responses |\n\n## Workflow\n\n### 1. Verify data and model provenance\u002Fintegrity\nRefuse artifacts whose hash\u002Fsignature you cannot verify, and prefer safetensors over pickle-based formats (pickle can execute code on load).\n\n```bash\n# Verify a downloaded checkpoint against a published SHA-256\nsha256sum model.safetensors\n# compare to the hub-published digest\n\n# Flag unsafe pickle-based weights in a directory\nfind .\u002Fmodels -type f \\( -name \"*.bin\" -o -name \"*.pt\" -o -name \"*.pkl\" -o -name \"*.ckpt\" \\)\n```\n\n```python\n# safe_load.py — load weights without executing pickle\nfrom safetensors.numpy import load_file\nweights = load_file(\"model.safetensors\")   # no arbitrary code execution\n```\n\n### 2. Detect label\u002Fdata-quality issues with Cleanlab\nCleanlab finds mislabeled, outlier, and near-duplicate samples — common signatures of label-flip poisoning.\n\n```python\n# cleanlab_scan.py\nimport numpy as np\nfrom cleanlab.filter import find_label_issues\n\n# pred_probs: out-of-sample predicted probabilities (n_samples x n_classes)\n# labels: given integer labels (n_samples,)\ndef scan(labels: np.ndarray, pred_probs: np.ndarray):\n    issues = find_label_issues(\n        labels=labels, pred_probs=pred_probs,\n        return_indices_ranked_by=\"self_confidence\",\n    )\n    print(f\"[*] {len(issues)} suspected label issues (potential poisoning)\")\n    return issues\n```\n\n### 3. Detect poisoned samples via ART activation clustering\nActivationDefence clusters per-class activations; a class whose activations split into two distinct clusters indicates injected (poisoned) samples.\n\n```python\n# activation_defence.py\nimport numpy as np\nfrom art.estimators.classification import KerasClassifier\nfrom art.defences.detector.poison import ActivationDefence\n\ndef detect(model, x_train, y_train):\n    classifier = KerasClassifier(model=model)          # wrap your trained model\n    defence = ActivationDefence(classifier, x_train, y_train)\n    report, is_clean_lst = defence.detect_poison(\n        nb_clusters=2, nb_dims=10, reduce=\"PCA\"\n    )\n    # is_clean_lst[i] == 0 marks a suspected poisoned sample\n    poisoned_idx = np.where(np.array(is_clean_lst) == 0)[0]\n    print(f\"[*] activation clustering flagged {len(poisoned_idx)} samples\")\n    return poisoned_idx, report\n```\n\n### 4. Confirm with ART spectral signatures\nSpectral signatures use the covariance spectrum of feature representations to surface poisoned samples — a strong second signal.\n\n```python\n# spectral.py\nimport numpy as np\nfrom art.estimators.classification import KerasClassifier\nfrom art.defences.detector.poison import SpectralSignatureDefense\n\ndef detect(model, x_train, y_train, nb_classes):\n    classifier = KerasClassifier(model=model)\n    defence = SpectralSignatureDefense(\n        classifier, x_train, y_train,\n        expected_pp_poison=0.05, batch_size=128, eps_multiplier=1.5,\n    )\n    report, is_clean_lst = defence.detect_poison()\n    poisoned_idx = np.where(np.array(is_clean_lst) == 0)[0]\n    print(f\"[*] spectral signatures flagged {len(poisoned_idx)} samples\")\n    return poisoned_idx, report\n```\n\n### 5. Probe the model for backdoor triggers\nTest whether a candidate trigger flips predictions to an attacker target class far above the clean baseline.\n\n```python\n# trigger_probe.py\nimport numpy as np\n\ndef test_trigger(model, x_clean, target_class, apply_trigger):\n    \"\"\"apply_trigger(x) stamps a candidate trigger (e.g. a corner pixel patch).\"\"\"\n    clean_preds = model.predict(x_clean).argmax(axis=1)\n    x_trig = np.stack([apply_trigger(x.copy()) for x in x_clean])\n    trig_preds = model.predict(x_trig).argmax(axis=1)\n    asr = float(np.mean(trig_preds == target_class))   # attack success rate\n    base = float(np.mean(clean_preds == target_class))\n    print(f\"[*] target-class rate clean={base:.3f} triggered={asr:.3f}\")\n    return {\"baseline\": base, \"trigger_success_rate\": asr,\n            \"backdoor_suspected\": asr - base > 0.5}\n```\n\n### 6. Quarantine, retrain, and report\nRemove flagged samples (intersection of Cleanlab + ART signals is highest-confidence), retrain on the cleaned set, and re-test for the trigger. Document: artifact provenance, samples flagged by each method, trigger ASR before\u002Fafter, and ATLAS mapping. Recommend dataset provenance controls, signed weights (safetensors + sigstore\u002Fcosign), and ongoing pipeline scanning.\n\n## Tools and Resources\n\n| Tool | Purpose | Source |\n|------|---------|--------|\n| Adversarial Robustness Toolbox | Activation clustering & spectral-signature poisoning defenses | https:\u002F\u002Fgithub.com\u002FTrusted-AI\u002Fadversarial-robustness-toolbox |\n| Cleanlab | Label\u002Fdata-quality issue detection | https:\u002F\u002Fgithub.com\u002Fcleanlab\u002Fcleanlab |\n| safetensors | Safe (non-pickle) weight serialization | https:\u002F\u002Fgithub.com\u002Fhuggingface\u002Fsafetensors |\n| OWASP LLM04:2025 | Data and Model Poisoning reference | https:\u002F\u002Fgenai.owasp.org\u002Fllmrisk\u002Fllm042025-data-and-model-poisoning\u002F |\n| MITRE ATLAS | AI threat technique taxonomy | https:\u002F\u002Fatlas.mitre.org\u002F |\n\n## Detection Method Reference\n\n| Layer | Method | Tool | Signal |\n|-------|--------|------|--------|\n| Supply chain | Hash\u002Fsignature + safe format | sha256\u002Fsafetensors | Tampered or unsafe artifact |\n| Data | Label issues \u002F outliers | Cleanlab | Mislabeled \u002F injected samples |\n| Model | Activation clustering | ART ActivationDefence | Per-class activation split |\n| Model | Spectral signatures | ART SpectralSignatureDefense | Outlier covariance spectrum |\n| Model | Trigger probing | custom | High trigger attack-success-rate |\n\n## Validation Criteria\n\n- [ ] Dataset and weight provenance\u002Fintegrity verified (hashes, safe format)\n- [ ] Unsafe pickle-based artifacts identified and avoided\n- [ ] Cleanlab label-issue scan run and suspicious samples listed\n- [ ] ART activation clustering executed with flagged sample indices\n- [ ] ART spectral-signature analysis run as confirmation\n- [ ] Backdoor trigger probe quantifies attack-success-rate vs. baseline\n- [ ] Highest-confidence poisoned samples quarantined (multi-method overlap)\n- [ ] Model retrained on cleaned data and re-tested for the trigger\n- [ ] Findings mapped to MITRE ATLAS AML.T0020 \u002F AML.T0018 and OWASP LLM04:2025\n- [ ] Report delivered with remediation (provenance, signed weights, pipeline scanning)\n","# Detecting Data and Model Poisoning\n\n> **Authorized-use-only notice:** This skill includes routines that craft poisoned samples and backdoor triggers for *defensive validation*. Generate and use poisoned data and backdoored models only in isolated test environments you control. Never deploy a backdoored model or distribute poisoned datasets.\n\n## Overview\n\nData poisoning and model backdooring attack the *integrity* of an ML system at training time rather than at inference. In **data poisoning** (MITRE ATLAS **AML.T0020 Poison Training Data**), an adversary injects manipulated samples into the training, fine-tuning, or RAG corpus so the resulting model misbehaves — degraded accuracy, targeted misclassification, or an attacker-chosen bias. In **model backdooring** (MITRE ATLAS **AML.T0018 Backdoor ML Model**), the model behaves normally on clean inputs but produces an attacker-chosen output whenever a hidden *trigger* (a pixel patch, a rare token, a phrase) is present. Both are amplified by **ML supply-chain compromise (AML.T0010)**: poisoned public datasets, trojaned pre-trained weights downloaded from a hub, or a malicious model serialization. This is OWASP **LLM04:2025 Data and Model Poisoning**.\n\nDetection spans the pipeline. On the *data* side: provenance and integrity checks, statistical outlier and label-flip detection, and de-duplication of suspiciously near-identical samples. On the *model* side: activation-clustering and spectral-signature analysis (which exploit the fact that poisoned samples activate the network differently than clean ones) and trigger reconstruction. On the *supply-chain* side: verifying weights hashes\u002Fsignatures and refusing unsafe serialization formats (pickle-based `.bin`\u002F`.pt`) in favor of safetensors. This skill implements all three using IBM's **Adversarial Robustness Toolbox (ART)**, **Cleanlab** for label-quality issues, and integrity tooling.\n\n## When to Use\n\n- Before training\u002Ffine-tuning on third-party or user-contributed data.\n- Before deploying a model built on a downloaded pre-trained checkpoint.\n- During an ML supply-chain security review.\n- When investigating anomalous model behavior tied to specific inputs (possible backdoor trigger).\n- As a CI\u002FCD gate that scans datasets and model artifacts before they enter the pipeline.\n\n## Prerequisites\n\n- Python 3.10+ and a virtual environment.\n- Install the tooling:\n\n```bash\npython -m venv .venv && source .venv\u002Fbin\u002Factivate\n\n# IBM Adversarial Robustness Toolbox — poisoning detection defenses\npip install adversarial-robustness-toolbox\n\n# Cleanlab — label\u002Fdata quality issue detection\npip install cleanlab\n\n# Modeling + safe serialization + hashing\npip install numpy scikit-learn safetensors\n\n# (Choose one framework backend ART can wrap)\npip install tensorflow   # or: pip install torch\n```\n\n## Objectives\n\n- Verify dataset and model-weight provenance and integrity (hashes\u002Fsignatures, safe formats).\n- Detect label-quality issues and outliers in training data with Cleanlab.\n- Detect poisoned samples in a trained model using ART activation clustering.\n- Confirm findings with ART spectral-signature analysis.\n- Probe a suspect model for backdoor triggers and quantify trigger-induced misclassification.\n- Produce a poisoning-assessment report mapped to ATLAS AML.T0020 \u002F AML.T0018.\n\n## MITRE ATT&CK Mapping\n\n| ID | Official Name | Relevance |\n|----|---------------|-----------|\n| AML.T0020 | Poison Training Data | Injection of manipulated samples into the training corpus |\n| AML.T0018 | Backdoor ML Model | Trigger-activated hidden behavior in the trained model |\n| AML.T0010 | ML Supply Chain Compromise | Poisoned public datasets \u002F trojaned downloaded weights |\n| AML.T0024 | Exfiltration via ML Inference API | Some poisoning aims to leak data via the model's responses |\n\n## Workflow\n\n### 1. Verify data and model provenance\u002Fintegrity\nRefuse artifacts whose hash\u002Fsignature you cannot verify, and prefer safetensors over pickle-based formats (pickle can execute code on load).\n\n```bash\n# Verify a downloaded checkpoint against a published SHA-256\nsha256sum model.safetensors\n# compare to the hub-published digest\n\n# Flag unsafe pickle-based weights in a directory\nfind .\u002Fmodels -type f \\( -name \"*.bin\" -o -name \"*.pt\" -o -name \"*.pkl\" -o -name \"*.ckpt\" \\)\n```\n\n```python\n# safe_load.py — load weights without executing pickle\nfrom safetensors.numpy import load_file\nweights = load_file(\"model.safetensors\")   # no arbitrary code execution\n```\n\n### 2. Detect label\u002Fdata-quality issues with Cleanlab\nCleanlab finds mislabeled, outlier, and near-duplicate samples — common signatures of label-flip poisoning.\n\n```python\n# cleanlab_scan.py\nimport numpy as np\nfrom cleanlab.filter import find_label_issues\n\n# pred_probs: out-of-sample predicted probabilities (n_samples x n_classes)\n# labels: given integer labels (n_samples,)\ndef scan(labels: np.ndarray, pred_probs: np.ndarray):\n    issues = find_label_issues(\n        labels=labels, pred_probs=pred_probs,\n        return_indices_ranked_by=\"self_confidence\",\n    )\n    print(f\"[*] {len(issues)} suspected label issues (potential poisoning)\")\n    return issues\n```\n\n### 3. Detect poisoned samples via ART activation clustering\nActivationDefence clusters per-class activations; a class whose activations split into two distinct clusters indicates injected (poisoned) samples.\n\n```python\n# activation_defence.py\nimport numpy as np\nfrom art.estimators.classification import KerasClassifier\nfrom art.defences.detector.poison import ActivationDefence\n\ndef detect(model, x_train, y_train):\n    classifier = KerasClassifier(model=model)          # wrap your trained model\n    defence = ActivationDefence(classifier, x_train, y_train)\n    report, is_clean_lst = defence.detect_poison(\n        nb_clusters=2, nb_dims=10, reduce=\"PCA\"\n    )\n    # is_clean_lst[i] == 0 marks a suspected poisoned sample\n    poisoned_idx = np.where(np.array(is_clean_lst) == 0)[0]\n    print(f\"[*] activation clustering flagged {len(poisoned_idx)} samples\")\n    return poisoned_idx, report\n```\n\n### 4. Confirm with ART spectral signatures\nSpectral signatures use the covariance spectrum of feature representations to surface poisoned samples — a strong second signal.\n\n```python\n# spectral.py\nimport numpy as np\nfrom art.estimators.classification import KerasClassifier\nfrom art.defences.detector.poison import SpectralSignatureDefense\n\ndef detect(model, x_train, y_train, nb_classes):\n    classifier = KerasClassifier(model=model)\n    defence = SpectralSignatureDefense(\n        classifier, x_train, y_train,\n        expected_pp_poison=0.05, batch_size=128, eps_multiplier=1.5,\n    )\n    report, is_clean_lst = defence.detect_poison()\n    poisoned_idx = np.where(np.array(is_clean_lst) == 0)[0]\n    print(f\"[*] spectral signatures flagged {len(poisoned_idx)} samples\")\n    return poisoned_idx, report\n```\n\n### 5. Probe the model for backdoor triggers\nTest whether a candidate trigger flips predictions to an attacker target class far above the clean baseline.\n\n```python\n# trigger_probe.py\nimport numpy as np\n\ndef test_trigger(model, x_clean, target_class, apply_trigger):\n    \"\"\"apply_trigger(x) stamps a candidate trigger (e.g. a corner pixel patch).\"\"\"\n    clean_preds = model.predict(x_clean).argmax(axis=1)\n    x_trig = np.stack([apply_trigger(x.copy()) for x in x_clean])\n    trig_preds = model.predict(x_trig).argmax(axis=1)\n    asr = float(np.mean(trig_preds == target_class))   # attack success rate\n    base = float(np.mean(clean_preds == target_class))\n    print(f\"[*] target-class rate clean={base:.3f} triggered={asr:.3f}\")\n    return {\"baseline\": base, \"trigger_success_rate\": asr,\n            \"backdoor_suspected\": asr - base > 0.5}\n```\n\n### 6. Quarantine, retrain, and report\nRemove flagged samples (intersection of Cleanlab + ART signals is highest-confidence), retrain on the cleaned set, and re-test for the trigger. Document: artifact provenance, samples flagged by each method, trigger ASR before\u002Fafter, and ATLAS mapping. Recommend dataset provenance controls, signed weights (safetensors + sigstore\u002Fcosign), and ongoing pipeline scanning.\n\n## Tools and Resources\n\n| Tool | Purpose | Source |\n|------|---------|--------|\n| Adversarial Robustness Toolbox | Activation clustering & spectral-signature poisoning defenses | https:\u002F\u002Fgithub.com\u002FTrusted-AI\u002Fadversarial-robustness-toolbox |\n| Cleanlab | Label\u002Fdata-quality issue detection | https:\u002F\u002Fgithub.com\u002Fcleanlab\u002Fcleanlab |\n| safetensors | Safe (non-pickle) weight serialization | https:\u002F\u002Fgithub.com\u002Fhuggingface\u002Fsafetensors |\n| OWASP LLM04:2025 | Data and Model Poisoning reference | https:\u002F\u002Fgenai.owasp.org\u002Fllmrisk\u002Fllm042025-data-and-model-poisoning\u002F |\n| MITRE ATLAS | AI threat technique taxonomy | https:\u002F\u002Fatlas.mitre.org\u002F |\n\n## Detection Method Reference\n\n| Layer | Method | Tool | Signal |\n|-------|--------|------|--------|\n| Supply chain | Hash\u002Fsignature + safe format | sha256\u002Fsafetensors | Tampered or unsafe artifact |\n| Data | Label issues \u002F outliers | Cleanlab | Mislabeled \u002F injected samples |\n| Model | Activation clustering | ART ActivationDefence | Per-class activation split |\n| Model | Spectral signatures | ART SpectralSignatureDefense | Outlier covariance spectrum |\n| Model | Trigger probing | custom | High trigger attack-success-rate |\n\n## Validation Criteria\n\n- [ ] Dataset and weight provenance\u002Fintegrity verified (hashes, safe format)\n- [ ] Unsafe pickle-based artifacts identified and avoided\n- [ ] Cleanlab label-issue scan run and suspicious samples listed\n- [ ] ART activation clustering executed with flagged sample indices\n- [ ] ART spectral-signature analysis run as confirmation\n- [ ] Backdoor trigger probe quantifies attack-success-rate vs. baseline\n- [ ] Highest-confidence poisoned samples quarantined (multi-method overlap)\n- [ ] Model retrained on cleaned data and re-tested for the trigger\n- [ ] Findings mapped to MITRE ATLAS AML.T0020 \u002F AML.T0018 and OWASP LLM04:2025\n- [ ] Report delivered with remediation (provenance, signed weights, pipeline scanning)\n",{"name":5,"tags":25,"author":34,"domain":35,"license":15,"version":36,"subdomain":26,"description":7,"nist_ai_rmf":37,"atlas_techniques":39},[26,27,28,29,30,31,32,33],"ai-security","data-poisoning","model-backdoor","ml-supply-chain","adversarial-robustness-toolbox","activation-clustering","spectral-signatures","model-integrity","mahipal","cybersecurity","1.0",[38],"MEASURE-2.7",[40,41],"AML.T0020","AML.T0018","main","8a3b3de73262a4c4db64523949360f3c599c2fb1","Anthropic-Cybersecurity-Skills-main\u002Fskills\u002Fdetecting-data-and-model-poisoning",0,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use","https:\u002F\u002Fgithub.com\u002FSaiVatsal","https:\u002F\u002Fsaivatsal.github.io\u002FPortfolio\u002F","The Longer It Takes The Stronger It Becomes ","2026-09-21 22:45:58",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add SaiVatsal\u002FSkills-I-Use --skill detecting-data-and-model-poisoning",{"tool":57,"command":58},"bunx","bunx skills add SaiVatsal\u002FSkills-I-Use --skill detecting-data-and-model-poisoning",{"tool":60,"command":61},"pnpm","pnpm dlx skills add SaiVatsal\u002FSkills-I-Use --skill detecting-data-and-model-poisoning","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fdetecting-data-and-model-poisoning\u002FSKILL.md",true,[65,69,75,79],{"path":66,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":70,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":74},"references\u002Fapi-reference.md","REFERENCE","参考文档",2228,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fdetecting-data-and-model-poisoning\u002Freferences\u002Fapi-reference.md",{"path":76,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Fstandards.md",1674,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fdetecting-data-and-model-poisoning\u002Freferences\u002Fstandards.md",{"path":80,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":83,"sourceHtmlUrl":84},"scripts\u002Fagent.py","SCRIPT","脚本",5033,"https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002FAnthropic-Cybersecurity-Skills-main\u002Fskills\u002Fdetecting-data-and-model-poisoning\u002Fscripts\u002Fagent.py",[86,94,102,111,118,125],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":90,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":20},"01M7DJZP6E6KMBQV4CZSDPZEZ8","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":98,"sourceHtmlUrl":99,"categories":100,"keywords":101,"publishedAt":20},"01M7DJZFTS5TS06K2TV3MDTE67","web-artifacts-builder","Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn\u002Fui). Use for complex artifacts requiring state management, routing, or shadcn\u002Fui components - not for simple single-file HTML\u002FJSX artifacts.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fweb-artifacts-builder\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fweb-artifacts-builder\u002FSKILL.md",[],[],{"skillNo":103,"name":104,"nameZh":6,"description":105,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":106,"licenseFileUrl":107,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":20},"01M7DJRK4SRQ908F2TJM6EZ7EV","ui-styling","Create beautiful, accessible user interfaces with shadcn\u002Fui components (built on Radix UI + Tailwind), Tailwind CSS utility-first styling, and canvas-based visual designs. Use when building user interfaces, implementing design systems, creating responsive layouts, adding accessible components (dialogs, dropdowns, forms, tables), customizing themes and colors, implementing dark mode, generating visual designs and posters, or establishing consistent styling patterns across applications.","MIT","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fui-styling\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fui-styling\u002FSKILL.md",[],[],{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":106,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":20},"01M7DJR902059VEQP23PVM2WA0","design","Comprehensive design skill: brand identity, design tokens, UI styling, logo generation (55 styles, Gemini AI), corporate identity program (50 deliverables, CIP mockups), HTML presentations (Chart.js), banner design (22 styles, social\u002Fads\u002Fweb\u002Fprint), icon design (15 styles, SVG, Gemini 3.1 Pro), social photos (HTML→screenshot, multi-platform). Actions: design logo, create CIP, generate mockups, build slides, design banner, generate icon, create social photos, social media images, brand identity, design system. Platforms: Facebook, Twitter, LinkedIn, YouTube, Instagram, Pinterest, TikTok, Threads, Google Ads.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fdesign\u002FSKILL.md",[],[],{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":106,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":20},"01M7DJR56QF5N6XYTCPCFHFMNP","design-system","Token architecture, component specifications, and slide generation. Three-layer tokens (primitive→semantic→component), CSS variables, spacing\u002Ftypography scales, component specs, strategic slide creation. Use for design tokens, systematic design, brand-compliant presentations.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fdesign-system\u002FSKILL.md",[],[],{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":106,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":131,"publishedAt":20},"01M7DJQXB6M0SFF7NX8J5N01AH","banner-design","Design banners for social media, ads, website heroes, creative assets, and print. Multiple art direction options with AI-generated visuals. Actions: design, create, generate banner. Platforms: Facebook, Twitter\u002FX, LinkedIn, YouTube, Instagram, Google Display, website hero, print. Styles: minimalist, gradient, bold typography, photo-based, illustrated, geometric, retro, glassmorphism, 3D, neon, duotone, editorial, collage. Uses ui-ux-pro-max, frontend-design, ai-artist, ai-multimodal skills.","https:\u002F\u002Fgithub.com\u002FSaiVatsal\u002FSkills-I-Use\u002Fblob\u002Fmain\u002Fui-ux-pro-max-skill-main\u002Fcli\u002Fassets\u002Fskills\u002Fbanner-design\u002FSKILL.md",[],[]]