CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

macos-post-exploitation

macOS endpoint post-exploitation — launchd persistence, TCC bypass, Keychain credential access, dylib hijacking, Gatekeeper/quarantine evasion, and discovery on Apple hosts.

Quality

79%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Critical

Do not install without reviewing

Fix and improve this skill with Tessl

tessl review fix ./packages/decepticon/decepticon/skills/standard/post-exploit/macos/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

76%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

A dense, OPSEC-aware macOS post-exploitation playbook that is exceptionally token-efficient and largely copy-paste actionable, with accurate ATT&CK mapping throughout. Its main gaps are the absence of validation/verification steps after risky actions (persistence drops, quarantine stripping) and a couple of techniques described at approach level without complete command chains.

Suggestions

Add validation checkpoints to the persistence workflow: 'plutil -lint <plist>' before bootstrapping and 'launchctl print gui/$(id -u)/<label>' afterward to confirm the agent actually loaded — this lifts workflow clarity past the destructive-operations cap.

Include a minimal LaunchAgent plist example (label, ProgramArguments, RunAtLoad) so the primary persistence mechanism is fully copy-paste ready.

Complete the dylib-hijacking guidance with a concrete command sequence (e.g. otool -l | grep -A2 LC_RPATH to find writable/missing @rpath entries) rather than describing the approach abstractly.

DimensionReasoningScore

Conciseness

The body is a lean reference playbook: every line is a concrete command ('launchctl bootstrap gui/$(id -u) <plist>', 'xattr -d com.apple.quarantine <file>', 'codesign --force --deep --sign - <bundle>'), a technique note, or a defense pointer, with no tutorial padding explaining concepts like TCC or SIP that Claude already knows. Anti-drift check against anchor 4: there are no over-explained passages left to trim, so it fits the 'every token earns its place' anchor.

5 / 5

Actionability

Most techniques include copy-paste-ready commands with real flags (sqlite3 TCC.db queries, security dump-keychain, otool -l, osascript login item), matching the 'mostly executable guidance' anchor. It falls short of 5 because the LaunchAgent plist contents are never shown and dylib hijacking is described at the approach level without a complete executable chain; it is well above 3 since nothing is pseudocode.

4 / 5

Workflow Clarity

Sections are sequenced along a sensible attack lifecycle (Discovery → PrivEsc → Persistence → Evasion → Credential Access → C2 → Detection), but there are no validation checkpoints or feedback loops — e.g. no 'plutil -lint' the plist before bootstrapping, no 'launchctl print' to confirm the agent loaded, no verification that a quarantine attribute was actually removed. The destructive/batch guideline caps workflow clarity at 3 in the absence of validation steps.

3 / 5

Progressive Disclosure

The skill is a single well-sectioned ~75-line overview with no bundle files, so there is no nesting or buried content; header organization is clean and cross-references to sibling skills ('post-exploit/c2', 'reverser/ios-static') are clearly signaled. It is not a 5 because it exceeds a minimal overview — per-technique detail such as plist authoring and keychain cracking would sit naturally in one-level-deep reference files — but comfortably clears 3 since nothing that belongs in a separate file is inlined and navigation is easy.

4 / 5

Total

16

/

20

Passed

Description

75%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A highly specific, well-scoped description that names concrete post-exploitation capabilities with strong natural trigger terms. Its only material weakness is the absence of an explicit 'Use when...' clause, which caps completeness at 3.

Suggestions

Append an explicit trigger clause, e.g. 'Use when performing post-exploitation on macOS, OS X, or Apple hosts, or when the user mentions launchd, TCC, Keychain, Gatekeeper, or quarantine.'

Add common synonyms such as 'mac', 'OS X', and 'Mac' to the description itself so it matches the phrasing variations users naturally say (currently these only appear in metadata.when_to_use).

Consider naming the privilege-escalation capability explicitly (e.g. 'TCC bypass and privilege escalation') since privesc is a core capability of the skill.

DimensionReasoningScore

Specificity

The description enumerates six concrete capabilities — 'launchd persistence, TCC bypass, Keychain credential access, dylib hijacking, Gatekeeper/quarantine evasion, and discovery' — which matches the anchor for multiple specific concrete actions with comprehensive coverage; a score of 4 would require noticeable coverage gaps, and none are evident for the macOS post-exploitation domain.

5 / 5

Completeness

The 'what' is explicit and concrete, but there is no 'Use when...' clause or equivalent explicit trigger guidance in the description; the judging guideline caps completeness at 3 in that case. It is not a 2 because the 'what' is clear and specific, and not a 4 because the 'when' is entirely absent rather than merely weakly implied.

3 / 5

Trigger Term Quality

Natural trigger terms are present ('macOS', 'launchd', 'TCC', 'Keychain', 'dylib hijacking', 'Gatekeeper', 'quarantine', 'Apple'), but common synonyms a user might say — 'mac', 'osx', 'macOS persistence' as a standalone phrase — are missing, matching the 'good keyword coverage; a few natural terms missing' anchor rather than the comprehensive synonym coverage of a 5.

4 / 5

Distinctiveness Conflict Risk

The description carves out a clear niche (macOS endpoint post-exploitation) with technology-specific triggers (launchd, TCC, Keychain, dylib, Gatekeeper) that are unlikely to fire for unrelated skills, matching the 'clear niche with distinct triggers; minimal conflict risk' anchor.

5 / 5

Total

17

/

20

Passed

Validation

93%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

metadata_version

'metadata.version' is missing

Warning

Total

15

/

16

Passed

Repository

PurpleAILAB/Decepticon

Path

packages/decepticon/decepticon/skills/standard/post-exploit/macos/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.