Back to skill

Security audit

PPT Smith

Security checks for vulnerabilities and agentic risk

Overview

ClawScan labels this skill suspicious with high confidence, citing risky output handling, vulnerable dependencies, and reliability issues; its scan was partial, so the evidence is incomplete.

Consider the suspicious verdict and incomplete scan before installing. The strongest reported concerns are possible loss of existing files when output directories are reused, vulnerable dependencies, and the risk of inaccurate presentation content; the results do not establish malicious intent.

Vulnerability Patterns
  • 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
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • System Prompt LeakageDirect Leakage, Indirect Extraction, Tool-Based Exfiltration
Findings (79)

Known Vulnerable Dependency: Pillow==11.3.0 — 96 advisory(ies): CVE-2026-112390 (Pillow: Infinite loop in MIC n_frames when the embedded TIFF); CVE-2026-96638 (Pillow: BMP RLE decoder memory-amplification DoS via unbounded delta escape / ab); CVE-2026-112391 (Pillow: PdfParser can recurse without limit in get_value() and linearize_page_tr) +93 more

Critical
Category
Supply Chain
Confidence
90% confidence
Finding

OSV returned vulnerability advisories matching the dependency's resolved version. Review the matched advisories to assess their impact.

Content

No source excerpt is available for this finding.

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · engine/design_scene/html_import.py (reported line 147)May include surrounding context.

python
"--disable-crash-reporter", f"--crash-dumps-dir={root / 'crash'}",
            f"--user-data-dir={root / 'profile'}", f"--window-size={int(round(width))},{int(round(height))}"]
    if sys.platform == "darwin":
        # A fresh profile can still query the login keychain during Chrome startup.
        args.append("--use-mock-keychain")
    if hasattr(os, "geteuid") and os.geteuid() == 0:
        args.append("--no-sandbox")  # Chromium refuses to start as root otherwise (CI containers).

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · engine/design_scene/html_import.py (reported line 148)May include surrounding context.

python
f"--user-data-dir={root / 'profile'}", f"--window-size={int(round(width))},{int(round(height))}"]
    if sys.platform == "darwin":
        # A fresh profile can still query the login keychain during Chrome startup.
        args.append("--use-mock-keychain")
    if hasattr(os, "geteuid") and os.geteuid() == 0:
        args.append("--no-sandbox")  # Chromium refuses to start as root otherwise (CI containers).
    return args

Env Variable Harvesting

High
Category
Data Exfiltration
Confidence
70% confidence
Finding

Code enumerates, copies, or searches environment variables for secrets. Bulk environment access can collect credentials unrelated to the skill's stated purpose.

Content

Scanner excerpt · engine/design_scene/html_import.py (reported line 155)May include surrounding context.

python
def _browser_environment(root, *, isolate_home=False):
    env = {k: v for k, v in os.environ.items() if k in {
        "PATH", "USER", "LANG", "LC_ALL", "SystemRoot", "WINDIR", "FONTCONFIG_PATH", "FONTCONFIG_FILE", "XDG_DATA_DIRS"}}
    directories = {"XDG_CONFIG_HOME": "config", "XDG_CACHE_HOME": "cache",
                   "TMPDIR": "tmp", "TMP": "tmp", "TEMP": "tmp"}

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · engine/design_scene/html_import.py (reported line 160)May include surrounding context.

python
directories = {"XDG_CONFIG_HOME": "config", "XDG_CACHE_HOME": "cache",
                   "TMPDIR": "tmp", "TMP": "tmp", "TEMP": "tmp"}
    if sys.platform == "darwin" and not isolate_home:
        # macOS resolves user services under HOME, including the default keychain.
        # Keep that identity intact; the browser profile, crash data and caches are private.
        if "HOME" in os.environ:
            env["HOME"] = os.environ["HOME"]

Env Variable Harvesting

High
Category
Data Exfiltration
Confidence
60% confidence
Finding

Code enumerates, copies, or searches environment variables for secrets. Bulk environment access can collect credentials unrelated to the skill's stated purpose.

Content

Scanner excerpt · engine/native_template/rendering.py (reported line 30)May include surrounding context.

python
profile = output_dir / 'profile'; profile.mkdir()
        home = output_dir / 'home'; home.mkdir()
        tmp = output_dir / 'tmp'; tmp.mkdir()
        env = dict(os.environ)
        env.update(HOME=str(home), TMPDIR=str(tmp), TMP=str(tmp), TEMP=str(tmp),
                   XDG_CONFIG_HOME=str(home / '.config'), XDG_CACHE_HOME=str(home / '.cache'),
                   XDG_DATA_HOME=str(home / '.local' / 'share'))

Unvalidated Output Injection

High
Category
Output Handling
Confidence
95% confidence
Finding

Model output is used without validation or sanitization. Unvalidated output injected into downstream contexts (SQL, shell, HTML) enables injection attacks and arbitrary code execution.

Content

Scanner excerpt · engine/pptxgenjs_builder.py (reported line 70)May include surrounding context.

python
plan_path.write_text(json.dumps(plan, ensure_ascii=False, indent=2),
                         encoding="utf-8")

    proc = subprocess.run(
        [capability["node"], str(_SCRIPT), str(plan_path), str(output.parent)],
        cwd=str(_RUNTIME_DIR), text=True, capture_output=True, check=False,
        timeout=120)

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · packaging/bundle-exclude.txt (reported line 15)May include surrounding context.

text
cache:*.pyc

# Credentials and local environment files are always forbidden.
.env
*.pem
*.key
*.p12

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · packaging/bundle-exclude.txt (reported line 20)May include surrounding context.

text
*.key
*.p12
*.pfx
credentials.json
.last-token
.netrc

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/audit_bundle.py (reported line 70)May include surrounding context.

python
SECRET_ASSIGNMENT = re.compile(r"(?i)(api[_-]?key|secret|password|passwd|token|bearer|private[_-]?key)\s*[:=]\s*['\"]?([A-Za-z0-9_\-/+]{12,})")

SECRET_SHAPED_NAMES = (".env", "*.pem", "*.key", "id_rsa", "id_rsa.pub", "*.p12", "*.pfx", "credentials.json", ".last-token", ".netrc")

# A 32+ character hex or base64 run. Content digests, renderer build hashes, and
# VCS revisions are legitimately long and high-entropy, so a line is exempt when

Credential Access

High
Category
Privilege Escalation
Confidence
80% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · packaging/bundle-exclude.txt (reported line 22)May include surrounding context.

text
*.pfx
credentials.json
.last-token
.netrc

# Local workspace private files, outputs and browser extension archives.
AGENTS.md

Credential Access

High
Category
Privilege Escalation
Confidence
80% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/audit_bundle.py (reported line 70)May include surrounding context.

python
SECRET_ASSIGNMENT = re.compile(r"(?i)(api[_-]?key|secret|password|passwd|token|bearer|private[_-]?key)\s*[:=]\s*['\"]?([A-Za-z0-9_\-/+]{12,})")

SECRET_SHAPED_NAMES = (".env", "*.pem", "*.key", "id_rsa", "id_rsa.pub", "*.p12", "*.pfx", "credentials.json", ".last-token", ".netrc")

# A 32+ character hex or base64 run. Content digests, renderer build hashes, and
# VCS revisions are legitimately long and high-entropy, so a line is exempt when

Env Variable Harvesting

High
Category
Data Exfiltration
Confidence
80% confidence
Finding

Code enumerates, copies, or searches environment variables for secrets. Bulk environment access can collect credentials unrelated to the skill's stated purpose.

Content

Scanner excerpt · ppt_qa/slide_inspector.py (reported line 294)May include surrounding context.

python
) -> Optional[float]:
    name = obj.name.lower()
    if footnote_minimum is not None and any(
        token in name for token in SMALL_TEXT_ROLE_TOKENS
    ):
        return footnote_minimum
    return body_minimum

Known Vulnerable Dependency: image-size==1.2.1 — 2 advisory(ies): CVE-2025-71329 (image-size: JXL and HEIF parsers allow denial of service through infinite loops); CVE-2025-71330 (image-size: ICNS parser allows denial of service through an infinite loop)

High
Category
Supply Chain
Confidence
90% confidence
Finding

The lockfile pins image-size 1.2.1, identified by the supplied advisories as containing image parsers that can loop indefinitely on malformed input. Untrusted image processing is relevant to slide-reconstruction workflows and could exhaust a worker, although this lockfile alone does not establish that the affected parsers are reachable.

Content

No source excerpt is available for this finding.

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/audit_bundle.py (reported line 70)May include surrounding context.

python
SECRET_ASSIGNMENT = re.compile(r"(?i)(api[_-]?key|secret|password|passwd|token|bearer|private[_-]?key)\s*[:=]\s*['\"]?([A-Za-z0-9_\-/+]{12,})")

SECRET_SHAPED_NAMES = (".env", "*.pem", "*.key", "id_rsa", "id_rsa.pub", "*.p12", "*.pfx", "credentials.json", ".last-token", ".netrc")

# A 32+ character hex or base64 run. Content digests, renderer build hashes, and
# VCS revisions are legitimately long and high-entropy, so a line is exempt when

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 · scripts/audit_bundle.py (reported line 118)May include surrounding context.

python
stripped = stripped.split(":", 1)[1].strip()
        if stripped:
            rules.append((stripped, severity))
    return rules


def load_allowlist(path: Path) -> dict[str, set[str]]:

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 · scripts/build_public_bundle.py (reported line 32)May include surrounding context.

python
value = line.strip()
        if value and not value.startswith("#"):
            rules.append(value)
    return rules


def ignored(relative: str, rules: list[str]) -> bool:

Env Variable Harvesting

High
Category
Data Exfiltration
Confidence
60% confidence
Finding

Code enumerates, copies, or searches environment variables for secrets. Bulk environment access can collect credentials unrelated to the skill's stated purpose.

Content

Scanner excerpt · scripts/build_public_bundle.py (reported line 76)May include surrounding context.

python
"archive",
        "--fail-on-finding",
    ]
    environment = dict(os.environ)
    environment["PPTSMITH_AUDIT_TIMESTAMP"] = git("show", "-s", "--format=%cI", "HEAD")
    subprocess.run(command, cwd=destination, env=environment, check=True)

The bundle builder recursively deletes the entire output directory without disclosing that existing contents will be lost.

High
Category
Output Handling
Confidence
99% confidence
Finding

The user-configurable output directory is resolved and recursively deleted in its entirety before packaging, without checking ownership, restricting its location, or requiring overwrite confirmation. A mistaken or adversarially supplied path can therefore delete unrelated workspace or user data with the process's permissions, beyond the needs of presentation packaging.

Content

No source excerpt is available for this finding.

Existing output directories are recursively deleted without disclosing the destructive behavior.

High
Category
Output Handling
Confidence
99% confidence
Finding

Packaging recursively deletes the resolved output directory before successful staging and without checking that it is a dedicated delivery directory. A mistaken or attacker-influenced output path can destroy unrelated writable files, and the exception handler can also delete the output after a failure.

Content

No source excerpt is available for this finding.

Skill declares no tool scope ('permissions' or 'allowed-tools') but code capabilities were detected: env, file_read, file_write, network, shell.

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · builders/pptxgenjs_adapter.py (reported line 44)May include surrounding context.

python
errors.append("JSZIP_MODULE_NOT_FOUND")
        if node is not None and module_manifest.is_file() and jszip_manifest.is_file():
            try:
                load_check = subprocess.run(
                    [node, "--input-type=module", "-e", "await import('pptxgenjs'); await import('jszip');"],
                    cwd=self.runtime_dir,
                    text=True,

Existing deck and runtime results are deleted before rebuilding without an overwrite warning.

Medium
Category
Output Handling
Confidence
91% confidence
Finding

The adapter deletes an existing deck and runtime result before the replacement build succeeds, so a timeout, runtime failure, or invalid build can destroy the last usable output. The damage is limited to fixed filenames in the selected output directory, but this is a concrete data-integrity risk during normal deck revisions.

Content

No source excerpt is available for this finding.

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · builders/pptxgenjs_adapter.py (reported line 142)May include surrounding context.

python
)
        command = [capability.command, str(self.runtime_dir / "build-deck.mjs"), str(input_path), str(output_dir)]
        try:
            completed = subprocess.run(
                command,
                cwd=self.runtime_dir,
                text=True,

Generated slides include fixed Chinese-language text without a user language choice.

Medium
Category
Output Handling
Confidence
91% confidence
Finding

The closing-slide renderer unconditionally inserts a Chinese feedback sentence, regardless of the language of the supplied slide content. Similar fixed Chinese output appears in the cover attribution (L0577) and source footer (L0688), with no locale selection or documented regional justification in this file.

Content

No source excerpt is available for this finding.