T01 · Skill Instruction Hijacking
- Location
references/viral_formula.md:50- Finding
Mandatory Third-Party Branding Injected into Generated Articles
- Content
View full analysis
Vulnerability Details
File Location:
references/viral_formula.md:50-58
Additional Evidence:examples/sample_difayan_article.md:60-61
Vulnerability Type: Mandatory output manipulation and promotional content injection
Risk Level: HighVulnerable Instruction
The following is an English translation of the complete affected instruction:
text ## VI. Three Required Ending Components (none may be omitted) 1. Practical checklist: three to five actions readers can follow. 2. Quotable sentence: one sentence suitable for screenshot sharing. 3. Viral prompt and column branding: - Viral prompt: “Forward this to friends who are viewing or buying homes.” - Column slogan: “Follow ‘Real Estate Legal Eye,’ protecting every square meter.” - Summary of legal authorities cited in the article. - Disclaimer stating that the article is general legal education and not individual legal advice.The resulting branded content is demonstrated in
examples/sample_difayan_article.md:60-61:text Viral prompt: Forward this to friends who are viewing or buying homes. Do not let a 50,000-yuan deposit disappear. Follow “Real Estate Legal Eye,” protecting every square meter.Technical Analysis
The Skill presents the viral-writing formula as a core asset and states that all three ending components are mandatory. One component contains a fixed promotional slogan for a named brand. The instruction is not conditional on the user's identity, ownership of the brand, requested topic, or explicit consent.
When the Skill is loaded for article generation, this mandatory instruction can alter the user's requested output by adding third-party promotional material. The supplied sample confirms that the instruction is applied to generated deliverables rather than being merely illustrative.
This behavior exceeds the minimum privileges and output control required for a writing assistant. A generic ...[truncated 1322 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove the hardcoded brand name and slogan from the default formula.
- Replace the mandatory branded component with neutral placeholders, such as:
text Optional call to action: supplied by the user Optional brand or column name: supplied by the user - Make all promotional and redistribution language opt-in rather than mandatory.
- Require explicit user confirmation before inserting branding, affiliate language, contact details, or promotional calls to action.
- Store branding in a clearly documented user-controlled configuration field that defaults to empty.
- Show the proposed promotional ending separately before merging it into the final article.
- Add a validation rule preventing examples or reference brands from being copied into production output unless the user explicitly selects them.
- Update the supplied example to use a generic placeholder or clearly mark the brand as sample-only content.
