DC implementing-privileged-session-monitoring
Implements privileged session monitoring and recording using PAM solutions, focusing on CyberArk Privileged Session Manager (PSM) and open-source alternatives, covering session recording configuration, keystroke logging, real-time monitoring, risk-based session analysis, and compliance audit trail generation. Use when configuring CyberArk PSM, recording administrator sessions, or building compliance audit trails for privileged access.
Implements privileged session monitoring and recording using PAM solutions, focusing on CyberArk Privileged Session Manager (PSM) and open-source…
As a process C 64/100 · Has gaps — weak spots: result and completion, failures and branches, running it twice
What is at stake
The skill contains fragments that, in the wrong hands, cost money or data. Below: what the installer risks and what the author should do.
The skill contains commands that delete files, rewrite disks or execute code fetched from the network. The agent may run them without asking if it believes the instructions require it.
Replace destructive commands with safe equivalents that ask for confirmation, scope them to one folder, and stop piping curl into a shell: pin a version and a checksum.
How to improve
- Address the high-severity findings: each costs 18 safety points. If one is a false positive, add the rule id to guard.allow in spec.yaml.
- Your own cases (evals/evals.json, 4–6 real requests with expected answers): the full check would then run those instead of a model-drafted suite.
- A spec.yaml with trigger phrases and assertions — a behaviour contract for CI; `skilltest init` writes a template.
Guard findings · 9
-
high Dangerous commands
cmd-destructive-fsSKILL.md:181Destructive filesystem command (wipes root/home/drive) (documentation of a security skill)- rm -rf /
security skill
Medium and low: 8
-
medium Dangerous commands
cmd-disable-securitySKILL.md:183Disables a security control (Defender, Gatekeeper, SIP, firewall, execution policy) (documentation of a security skill)- iptables -F
security skill -
medium Dangerous commands
cmd-pipe-to-shellSKILL.md:187Downloads and executes remote code from an unrecognised host (pipe to shell) (documentation of a security skill)- wget http* | sh
security skill -
medium Dangerous commands
cmd-pipe-to-shellSKILL.md:188Downloads and executes remote code from an unrecognised host (pipe to shell) (documentation of a security skill)- curl * | bash
security skill -
low Exfiltration
net-credential-usereferences/api-reference.md:39Credential used in a network call (verify the destination is the intended service) (documentation of a security skill)curl -H "Authorization: $CYBERARK_TOKEN" \
security skill -
low Exfiltration
net-credential-usereferences/api-reference.md:43Credential used in a network call (verify the destination is the intended service) (documentation of a security skill)curl -H "Authorization: $CYBERARK_TOKEN" \
security skill -
low Dangerous commands
cmd-privilegereferences/api-reference.md:61Privilege escalation / world-writable permissions (documentation table row; documentation of a security skill)| `chmod 777` | Excessive permissions |
tablesecurity skill -
low Dangerous commands
cmd-disable-securityreferences/api-reference.md:62Disables a security control (Defender, Gatekeeper, SIP, firewall, execution policy) (documentation table row; documentation of a security skill)| `iptables -F` | Firewall rule flush |
tablesecurity skill -
low Dangerous commands
cmd-privilegeSKILL.md:182Privilege escalation / world-writable permissions (documentation of a security skill)- chmod 777
security skill
Files scanned: 4. Evidence is masked. Grey chips explain why severity was lowered.
Against the Agent Skills spec
- note
frontmatter-keyunknown frontmatter key "domain" - note
frontmatter-keyunknown frontmatter key "subdomain" - note
frontmatter-keyunknown frontmatter key "nist_csf" - note
frontmatter-keyunknown frontmatter key "mitre_attack"
Process rating: all ten parameters 64/100
- 0Result and completion. Does not say what the result is
- 0Failures and branches. Linear process with no failure handling
- 30Running it twice. 4 mutating operations with no state check
- 50When it triggers. No condition that starts the skill
- 70Inputs and preconditions. Inputs and preconditions are listed
- 100Tools and files. No external tools needed
- 100Steps. 23 steps
- 100Consistency. Name and required fields are in place
- 100Execution cost. Instruction body is 2745 tokens
- 100Progress reporting. Reports progress
Everything here is measured from the skill text rather than judged by a model, so the numbers are checkable. A parameter weighs more when it is a more common reason for the process to stall.
Quality signals
- +5Description has no quoted example phrases that should trigger the skill
- +3Output format is not stated: the model decides each time
- -41 reference files, but SKILL.md never points to them: the model will not open them
- -31 of 1 scripts are never mentioned in SKILL.md
- +2Single-language instructions
- +4Description says when NOT to use the skill
- +3Description length 438: enough signal without eating the budget
- +4Structure: 13 headings
- +3Step-by-step instructions: 23 items
- +4Has examples (9 code blocks)
- +1License stated
Quality base 70; lint remarks subtract, signals add up to 100. Result: 79.