Back to skill

Security audit

Forest Cabin Local Mentor

Security checks for vulnerabilities and agentic risk

Overview

The skill is coherent for finding local cabin-building mentors, but it asks the agent to maintain identifiable records about nearby people and conversations without privacy controls.

Review before installing. Use this only if you are comfortable keeping mentor notes locally, and avoid storing names, private contact details, photos, or conversation logs unless people clearly consent. Prefer anonymized notes, a user-approved private folder, and deletion after the building stage is done. Install with least privilege and pin or verify the installer where possible.

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 (2)

other

Warning
Location
SKILL.md:30
Finding

Persistent Collection of Third-Party Personal and Location Data

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, lines 30–67
Vulnerability Type: Privacy data overcollection and insecure retention
Risk Level: Medium

Vulnerable Snippet

markdown
**Agent action**: Create a file `local-humans.md` and list 8–12 potential people or roles with how to reach them (general store, church, bar, local Facebook group, county office). Prioritize those within 30 km of your site.

**Agent action**: Use this opener script: “I’m spending a lot of time in the [forest name] area and I’m amazed by the old timber buildings around here. Have you seen any good examples of log construction nearby?” Listen 80% of the time. Log every conversation in `mentor-[name].md`.

Take detailed notes including seasonal advice, tool recommendations, and safety warnings.

**Agent action**: When ready for hands-on help, propose mutual benefit: “I’d love to help you with [their project] for a day if you’d be willing to show me how to properly saddle-notch these logs.” Document all exchanges.

**Agent action**: Review and update your human map file monthly. Note what worked and what didn’t in each relationship.

- Document everything visually (photos + notes) and show progress to your mentors — they love seeing their advice put into practice.

Technical Analysis

The skill instructs the agent to create persistent files containing information about nearby people, including how to reach them, their approximate geographic proximity, named conversation records, exchange histories, and photographs. Combining these fields can create identifiable profiles of third parties.

The instructions do not require informed consent, data minimization, access restrictions, secure storage, retention limits, or deletion. The command to log “every conversation,” document “all exchanges,” and update records monthly encourages collection beyond what is strictly necessary to obtain construction advice. File names such as `mentor-[n ...[truncated 1268 chars]

Remediation
View remediation

Remediation Suggestions

  • Require informed consent before recording an identifiable person, private conversation, contact method, or photograph.
  • Default to role-based and anonymized notes rather than names, such as mentor-01.md.
  • Record only information strictly necessary for the construction task; do not log every conversation or exchange.
  • Do not store precise addresses, habitual locations, sensitive personal details, or photographs unless explicitly required and authorized.
  • Define a short retention period and automatically review or delete stale records after the relevant construction stage.
  • Store records in a user-approved directory with restrictive permissions and exclude them from public repositories and unintended cloud synchronization.
  • Give users an opportunity to review and approve the intended fields before files are created.
  • Add instructions for correcting or deleting records when a person withdraws consent.

T08 · Insecure Dependencies

Warning
Location
SKILL.md:11
Finding

Unpinned Package Execution in Installation Metadata

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, line 11
Vulnerability Type: Unpinned third-party package execution
Risk Level: Medium

Vulnerable Snippet

yaml
    install: "npx clawhub install forest-cabin-local-mentor"

Technical Analysis

The installation command invokes clawhub through npx without specifying an audited package version or integrity value. Depending on the local package-manager state and configuration, npx can resolve and execute a package obtained from a configured registry. The effective implementation may therefore change after this skill file has been reviewed.

The finding concerns the unpinned clawhub dependency invoked by npx; the available project contains no bundled script demonstrating an independent malicious payload. Exploitation would require compromise, replacement, dependency confusion, unsafe registry configuration, or another supply-chain failure affecting the resolved package.

Attack Path

  1. A user or installation system processes the documented installation command.
  2. npx searches locally and, when necessary, resolves clawhub from the configured package registry.
  3. Because no exact version or integrity hash is specified, a mutable or unintended package release can be selected.
  4. A compromised package executes through npx as the invoking user.
  5. Malicious package lifecycle or runtime behavior can access resources available to that user and alter the installation process.

Impact Assessment

Successfully exploited package execution would run with the privileges of the user invoking npx. Subject to operating-system controls, this may permit access to that user’s files, environment variables, credentials available to the process, network connectivity, and writable project or configuration directories.

The potential scope is broader if installation is performed by an administrator, in a privileged container, or in CI with sensiti ...[truncated 112 chars]

Remediation
View remediation

Remediation Suggestions

  • Pin clawhub to an exact, reviewed version rather than relying on mutable resolution.
  • Use a lockfile and verify the package’s registry integrity hash before execution.
  • Explicitly configure and document the trusted package registry.
  • Prefer installing the verified dependency separately and invoking the known local binary without automatic download.
  • Disable or audit package lifecycle scripts where operationally possible.
  • Run installation with least privilege in an isolated environment without production credentials.
  • Establish a dependency-update review process so version changes are inspected before deployment.
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (3)

Harmful Content Injection

Critical
Category
Prompt Injection
Confidence
90% confidence
Finding

This content may contain harmful instructions that could cause physical harm if followed. CRITICAL: Review carefully before use.

Content

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

md
install: "npx clawhub install forest-cabin-local-mentor"
---

# Forest Cabin Local Mentor

This skill teaches the specialized knowledge of identifying, respectfully approaching, and extracting high-value, hyper-local wisdom from humans who live and work in forested areas (loggers, old-timers, carpenters, rangers, and homesteaders). It matters because building a cottage with wood you cut yourself is a high-risk, multi-year project where one wrong cut, bad notch, or ignored regulation can be dangerous or illegal — experienced locals can save you years of costly mistakes and real physical risk.

## When to Use
- Choosing and preparing your forest building site
- Planning which trees to cut, when, and how
- Learning traditional log construction techniques adapted to your local wood species and climate

Rp1

Medium
Category
MCP Rug Pull
Confidence
93% confidence
Finding

The skill metadata includes an install command using npx clawhub install forest-cabin-local-mentor without pinning a specific package version or integrity mechanism. This creates a supply-chain risk because a future malicious or compromised package release could be fetched and executed implicitly during installation.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill explicitly instructs the agent to create files containing identifiable information about local people, contact methods, and conversation logs, but provides no guidance on consent, minimization, retention, or secure handling. This can expose personal data, create privacy violations, and produce sensitive dossiers about individuals who may not expect to be recorded.

Content

No source excerpt is available for this finding.