Back to skill

Security audit

NotebookLM PDF Cleaner

Security checks for vulnerabilities and agentic risk

Overview

This skill is a narrow local PDF cleanup helper with disclosed optional inspection and metadata/annotation stripping flags.

Install only if you want a local helper for NotebookLM slide-deck PDFs. Be deliberate with --strip-metadata and --strip-annots because they can remove document provenance or review information from the cleaned copy; keep the original PDF as the skill recommends.

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
  • 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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (2)

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill is presented as a narrowly scoped NotebookLM footer-masking utility, but it also includes capabilities to inspect document metadata and outlines and to remove annotations/metadata. These features expand the tool beyond its declared purpose and can be used to hide provenance, comments, links, or review artifacts from PDFs, making the behavior more dangerous than the manifest suggests.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

The inspect_pdf routine exposes document metadata, outline structure, and annotation counts even though the stated skill purpose is only to mask a small footer badge. While not code-execution dangerous, this unnecessary inspection capability broadens access to document information and creates a mismatch between the advertised scope and actual behavior.

Content

No source excerpt is available for this finding.