Back to skill

Security audit

crawl requirement from confluence

Security checks for vulnerabilities and agentic risk

Overview

This Confluence export skill matches its stated purpose, but it asks for raw session cookies and can automatically delete or package broader workspace data than users may expect.

Install only if you are comfortable with an agent exporting all reachable Confluence child pages and images. Do not paste raw browser cookies into chat; prefer a scoped read-only token or a protected browser/session integration. Review and change the cleanup and ZIP steps so they only touch the current export directory, and use local pinned conversion tools instead of global installs or online converters for private documents.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (3)

T09 · Insecure Skill Coding Practices

Error
Location
SKILL.md:360
Finding

Exposure and Insecure Handling of Reusable Confluence Session Cookies

Content
View full analysis
&1 ``` The surrounding instructions direct the user to copy a complete browser cookie string, including `JSESSIONID`, `CONFLAuth`, and potentially other cookies, and provide it to the agent. ### Technical Analysis The skill handles reusable Confluence session credentials as plaintext input and then embeds them directly in PowerShell variables and `curl.exe` command-line arguments. This exposes the credentials to multiple unnecessary surfaces: - Conversation or agent execution history - Debugging and diagnostic logs - Shell transcripts and command history - Process command-line inspection - Child sessions created by the agent - Accidental inclusion in generated artifacts or error reports A complete session cookie may provide access equivalent to the authenticated user. Requesting all browser cookies also violates least-privilege principles because unrelated analytics, routing, or authentication cookies may be disclosed even when they are not necessary for the export. The use of HTTPS protects cookies while they are transmitted to Confluence, but it does not mitigate local plaintext exposure or disclosure through the agent context. ### Attack Path 1. A user signs in to a private Confluence deployment. 2. The skill instructs the user to copy reusable authentication cookies from browser storage. 3. The user submits the complete cookie string to the agent. 4. The agent places the cookie in a plaintext variable and supplies it as a command-line header to `curl.exe`. 5. A party with acce ...[truncated 955 chars]
Remediation
View remediation

T08 · Insecure Dependencies

Warning
Location
SKILL.md:330
Finding

Unpinned Runtime Installation of Third-Party Conversion Packages

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Error
Location
SKILL.md:78
Finding

Automatic Destructive Cleanup Can Delete Unrelated Workspace Artifacts

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (7)

Missing User Warnings

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

The skill mandates automatic deletion of old directories and ZIP files once storage thresholds are reached, without explicit user confirmation or safeguards. This can destroy prior exports or unrelated workspace artifacts, resulting in irreversible data loss and possible deletion of records the user expected to retain.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The skill explicitly instructs the user to reveal raw authenticated Confluence session cookies and then reuse them directly for requests. Session cookies are bearer credentials; exposing them to the model or logs can enable account/session hijacking and unauthorized access to private Confluence content far beyond the intended page export.

Content

No source excerpt is available for this finding.

Missing User Warnings

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The skill asks the user to provide a full authentication cookie string without a strong warning that this is highly sensitive credential material. Requesting bearer credentials in conversational input creates a substantial risk of credential exposure via prompt history, logs, telemetry, or accidental reuse.

Content

No source excerpt is available for this finding.

Ssd 3

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

The skill directs the agent to obtain and use the user's authenticated Confluence cookie string to fetch private content and then package the collected material. In context, this is dangerous because it combines credential handling with bulk extraction of potentially sensitive internal documentation, increasing the blast radius if the workflow is abused or compromised.

Content

No source excerpt is available for this finding.

Ssd 3

Medium
Category
Not specified by scanner
Confidence
74% confidence
Finding

The instructions emphasize copying all source material without omission, including potentially sensitive annotations and details, and later packaging everything into a zip. This creates a natural-language data-leak risk because it normalizes indiscriminate collection and redistribution of all visible information rather than minimizing or filtering sensitive content.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The skill recommends installing third-party Python/Node packages and even sending content to an online HTML-to-Markdown API. This expands the trust boundary and can leak sensitive Confluence data to external services or introduce supply-chain risk from unpinned packages and global installs.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The packaging step archives the entire output root rather than only the directory created for the current run. That can unintentionally include prior exports, unrelated artifacts, or other users' data, causing cross-run data leakage when the ZIP is delivered.

Content

No source excerpt is available for this finding.