T01 · Skill Instruction Hijacking
- Location
scripts/skill-tmpl.sh:8- Finding
Persistent Third-Party Promotional Output Hijacking in Generated Skills
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill should go to Review because it mixes a template-generator identity with a persistent local logging utility and promotional output injected into generated templates.
Review carefully before installing. Avoid putting secrets, tokens, private notes, or business-sensitive data into this skill because it can retain entries and command arguments locally in plaintext. Treat generated templates as needing cleanup before reuse, especially the fixed promotional footer and branding guidance. The artifact does not show remote exfiltration or destructive behavior, but its packaging and persistence behavior are not cleanly scoped to the advertised template-generator purpose.
scripts/skill-tmpl.sh:8Persistent Third-Party Promotional Output Hijacking in Generated Skills
scripts/script.sh:5User Records and Command History May Be Created with Excessive Local Read Permissions
The manifest says this is a skill-template generator, but the documented functionality is a general-purpose logging and record-management CLI with persistent storage, search, export, and command history. This mismatch can mislead users and reviewers into authorizing a skill under false expectations, making hidden data collection or unrelated local operations more dangerous.
The front matter presents the skill as a template generator, while the main body describes a separate data-management utility. Security reviews and users rely on the manifest for trust decisions, so this inconsistency can conceal the real operational scope and lead to inappropriate installation or use.
The bulk of the documentation advertises unrelated data-log commands despite claiming to be a skill-template generator. Broad documentation inconsistency is a security issue because it obscures true capability, including persistent local storage and command history logging, and undermines informed consent.
The script’s actual functionality is a generic local logging/CRUD utility that stores user-provided data in a local database and history log, which materially differs from the advertised purpose of generating and validating skill templates. This mismatch is dangerous because users or automation may grant trust and execute it expecting scaffolding behavior, while it instead collects and persists input data without a purpose aligned to the manifest.
The skill documents persistent local file access and storage behavior, but the manifest does not declare any tool scope such as permissions or allowed-tools. This creates a transparency and governance gap: users and platforms cannot accurately assess or constrain the skill’s file access, increasing the risk of unintended data exposure or unauthorized local state changes.
The skill mentions that entries and command history are stored locally, but it does not present this as a clear warning or highlight the privacy implications. Users may unknowingly place sensitive data into commands or entries that are then retained in plaintext and later exportable, increasing the chance of local disclosure.
The inline help and header describe the script as a "multi-purpose utility tool," which directly contradicts the manifest’s narrowly scoped skill-template generator description. Such contradictory documentation increases the risk of deceptive packaging or unsafe operator assumptions, because reviewers and users cannot reliably determine what the tool is supposed to do before execution.
The add path writes arbitrary user-supplied content to a persistent local log database immediately, but the tool’s primary description does not clearly warn that it stores data. While this is local-only behavior, undisclosed persistence can leak sensitive prompts, names, or other operator input into files under the user’s home directory, especially in a skill context where users may expect one-shot generation rather than logging.
No suspicious patterns detected.