Files
Agrici Daniel 99c9677a0b fix(agents,skills): treat fetched content as untrusted everywhere
Fourteen agents carried the untrusted-content rule; five agents with Bash
or MCP access and every main-thread skill did not, so a hostile page,
SERP snippet, sitemap or API payload could steer them.

- Add a Security Rules section with the canonical sentence to
  seo-dataforseo, seo-google, seo-sitemap and seo-image-gen (core and
  extension copies) and to the matomo extension agent.
- Add a Security section to every core and extension SKILL.md; append
  the rule to the existing sections in seo-cluster and seo-drift; make
  the seo-agentic wording use the exact sentence.
- seo-cluster agent: drop Bash, its body runs no command.
- seo-image-gen agent: fetch pages through fetch_page.py and stop
  pointing at nanobanana-mcp tools it cannot reach; the parent skill
  decides whether to generate.
- tests: require the sentence under a Security heading in every core and
  extension agent and skill, replacing the brittle count of 15.

Gates: pytest 1023 passed on 3.10 and 3.14; consistency 0 errors (the 4
orphan warnings are the private research files, unchanged); portability
0 errors; every SKILL.md under 500 lines.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 51ad4b6cd735aa03454dbd397c65b015b5561495)
(cherry picked from commit 6ff7cf043b2dc0d00120bb3d92f1ece553237548)
2026-10-22 18:13:17 +03:00
..