T09 · Insecure Skill Coding Practices
- Location
SKILL.md:43- Finding
Unsupported Fact and Persona Injection During Text Rewriting
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:43-61, with unsafe examples atSKILL.md:110,SKILL.md:138, andSKILL.md:421; the last example is repeated atREADME.md:73
Vulnerability Type: Content-integrity failure caused by unsafe rewriting instructions
Risk Level: MediumComplete Vulnerable Snippets
The skill directs the agent to add opinions, first-person statements, emotions, and intentionally imperfect material:
text **Miej zdanie.** Nie relacjonuj tylko faktów — reaguj na nie. „Szczerze nie wiem, co o tym myśleć" jest bardziej ludzkie niż neutralne wylistowanie za i przeciw. **Różnicuj rytm.** Krótkie zdania. Potem dłuższe, które nie spieszą się, żeby dojść do sedna. Mieszaj. **Przyznawaj się do złożoności.** Ludzie mają mieszane uczucia. „To robi wrażenie, ale trochę niepokoi" wygrywa z „To robi wrażenie." **Używaj „ja", gdy to pasuje.** Pierwsza osoba nie jest nieprofesjonalna — jest uczciwa. „Ciągle wracam do…" albo „Nie daje mi spokoju…" sygnalizuje, że za tekstem stoi żywy człowiek. **Pozwól na odrobinę bałaganu.** Idealna struktura wygląda algorytmicznie. Dygresje, wtrącenia i nie do końca uformowane myśli — to jest ludzkie. **Bądź konkretny w uczuciach.** Nie „to budzi obawy", ale „jest coś niepokojącego w agentach, które mielą kod o trzeciej w nocy, kiedy nikt nie patrzy."Several recommended rewrites introduce unsupported facts or attributions:
text Świątynia jest utrzymana w kolorach niebieskim, zielonym i złotym. Architekt powiedział, że nawiązują one do lokalnych chabrów i wybrzeża Zatoki.text Rzeka Haolai jest siedliskiem kilku endemicznych gatunków ryb, według badania Chińskiej Akademii Nauk z 2019 roku.text Aktualizacja dodaje przetwarzanie wsadowe, skróty klawiaturowe i tryb offline. Wstępne opinie beta testerów są pozytywne — większość zgłasza szybsze wykonywanie zadań.Technical Analysis
The skill states that rewr ...[truncated 2665 chars]
- Remediation
View remediation
Remediation Suggestions
- Add an explicit invariant that the agent must not introduce facts, sources, quotations, metrics, product features, opinions, emotions, or first-person claims absent from the input.
- Replace every example that invents attribution or factual detail with a rewrite that preserves all original factual assertions.
- Instruct the agent to retain vague wording when the source is vague, or to ask the user for the missing details rather than generating them.
- Require placeholders such as
[source needed]or[confirm specific feature]when concrete information is necessary but unavailable. - Distinguish stylistic editing from substantive editing. Any semantic addition should require explicit user approval.
- Before using
WriteorEdit, compare the proposed result with the source and flag newly introduced names, dates, citations, quotations, numbers, capabilities, and first-person assertions. - Default to returning a proposed rewrite for review rather than modifying the original file when the factual-difference check detects semantic changes.
- Add regression tests containing factual, legal, academic, and technical passages to verify that humanization changes style without adding unsupported propositions.
