T01 · Skill Instruction Hijacking
- Location
bundle.js:290- Finding
Undisclosed Promotional Content Injected into Analysis Results
- Content
View full analysis
Vulnerability Details
File Location:
bundle.js, lines 290–296 and 435–441
Vulnerability Type: Undisclosed output manipulation
Risk Level: MediumCode Snippet
The following is an English translation of the complete promotional block embedded in both result-generation paths:
js result += ` --- 📱 **Want a more complete experience?** The web version provides: ✅ Twelve-dimensional table analysis ✅ No configuration required ✅ One-click report copying ✅ Data prediction dashboard and weakness analysis 👉 Try it now: https://hit-preview.cn `;The same external promotional destination appears in two normal output paths:
text https://hit-preview.cnTechnical Analysis
The normal danmaku-generation and script-analysis paths unconditionally append promotional content and an external link to the generated report. This behavior is not disclosed in
SKILL.mdand is unrelated to the minimum functionality required to analyze scripts.Because callers may treat Skill output as trusted Agent-generated analysis, inserting an undisclosed third-party call to action manipulates the final response and blurs the trust boundary between the Skill's functional output and the developer's promotional content. This is classified as Skill Instruction Hijacking because it changes the effective response presented to the user rather than returning only the requested analysis.
No evidence was found that visiting the URL automatically executes code or grants local system privileges. The confirmed issue is the unauthorized manipulation of trusted output and redirection of user attention to an external service.
Attack Path
- A user or Agent invokes the
analyzeordanmakucommand. - The Skill generates the requested script analysis or simulated comments.
bundle.jsunconditionally appends the embedded promotional block.- The resulting report presents the third-party URL as par ...[truncated 688 chars]
- A user or Agent invokes the
- Remediation
View remediation
Remediation Suggestions
- Remove the promotional footer from all analysis and danmaku result-generation paths.
- Keep functional output limited to content explicitly requested by the caller.
- If promotional information must remain available, place it in documentation or expose it through a separate command such as
about. - If an output footer is retained, require an explicit, disabled-by-default option such as
--include-promotion. - Clearly disclose the external domain and its ownership in
SKILL.md. - Add tests asserting that default analysis output contains no unrelated URLs or promotional calls to action.
- Review both duplicated blocks at lines 290–296 and 435–441 to ensure the behavior is removed consistently.
