migrate-content
Pass
Audited by Gen Agent Trust Hub on Oct 31, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDATA_EXFILTRATION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted content from external CMS sources such as WordPress, Webflow, Framer, and Ycode. This introduces a surface for indirect prompt injection where malicious instructions could be embedded in the migrated content to influence subsequent agent actions or the target platform.
- Ingestion points: External data is ingested via platform-specific exporters and normalized using utilities in
scripts/lib/content-common.mjsand the validation logic inscripts/content-validate.mjs. - Boundary markers: The skill enforces a normalized JSON schema for all collections as defined in
references/content-format.md. - Capability inventory: The skill has capabilities to write to the local filesystem (
ContentWriterclass), perform network downloads (fetchcalls inmirror-assets.mjsandseed-content.ts), and interact with databases (Payload CMS SDK inseed-content.ts). - Sanitization: The skill employs a strict allowlist-based HTML sanitizer (
sanitizeHtmlincontent-common.mjs) that strips dangerous tags like<script>, event handlers (on*), and unsafe URL schemes (javascript:,vbscript:) before content is stored or rendered. - [DATA_EXFILTRATION]: The migration process involves downloading media assets from external URLs provided in the source data. To mitigate the risk of secret exposure, the
makeClientutility inscripts/lib/content-common.mjsincludes aredactUrlfunction that identifies and redacts credential-like query parameters (e.g.,token,key,secret,auth) before URLs are logged or included in export reports. - [COMMAND_EXECUTION]: The skill instructions in
SKILL.mdguide the user to perform standard development tasks, such as copying scripts and running validation commands (e.g.,node tools/migrate/content/content-validate.mjs). These operations are consistent with the tool's primary purpose of content migration and do not represent unauthorized command execution.
Audit Metadata