supply-chain-overview
Use when the engagement scope includes supply-chain attack simulation — typosquatted package publication, dependency confusion, GitHub Actions secret mining, internal mirror poisoning, OAuth-app impersonation, or vendor portal credential abuse.
- License 许可
- Apache-2.0
- 最近更新
- 2026-07-22
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- supply-chain-overview
- metadata
- { "tags": "supply-chain, typosquatting, dep-confusion, gh-actions, oauth-app", "subdomain": "supply-chain", "when_to_use": "supply chain typosquat dependency confusion gh actions secret oauth app impersonation internal mirror poisoning vendor portal", "mitre_attack": "T1195, T1195.001, T1195.002, T1199, T1136, T1543" }
- description
- Use when the engagement scope includes supply-chain attack simulation — typosquatted package publication, dependency confusion, GitHub Actions secret mining, internal mirror poisoning, OAuth-app impersonation, or vendor portal credential abuse.
03 SKILL.md 正文
Supply Chain Operator Skill Catalog
Supply-chain attacks have grown 1,300% since 2020 per Decepticon's own
ai-red-teaming.md. This catalog
gives the agent the playbooks to simulate the most common patterns —
all in a sandbox-isolated mode that publishes to a local mock registry by
default and to a real one only with supply_chain_real_publish=true in
ConOps.
Playbooks
Inline technique reference — not separately loadable skills. The entries below are summarized here for direct use; there is no separate
SKILL.mdto open for each. Do NOT call the skill loader on them — apply the technique with your tools using this summary and the Workflow in this file.
| Technique | Use for |
|---|---|
| typo-name-gen | Generate typosquat candidates for a target package; reachability + popularity score |
| dep-confusion-probe | Check whether an internal package name is squat-able on PyPI / NPM / RubyGems / NuGet |
| post-install-script | Author + sandboxed publish of a benign post-install probe |
| gh-actions-fork-pr | Fork-PR secret mining; pull_request_target misconfiguration scan |
| oauth-app-impersonation | Lookalike OAuth app + scope-creep social engineering |
| internal-mirror-poison | Verdaccio / Artifactory / Nexus index manipulation |
| sbom-divergence | Audit SBOM vs actual installed packages for drift |
| vendor-portal-creds | SaaS vendor admin portal credential abuse paths |
Dry-run mode
All publish-mode skills accept a --dry-run flag that:
- Generates the typosquat package contents in
/workspace/typo-pkg/. - Builds the artifact (
.tar.gz,.tgz, etc.) without uploading. - Computes the "hit probability" via the target package's historical download counts + Levenshtein distance.
- Reports the artifact location + hit probability for human review.
Real publish requires both supply_chain_real_publish=true in ConOps AND
operator HITL approval at the moment of publish. Defense in depth.
GitHub Actions attack surface
Most rewarding attack class in 2024-2026. Common misconfigurations:
pull_request_targetwithactions/checkoutof${{ github.event.pull_request.head.sha }}→ fork PRs run with target-repo secrets.workflow_runtriggers readinginputswithout sanitization.${{ github.event.pull_request.title }}interpolated into shell.- Shared
GITHUB_TOKENwith write scope oncontents.
The gh-actions-fork-pr skill encodes the full enumeration: search the
target org's workflows, identify exploitable patterns, build a PoC fork
PR that exfiltrates secrets.* without modifying the workflow file
itself (so the operator's PR doesn't look obviously malicious to a human
reviewer).
Detection emission
For every simulated attack, the Detector agent produces:
- A Sigma rule for the SIEM (e.g., unusual
npm installin CI logs,actions/checkout@followed bysecrets.*reference patterns). - A GitHub Actions YAML linter rule for the customer's pre-merge checks.
- A SLSA attestation gap report.
Out of scope
Real-world publication that could harm third parties (other companies
who consume the customer's internal packages). The dep-confusion-probe
explicitly avoids this by checking name availability without uploading;
the operator decides whether to follow through.
04 同仓库更多 Skills
wps-pixie-dust
WPS Pixie-Dust offline nonce attack (reaver -K / pixiewps) and fallback online PIN brute (bully) to recover the AP's WPA PSK without capturing a handshake.
wpa3-sae
WPA3-SAE transition-mode downgrade (DragonShift), SSID Confusion CVE-2023-52424, Dragonblood side-channels, and SAE captive-portal credential recovery against WPA3-Personal networks.
wpa2-psk
WPA/WPA2-PSK handshake capture via targeted deauth + PMKID (no deauth required) + offline hashcat cracking. The most common consumer/SMB encryption mode in 2026.
wpa-enterprise-eap
WPA/WPA2/WPA3-Enterprise (802.1X/EAP) rogue-RADIUS evil-twin for MSCHAPv2 capture, GTC downgrade, and PEAP relay. MSCHAPv2 capture equals a NetNTLM hash — the primary wireless on-ramp to Active Directory.
krack-fragattacks
KRACK key-reinstallation (CVE-2017-13077..13082) and FragAttacks fragmentation/aggregation flaws (CVE-2020-24586..24588, CVE-2020-26139..26147) against legacy or embedded 802.11 supplicants with poor patch cadence.
evil-twin-karma
Evil-twin rogue AP with KARMA/Mana PNL-probe response, captive-portal credential capture, and post-association MITM for PSK/open networks. Distinct from wpa-enterprise-eap which targets 802.1X.