Back to skill

Security audit

Human Resources - Claude HR plugin as a skill

Security checks for vulnerabilities and agentic risk

Overview

This HR skill is purpose-aligned overall, but it installs core sub-skill instructions from an unpinned remote repository before handling sensitive HR workflows.

Review this before installing in an environment connected to HR systems. Prefer a version that vendors the sub-skills or pins and verifies the upstream commit and hashes, and grant only the minimum HRIS, ATS, email, chat, calendar, and knowledge-base access needed for the specific task.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (1)

T08 · Insecure Dependencies

Warning
Location
setup.sh:4
Finding

Unpinned Remote Skill Instructions Create a Supply-Chain Risk

Content
View full analysis

Vulnerability Details

File Location: setup.sh:4, 12-19
Vulnerability Type: Unpinned remote dependency containing trusted agent instructions
Risk Level: Medium

Vulnerable Code

bash
REPO_URL="https://github.com/anthropics/knowledge-work-plugins.git"
TMP_DIR="$(mktemp -d)"

cleanup() { rm -rf "$TMP_DIR"; }
trap cleanup EXIT

echo "Fetching dependencies from ${REPO_URL%.git}..."

git clone --depth 1 --quiet "$REPO_URL" "$TMP_DIR"

for dir in "$TMP_DIR/human-resources/skills"/*/; do
  name="$(basename "$dir")"
  mkdir -p "$SKILL_DIR/sub-skills/$name"
  cp "$dir/SKILL.md" "$SKILL_DIR/sub-skills/$name/SKILL.md"
  echo "  + $name"
done

The downloaded files are subsequently designated as trusted sub-skill instructions by SKILL.md:16-29:

markdown
## Sub-Skills

Read the appropriate sub-skill file for detailed instructions:

| Sub-Skill | File | When to Use |
|---|---|---|
| recruiting-pipeline | [sub-skills/recruiting-pipeline/SKILL.md](sub-skills/recruiting-pipeline/SKILL.md) | Pipeline status, hiring velocity, candidate tracking, conversion metrics |
| comp-analysis | [sub-skills/comp-analysis/SKILL.md](sub-skills/comp-analysis/SKILL.md) | Compensation benchmarking, offer competitiveness, equity modeling |
| people-report | [sub-skills/people-report/SKILL.md](sub-skills/people-report/SKILL.md) | Headcount, attrition, diversity, org health metrics |
| performance-review | [sub-skills/performance-review/SKILL.md](sub-skills/performance-review/SKILL.md) | Self-assessments, manager reviews, calibration prep |
| org-planning | [sub-skills/org-planning/SKILL.md](sub-skills/org-planning/SKILL.md) | Headcount planning, team structure, reorg design |
| draft-offer | [sub-skills/draft-offer/SKILL.md](sub-skills/draft-offer/SKILL.md) | Offer letters, total comp packages, negotiation guidance |
| interview-prep | [sub-skills/interview-prep/SKILL.md](sub-skills/interview-prep/SKILL.md) | Interview plans, question banks, scorecards, debrief templ
...[truncated 2697 chars]
Remediation
View remediation

Remediation Suggestions

  1. Pin the upstream dependency to a reviewed full commit SHA rather than cloning the mutable default branch.
  2. Maintain an allowlist of expected sub-skill paths and SHA-256 hashes, and verify every copied file before installation.
  3. Fail closed if the pinned revision cannot be retrieved, a signature cannot be verified, a hash differs, or an unexpected file appears.
  4. Prefer vendoring reviewed sub-skill files into the distributed package so its effective behavior is auditable and immutable.
  5. If remote updates are required, retrieve a signed release and verify its signature against a separately distributed trusted public key.
  6. Review updates before activating them and display the exact upstream revision installed.
  7. Install into a staging directory, validate all content, and only then atomically replace the active sub-skills.
  8. Apply least-privilege permissions to HR connectors so downloaded instructions cannot independently access or modify data beyond the active task.

A pinned checkout could follow this pattern:

bash
REPO_URL="https://github.com/anthropics/knowledge-work-plugins.git"
EXPECTED_COMMIT="REPLACE_WITH_REVIEWED_FULL_COMMIT_SHA"

git clone --no-checkout --quiet "$REPO_URL" "$TMP_DIR"
git -C "$TMP_DIR" checkout --detach "$EXPECTED_COMMIT"

actual_commit="$(git -C "$TMP_DIR" rev-parse HEAD)"
if [[ "$actual_commit" != "$EXPECTED_COMMIT" ]]; then
  echo "Unexpected dependency revision" >&2
  exit 1
fi

sha256sum --check "$SKILL_DIR/sub-skills.sha256"

The checksum manifest must be generated from independently reviewed content and must not be downloaded from the same untrusted mutable source during setup.

Vulnerability Patterns
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (13)

Vague Triggers

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The 'Anything HR-Related' / 'Just ask naturally' section defines an extremely broad trigger surface, encouraging automatic activation for any loosely HR-adjacent request. Because this skill covers highly sensitive functions like compensation, recruiting, performance, and people reporting, over-triggering increases the chance of unintended data exposure, policy overreach, or unauthorized handling of employee information.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The declared description says this skill is an HR/people-operations assistant used to answer people-ops questions. However, the supplied code does not implement HR assistance behavior at all. It is a bootstrap/setup script whose primary function is to fetch content from a remote GitHub repository and install local sub-skill files and documentation. That is a materially different purpose and includes undeclared capabilities such as network retrieval and filesystem writes. While the downloaded content appears HR-related, this code chunk itself is infrastructure for fetching/installing assets, not an HR assistant.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The README states that some sub-skills trigger automatically 'when the topic comes up' without defining bounded routing criteria. In an agent environment, this can cause the HR skill to activate on loosely related prompts and pull the model into processing sensitive personnel, compensation, or policy matters outside the user's explicit intent.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The manifest says 'Use for any HR or people-ops question,' which is a very broad activation description without boundaries or exclusion conditions. This can cause unintended invocation for general workplace conversations that only loosely relate to HR.

Content

No source excerpt is available for this finding.

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · SKILL.md (reported line 26)May include surrounding context.

md
| Sub-Skill | File | When to Use |
|---|---|---|
| recruiting-pipeline | [sub-skills/recruiting-pipeline/SKILL.md](sub-skills/recruiting-pipeline/SKILL.md) | Pipeline status, hiring velocity, candidate tracking, conversion metrics |
| comp-analysis | [sub-skills/comp-analysis/SKILL.md](sub-skills/comp-analysis/SKILL.md) | Compensation benchmarking, offer competitiveness, equity modeling |
| people-report | [sub-skills/people-report/SKILL.md](sub-skills/people-report/SKILL.md) | Headcount, attrition, diversity, org health metrics |
| performance-review | [sub-skills/performance-review/SKILL.md](sub-skills/performance-review/SKILL.md) | Self-assessments, manager reviews, calibration prep |

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · SKILL.md (reported line 27)May include surrounding context.

md
| Sub-Skill | File | When to Use |
|---|---|---|
| recruiting-pipeline | [sub-skills/recruiting-pipeline/SKILL.md](sub-skills/recruiting-pipeline/SKILL.md) | Pipeline status, hiring velocity, candidate tracking, conversion metrics |
| comp-analysis | [sub-skills/comp-analysis/SKILL.md](sub-skills/comp-analysis/SKILL.md) | Compensation benchmarking, offer competitiveness, equity modeling |
| people-report | [sub-skills/people-report/SKILL.md](sub-skills/people-report/SKILL.md) | Headcount, attrition, diversity, org health metrics |
| performance-review | [sub-skills/performance-review/SKILL.md](sub-skills/performance-review/SKILL.md) | Self-assessments, manager reviews, calibration prep |
| org-planning | [sub-skills/org-planning/SKILL.md](sub-skills/org-planning/SKILL.md) | Headcount planning, team structure, reorg design |

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · SKILL.md (reported line 28)May include surrounding context.

md
|---|---|---|
| recruiting-pipeline | [sub-skills/recruiting-pipeline/SKILL.md](sub-skills/recruiting-pipeline/SKILL.md) | Pipeline status, hiring velocity, candidate tracking, conversion metrics |
| comp-analysis | [sub-skills/comp-analysis/SKILL.md](sub-skills/comp-analysis/SKILL.md) | Compensation benchmarking, offer competitiveness, equity modeling |
| people-report | [sub-skills/people-report/SKILL.md](sub-skills/people-report/SKILL.md) | Headcount, attrition, diversity, org health metrics |
| performance-review | [sub-skills/performance-review/SKILL.md](sub-skills/performance-review/SKILL.md) | Self-assessments, manager reviews, calibration prep |
| org-planning | [sub-skills/org-planning/SKILL.md](sub-skills/org-planning/SKILL.md) | Headcount planning, team structure, reorg design |
| draft-offer | [sub-skills/draft-offer/SKILL.md](sub-skills/draft-offer/SKILL.md) | Offer letters, total comp packages, negotiation guidance |

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · SKILL.md (reported line 29)May include surrounding context.

md
| recruiting-pipeline | [sub-skills/recruiting-pipeline/SKILL.md](sub-skills/recruiting-pipeline/SKILL.md) | Pipeline status, hiring velocity, candidate tracking, conversion metrics |
| comp-analysis | [sub-skills/comp-analysis/SKILL.md](sub-skills/comp-analysis/SKILL.md) | Compensation benchmarking, offer competitiveness, equity modeling |
| people-report | [sub-skills/people-report/SKILL.md](sub-skills/people-report/SKILL.md) | Headcount, attrition, diversity, org health metrics |
| performance-review | [sub-skills/performance-review/SKILL.md](sub-skills/performance-review/SKILL.md) | Self-assessments, manager reviews, calibration prep |
| org-planning | [sub-skills/org-planning/SKILL.md](sub-skills/org-planning/SKILL.md) | Headcount planning, team structure, reorg design |
| draft-offer | [sub-skills/draft-offer/SKILL.md](sub-skills/draft-offer/SKILL.md) | Offer letters, total comp packages, negotiation guidance |
| interview-prep | [sub-skills/interview-prep/SKILL.md](sub-skills/interview-prep/SKILL.md) | Interview plans, question banks, scorecards, debrief templates |

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · SKILL.md (reported line 30)May include surrounding context.

md
| comp-analysis | [sub-skills/comp-analysis/SKILL.md](sub-skills/comp-analysis/SKILL.md) | Compensation benchmarking, offer competitiveness, equity modeling |
| people-report | [sub-skills/people-report/SKILL.md](sub-skills/people-report/SKILL.md) | Headcount, attrition, diversity, org health metrics |
| performance-review | [sub-skills/performance-review/SKILL.md](sub-skills/performance-review/SKILL.md) | Self-assessments, manager reviews, calibration prep |
| org-planning | [sub-skills/org-planning/SKILL.md](sub-skills/org-planning/SKILL.md) | Headcount planning, team structure, reorg design |
| draft-offer | [sub-skills/draft-offer/SKILL.md](sub-skills/draft-offer/SKILL.md) | Offer letters, total comp packages, negotiation guidance |
| interview-prep | [sub-skills/interview-prep/SKILL.md](sub-skills/interview-prep/SKILL.md) | Interview plans, question banks, scorecards, debrief templates |
| policy-lookup | [sub-skills/policy-lookup/SKILL.md](sub-skills/policy-lookup/SKILL.md) | HR policy questions, benefits, PTO, remote work, expenses |

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · SKILL.md (reported line 31)May include surrounding context.

md
| people-report | [sub-skills/people-report/SKILL.md](sub-skills/people-report/SKILL.md) | Headcount, attrition, diversity, org health metrics |
| performance-review | [sub-skills/performance-review/SKILL.md](sub-skills/performance-review/SKILL.md) | Self-assessments, manager reviews, calibration prep |
| org-planning | [sub-skills/org-planning/SKILL.md](sub-skills/org-planning/SKILL.md) | Headcount planning, team structure, reorg design |
| draft-offer | [sub-skills/draft-offer/SKILL.md](sub-skills/draft-offer/SKILL.md) | Offer letters, total comp packages, negotiation guidance |
| interview-prep | [sub-skills/interview-prep/SKILL.md](sub-skills/interview-prep/SKILL.md) | Interview plans, question banks, scorecards, debrief templates |
| policy-lookup | [sub-skills/policy-lookup/SKILL.md](sub-skills/policy-lookup/SKILL.md) | HR policy questions, benefits, PTO, remote work, expenses |
| onboarding | [sub-skills/onboarding/SKILL.md](sub-skills/onboarding/SKILL.md) | New hire prep, Day 1 schedules, 30/60/90-day plans |

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · SKILL.md (reported line 32)May include surrounding context.

md
| performance-review | [sub-skills/performance-review/SKILL.md](sub-skills/performance-review/SKILL.md) | Self-assessments, manager reviews, calibration prep |
| org-planning | [sub-skills/org-planning/SKILL.md](sub-skills/org-planning/SKILL.md) | Headcount planning, team structure, reorg design |
| draft-offer | [sub-skills/draft-offer/SKILL.md](sub-skills/draft-offer/SKILL.md) | Offer letters, total comp packages, negotiation guidance |
| interview-prep | [sub-skills/interview-prep/SKILL.md](sub-skills/interview-prep/SKILL.md) | Interview plans, question banks, scorecards, debrief templates |
| policy-lookup | [sub-skills/policy-lookup/SKILL.md](sub-skills/policy-lookup/SKILL.md) | HR policy questions, benefits, PTO, remote work, expenses |
| onboarding | [sub-skills/onboarding/SKILL.md](sub-skills/onboarding/SKILL.md) | New hire prep, Day 1 schedules, 30/60/90-day plans |

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · SKILL.md (reported line 33)May include surrounding context.

md
| org-planning | [sub-skills/org-planning/SKILL.md](sub-skills/org-planning/SKILL.md) | Headcount planning, team structure, reorg design |
| draft-offer | [sub-skills/draft-offer/SKILL.md](sub-skills/draft-offer/SKILL.md) | Offer letters, total comp packages, negotiation guidance |
| interview-prep | [sub-skills/interview-prep/SKILL.md](sub-skills/interview-prep/SKILL.md) | Interview plans, question banks, scorecards, debrief templates |
| policy-lookup | [sub-skills/policy-lookup/SKILL.md](sub-skills/policy-lookup/SKILL.md) | HR policy questions, benefits, PTO, remote work, expenses |
| onboarding | [sub-skills/onboarding/SKILL.md](sub-skills/onboarding/SKILL.md) | New hire prep, Day 1 schedules, 30/60/90-day plans |

## Connectors

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · SKILL.md (reported line 34)May include surrounding context.

md
| draft-offer | [sub-skills/draft-offer/SKILL.md](sub-skills/draft-offer/SKILL.md) | Offer letters, total comp packages, negotiation guidance |
| interview-prep | [sub-skills/interview-prep/SKILL.md](sub-skills/interview-prep/SKILL.md) | Interview plans, question banks, scorecards, debrief templates |
| policy-lookup | [sub-skills/policy-lookup/SKILL.md](sub-skills/policy-lookup/SKILL.md) | HR policy questions, benefits, PTO, remote work, expenses |
| onboarding | [sub-skills/onboarding/SKILL.md](sub-skills/onboarding/SKILL.md) | New hire prep, Day 1 schedules, 30/60/90-day plans |

## Connectors

Static analysis

No suspicious patterns detected.