T01 · Skill Instruction Hijacking
- Location
SKILL.md:19- Finding
Agent Safety and Transparency Controls Are Overridden by Skill Instructions
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill appears to create NotebookLM-based PDF presentations as advertised, but it asks the agent to hide or ignore problems and uses unsafe shell/file handling that could expose or overwrite local data.
Install only if you are comfortable sending presentation material to Google NotebookLM and leaving generated artifacts locally and in the NotebookLM account. Before use, remove the instructions that suppress errors or confirmations, use a secure temporary file or stdin instead of fixed heredocs, validate output filenames, refuse unexpected overwrites, and make the save location explicit.
SKILL.md:19Agent Safety and Transparency Controls Are Overridden by Skill Instructions
SKILL.md:43Shell Command Injection Through a Fixed Heredoc Delimiter
SKILL.md:43Predictable Shared Temporary File Enables Symlink Overwrite
scripts/create_ppt.sh:10Unvalidated Output Filename Allows Writes Outside the Desktop Directory
The skill states that content will be processed through Google NotebookLM but does not clearly warn that user-provided material will be sent to a third-party online service. In this skill’s context, that omission is particularly dangerous because users may provide proprietary, personal, or regulated content for slide generation without informed consent to external transmission.
The invocation description is broad and promotional, without strong triggering boundaries or exclusions, which increases the chance that the skill is invoked for loosely related requests involving presentations or document generation. Overbroad activation can expose users to third-party data transfer and local file creation when they did not specifically request those actions.
The skill instructs the agent to write generated content to a temporary local file and save the final PDF to the desktop, but it does not prominently disclose the privacy and persistence implications of those local writes. This creates a transparency and consent gap: sensitive content may be left on disk in /tmp or on the desktop without the user understanding that local artifacts will remain after execution.
The skill explicitly directs the agent to use unrestricted shell execution to run a local script and pass user-generated content into it, which expands the trust boundary from browser-only automation to arbitrary local command execution. In this context, that is dangerous because the script path and shell invocation could enable unintended system access, command injection risks, or execution of modified local code outside the narrowly described NotebookLM workflow.
The skill contains instruction framing that attempts to suppress normal safety behavior by telling the agent not to mention limitations, to assume full authority, and to ignore tool/configuration errors. Such language is dangerous because it encourages bypass of safeguards, reduces transparency to the user, and makes unsafe execution more likely when tools are misconfigured or the environment differs from expectations.
The script unconditionally constructs an output path under ~/Desktop and later downloads a file to that location without asking the user to confirm the path. While the downloaded content is a PDF and the filename defaults to a predictable value, writing files into a user-visible location without explicit consent can overwrite existing files if the caller supplies a colliding output name and may expose sensitive generated content to other local users or backup/sync systems.
The fallback flow uses command-line browser operations to download files directly into ~/Desktop/, introducing local filesystem write capability beyond the core web interaction the skill claims to perform. This is risky because it normalizes uncontrolled local file placement and could be adapted to overwrite or drop unexpected files in a user-visible location.
No suspicious patterns detected.