chore(companion): mirror htpx Jenkins CI/CD pairs#74
Merged
Conversation
Sync the 3 new companion-only red↔blue pairs from htpx (source of truth) into the vendored offensive/companion/ tree, plus the refreshed README: - jenkins-script-console ↔ jenkins-script-console-audit (T1059) - jenkins-api-token ↔ jenkins-api-token-audit (T1098) - jenkins-job-backdoor ↔ jenkins-job-backdoor-audit (T1072) Self-hosted CI pairs, so no flat-view generation — gen-views.sh --check confirms PURPLE-TEAM.md / hacktheplanet stay untouched. Entries + README byte-identical to htpx; companion.lock left alone (subtree bump lands via the htpx release fan-out). Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011spYcGfeP4a3RNQQVDrGtW
There was a problem hiding this comment.
Pull request overview
Mirrors three new companion-only Jenkins CI/CD red↔blue entry pairs into offensive/companion/ and updates the companion corpus README to include the new Jenkins rows/counts.
Changes:
- Add three Jenkins red attack entries: Script Console RCE, API token persistence, and job/pipeline backdoor.
- Add three matching Jenkins blue detections using Jenkins Audit Trail plugin telemetry (Splunk SPL).
- Update
offensive/companion/README.mdto reflect the expanded corpus and list the new Jenkins pairs.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
| offensive/companion/README.md | Updates corpus count/summary and adds Jenkins rows to the red↔blue table. |
| offensive/companion/entries/red/jenkins-script-console.md | New red entry documenting Script Console RCE technique and example request. |
| offensive/companion/entries/red/jenkins-job-backdoor.md | New red entry documenting malicious job/pipeline backdoor technique and example request. |
| offensive/companion/entries/red/jenkins-api-token.md | New red entry documenting user API token persistence and example request. |
| offensive/companion/entries/blue/jenkins-script-console-audit.md | New blue detection entry for Script Console usage in Jenkins audit logs (SPL). |
| offensive/companion/entries/blue/jenkins-job-backdoor-audit.md | New blue detection entry for job create/reconfigure activity in Jenkins audit logs (SPL). |
| offensive/companion/entries/blue/jenkins-api-token-audit.md | New blue detection entry for API token creation activity in Jenkins audit logs (SPL). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Mirror the htpx corrections: job-backdoor scoped to `/job/<name>/configSubmit`, api-token scoped to `ApiTokenProperty/generateNewToken`, leading slashes, and the README platform-list rewording. Entries + README byte-identical to htpx; gen-views.sh --check clean; companion.lock untouched. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_011spYcGfeP4a3RNQQVDrGtW
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Round 13 — Jenkins CI/CD (Kali mirror)
Mirrors the 3 new companion-only red↔blue pairs from htpx (source of truth) into the vendored
offensive/companion/tree, plus the refreshedcompanion/README.md.New entries:
jenkins-script-console↔jenkins-script-console-audit(T1059)jenkins-api-token↔jenkins-api-token-audit(T1098)jenkins-job-backdoor↔jenkins-job-backdoor-audit(T1072)Self-hosted CI pairs, so no flat-view generation —
./offensive/companion/gen-views.sh --checkconfirmsPURPLE-TEAM.mdandhacktheplanetstay untouched. Entries + README byte-identical to htpx (verified withdiff).companion.lockleft alone (subtree bump lands via the htpx release fan-out).🤖 Generated with Claude Code
Generated by Claude Code