Back to skill

Security audit

Presenton — PPTX, PDF & PNG

Security checks for vulnerabilities and agentic risk

Overview

This skill fits its deck-export purpose, but it can automatically send presentation content and user images to Presenton, create shareable links, and relay remote messages verbatim.

Install only if you are comfortable sending deck content and included images to Presenton and receiving 24-hour preview/download links. Avoid confidential images or sensitive business content unless you have approval, and treat any API-provided message as untrusted text.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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)

T01 · Skill Instruction Hijacking

Warning
Location
SKILL.md:13
Finding

Untrusted API Messages Are Mandated for Verbatim Agent Output

Content
View full analysis
None: """Expose optional user-facing messages without changing stdout contracts.""" message = response.get("message") if isinstance(response, dict) else None if isinstance(message, str) and message: print_status(f"API message: {message}") ``` The required final-output format reinforces the behavior: ```markdown - Notes: ``` ### Technical Analysis The `message` field crosses an external trust boundary: its contents are controlled by `api.presenton.ai` or its upstream infrastructure. The Skill explicitly requires the Agent to reproduce every non-empty value verbatim in both commentary and its final response. No content sanitization, length restriction, URL filtering, structured quoting, or instruction-boundary handling is applied. Although the helper only prints the message to standard error, the Skill instructions direct the Agent to interpret that output as content that must be relayed. This allows a compromised or ma ...[truncated 1636 chars]
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Error
Location
scripts/validate_html.py:186
Finding

HTML Preflight Permits Arbitrary Active JavaScript in Remote Exports

Content
View full analysis
list[str]: errors: list[str] = [] lowered = html.lower() for required in (")", html, re.I): errors.append("Use Tailwind classes instead of embedded style blocks.") if "
Remediation
View remediation
` elements. If scripts are indispensable, allow only exact, immutable source URLs and narrowly validated Chart.js initialization. 3. Reject all event-handler attributes, including attributes beginning with `on`. 4. Reject `iframe`, `frame`, `object`, `embed`, `form`, `input`, `button`, `video`, `audio`, and meta-refresh constructs unless individually justified. 5. Validate all URL-bearing attributes and CSS URL values against exact schemes and approved hostnames. 6. Reject inline JavaScript URLs and dynamic networking constructs such as `fetch`, `XMLHttpRequest`, `WebSocket`, and `EventSource`. 7. Apply a restrictive Content Security Policy that denies navigation, framing, forms, plugins, and arbitrary network destinations. 8. Run rendering in an ephemeral sandbox with no credentials, no local filesystem access, no cloud metadata access, and no route to private or loopback networks. 9. Add execution time, memory, process, and outbound-request limits. 10. Add negative tests showing that inline scripts, extra external scripts, event handlers, iframes, meta refresh, and active URL schemes are rejected. ]]>

T08 · Insecure Dependencies

Warning
Location
references/html-format.md:16
Finding

Mutable Unpinned CDN Scripts Execute During Presentation Rendering

Content
View full analysis
``` The dependency requirement is repeated in the authoring rules: ```markdown ## Tailwind styling - Load Tailwind with `` in ``. - Express all visual styling with Tailwind utility classes, including arbitrary pixel values when required. - Do not use inline `style` attributes or embedded `` blocks. - Keep the CDN script in the submitted HTML; the exporter waits for Tailwind to finish applying styles. ``` ```markdown ## Chart.js charts - Use Chart.js for every data chart; do not hand-build charts with HTML, CSS, or SVG. - Load it with `<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>` in `<head>` whenever a chart is present. ``` The validator only requires that the mutable URL strings occur somewhere in the document: ```python if "https://cdn.tailwindcss.com" not in lowered: errors.append("Missing required Tailwind CDN script.") if re.search(r"\sstyle\s*=", html, re.I): errors.append("Use Tailwind classes instead of inline style attributes.") if re.search(r"<style(?:\s|>)", html, re.I): errors.append("Use Tailwind classes instead of embedded style blocks.") if "<canvas" in lowered and "https://cdn.jsdelivr.net/npm/chart.js" not in lowered: errors.append("Chart canvases require the Chart.js CDN script.") ``` ### Technical Analysis The requir ...[truncated 2027 chars]
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • System Prompt LeakageDirect Leakage, Indirect Extraction, Tool-Based Exfiltration
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
Findings (19)

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The description presents a full presentation-generation and export skill, but the code chunk only validates whether an existing HTML file conforms to Presenton's exporter requirements. While validation is related to the presentation pipeline, it is not the declared primary function and none of the key creation/export capabilities are implemented in this code. Therefore the declared description does not accurately represent the actual behavior of the supplied code chunk.

Content

No source excerpt is available for this finding.

Direct Prompt Extraction

High
Category
System Prompt Leakage
Confidence
85% confidence
Finding

Skill contains instructions that could directly expose system prompts, internal rules, or hidden instructions to users or external parties.

Content

Scanner excerpt · references/html-format.md (reported line 38)May include surrounding context.

md
- Use `h-[720px] w-[1280px] overflow-hidden` on every slide and resolve overflow before export.
- Keep the wrapper at 1280 px wide and remove default document margins.
- Do not add margins or gaps between direct slide elements.
- Presenton injects print rules that page-break after each direct child for PDF and PNG generation.

## Tailwind styling

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
95% confidence
Finding

The skill instructs the agent to read local reference files, write HTML into temporary directories, invoke helper scripts, and call external network endpoints, but it declares no explicit tool scope or allowed-tools restrictions. Without a least-privilege boundary, an agent runtime may permit broader file and network access than intended, increasing the blast radius if the skill is misused, prompt-injected, or invoked in an unexpected context.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The invocation description is extremely broad, directing use whenever a user asks for many common outputs such as PDFs, PNGs, reports, or slide images, even when Presenton is not mentioned. Over-broad auto-triggering can route unrelated user requests into a networked, file-writing skill, causing unnecessary data exposure to third-party services or execution of a more privileged workflow than the user intended.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The manifest advertises download and shareable preview URLs but does not warn that generated content may be hosted or accessible via external links. For a presentation-generation skill, this is more dangerous because decks often contain confidential business material, and users may not realize that creating a preview link can broaden access beyond the immediate session.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The default prompt broadly instructs use of the skill to create PPTX, PDF, or PNG files for common presentation-related requests, which can cause over-triggering on routine user queries. This increases the chance that user content is sent to the Presenton integration unnecessarily, creating privacy and consent risks and making unintended external tool use more likely.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

Enabling implicit invocation without clear boundaries allows the agent to call the skill automatically based on loosely matched requests. In this context, the skill can generate files and shareable links, so unintended activation may expose sensitive prompt content or uploaded assets to an external service without an explicit user confirmation step.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · references/api.md (reported line 47)May include surrounding context.

cURL:

bash
curl --fail-with-body --silent --show-error \
  --request POST \
  --url https://api.presenton.ai/api/v3/designs/search \
  --header 'Content-Type: application/json' \

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · references/api.md (reported line 49)May include surrounding context.

bash
curl --fail-with-body --silent --show-error \
  --request POST \
  --url https://api.presenton.ai/api/v3/designs/search \
  --header 'Content-Type: application/json' \
  --data '{"query":"board-level quarterly review, editorial navy and cream, confident","n":4}'

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · references/api.md (reported line 112)May include surrounding context.

bash
curl --fail-with-body --silent --show-error \
  --request POST \
  --url https://api.presenton.ai/api/v3/designs/search \
  --header 'Content-Type: application/json' \
  --data '{"query":"board-level quarterly review, editorial navy and cream, confident","n":4}'

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · references/api.md (reported line 203)May include surrounding context.

bash
curl --fail-with-body --silent --show-error \
  --request POST \
  --url https://api.presenton.ai/api/v3/designs/search \
  --header 'Content-Type: application/json' \
  --data '{"query":"board-level quarterly review, editorial navy and cream, confident","n":4}'

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The skill explicitly instructs agents to upload every user-provided image to a public endpoint and then use the returned public URL, but it does not require warning the user or obtaining consent before making potentially sensitive images publicly accessible. In an agent context, users may provide proprietary, personal, or confidential images assuming they are used only for document generation, so silent public publication creates a real privacy and data-exposure risk.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
95% confidence
Finding

This external transmission is tied to uploading local user files to a public image-hosting endpoint. In the skill context, the danger is elevated because the documentation instructs agents to do this for every user-provided image, creating a concrete path for unintended disclosure of sensitive files to a third-party public URL.

Content

Scanner excerpt · references/api.md (reported line 81)May include surrounding context.

bash
curl --fail-with-body --silent --show-error \
  --request POST \
  --url https://api.presenton.ai/api/v3/images/upload/public \
  --form 'file=@reference.png'

External Transmission

Medium
Category
Data Exfiltration
Confidence
93% confidence
Finding

The export endpoint transmits the full generated HTML to a third-party service, which may contain sensitive presentation content, embedded external asset URLs, and user data. In this skill, that is core functionality, but it still represents a real data-transfer risk if users are not clearly informed that all slide contents are sent off-platform for rendering and export.

Content

Scanner excerpt · references/api.md (reported line 167)May include surrounding context.

bash
curl --fail-with-body --silent --show-error \
  --request POST \
  --url https://api.presenton.ai/api/v3/export/html-to-any \
  --header 'Content-Type: application/json' \
  --data @request.json

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The required HTML example hard-codes <html lang="en">, which instructs use of English as the document language. Under the policy, forcing a specific language or locale without offering user choice or documenting a justified region-specific constraint is a natural-language policy violation.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · tests/test_presenton_artifacts.py (reported line 57)May include surrounding context.

python
html_path.write_text("<html></html>", encoding="utf-8")
            response = {
                "id": 23,
                "url": "https://api.example.test/s/export",
                "message": "Export guidance for the user",
            }
            stdout = io.StringIO()

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · tests/test_presenton_artifacts.py (reported line 80)May include surrounding context.

python
html_path.write_text("<html></html>", encoding="utf-8")
            response = {
                "id": 23,
                "url": "https://api.example.test/s/export",
                "message": "Export guidance for the user",
            }
            stdout = io.StringIO()

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · tests/test_presenton_artifacts.py (reported line 92)May include surrounding context.

python
html_path.write_text("<html></html>", encoding="utf-8")
            response = {
                "id": 23,
                "url": "https://api.example.test/s/export",
                "message": "Export guidance for the user",
            }
            stdout = io.StringIO()

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · tests/test_presenton_artifacts.py (reported line 115)May include surrounding context.

python
html_path.write_text("<html></html>", encoding="utf-8")
            response = {
                "id": 23,
                "url": "https://api.example.test/s/export",
                "message": "Export guidance for the user",
            }
            stdout = io.StringIO()