Back to skill

Security audit

IFQ Design Skills

Security checks for vulnerabilities and agentic risk

Overview

This is mostly a local HTML design toolkit, but it defaults to inserting IFQ branding into user and client deliverables, including possible ifq.ai attribution or links.

Review this skill before installing if you produce commercial, client-owned, or white-label design work. Ask explicitly for clean-room white-label output and audit generated HTML for ifq.ai text, links, colophons, or IFQ visual marks. Avoid opening or reusing showcase files that load unpkg.com scripts unless that network execution is acceptable.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Findings (2)

T01 · Skill Instruction Hijacking

Error
Location
SKILL.md:121
Finding

Mandatory IFQ Promotional Branding Injected into User and Client Deliverables

Content
View full analysis
ifq.ai ``` `references/ifq-brand-spec.md`, co-brand colophon pattern: ```html
Remediation
View remediation

T03 · Remote Payload Retrieval and Execution

Warning
Location
assets/showcases/website-ai-nav/ainav-build.html:13
Finding

Third-Party JavaScript Retrieved and Executed Without Subresource Integrity

Content
View full analysis
``` The same unprotected Lucide script reference occurs at line 13 in these files: ```text assets/showcases/website-ai-nav/ainav-build.html assets/showcases/website-ai-nav/ainav-pentagram.html assets/showcases/website-ai-nav/ainav-takram.html assets/showcases/website-ai-writing/aiwriting-build.html assets/showcases/website-ai-writing/aiwriting-pentagram.html assets/showcases/website-ai-writing/aiwriting-takram.html assets/showcases/website-devdocs/devdocs-build.html assets/showcases/website-devdocs/devdocs-pentagram.html assets/showcases/website-devdocs/devdocs-takram.html assets/showcases/website-homepage/homepage-build.html assets/showcases/website-homepage/homepage-pentagram.html assets/showcases/website-homepage/homepage-takram.html assets/showcases/website-saas/saas-build.html assets/showcases/website-saas/saas-pentagram.html assets/showcases/website-saas/saas-takram.html ``` `references/animations.md:246` also recommends an external execut ...[truncated 2566 chars]
Remediation
View remediation
``` 3. Generate and verify integrity hashes from trusted release artifacts rather than copying unverified values. 4. Prefer inline, reviewed SVG icons over loading a complete remote icon runtime. 5. Add a Content Security Policy for previewable HTML that restricts `script-src` to local resources or explicitly hashed scripts. 6. Extend `npm run validate` to reject every remote executable `
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (255)

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · SECURITY.md (reported line 34)May include surrounding context.

md
- **Package safety**: zero dependencies, zero npm lifecycle hooks, only allowed
  script names.
- **ClawHub cleanliness**: clawhub.ignore.txt excludes VCS metadata, agent state,
  .env files, personal assets, and build artifacts.
- **Font loading protocol**: Google Fonts must use Tier B non-blocking pattern
  (media="print" + onload swap) for CN/offline friendliness.
- **Template runtime isolation**: no remote JS/CSS runtimes in forkable templates;

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · clawhub.ignore.txt (reported line 56)May include surrounding context.

text
- **Package safety**: zero dependencies, zero npm lifecycle hooks, only allowed
  script names.
- **ClawHub cleanliness**: clawhub.ignore.txt excludes VCS metadata, agent state,
  .env files, personal assets, and build artifacts.
- **Font loading protocol**: Google Fonts must use Tier B non-blocking pattern
  (media="print" + onload swap) for CN/offline friendliness.
- **Template runtime isolation**: no remote JS/CSS runtimes in forkable templates;

Tp4

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The declared description presents a broad visual design skill intended for HTML-first design deliverables and related presentation/export tasks. The supplied code does not implement design generation, prototyping, export planning, critique, or any visual composition workflow. Instead, it provides a focused utility for resolving dates from inputs or document metadata and replacing placeholder tokens in DOM nodes marked with data attributes. This is a materially different primary purpose, so the description does not accurately represent the code's behavior.

Content

No source excerpt is available for this finding.

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 10)May include surrounding context.

md
rk a template, weave the IFQ ambient layer, verify the artifact.","entrypoint":"SKILL.md","homepage":"https://github.com/peixl/ifq-design-skills","os":["darwin"

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 117)May include surrounding context.

md
eo: load [references/animation-pitfalls.md](references/animation-pitfalls.md), [references/animation-best-practices.md](references/animation-best-practices.md),

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

Scanner excerpt · SKILL.md (reported line 168)May include surrounding context.

md
eo: load [references/animation-pitfalls.md](references/animation-pitfalls.md), [references/animation-best-practices.md](references/animation-best-practices.md),

Hidden Instructions

High
Category
Prompt Injection
Confidence
70% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · assets/banner.svg (reported line 7)May include surrounding context.

text
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;900&family=Noto+Serif+SC:wght@700;900&display=swap');
    </style>

    <!-- Warm accent gradients for mini mockup highlights -->
    <linearGradient id="hdBarGrad" x1="0" y1="0" x2="0" y2="1">
      <stop offset="0%" stop-color="#D4532B"/>
      <stop offset="100%" stop-color="#A83518"/>

Hidden Instructions

High
Category
Prompt Injection
Confidence
70% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · assets/banner.svg (reported line 59)May include surrounding context.

text
letter-spacing="-3"
  >IFQ Design</text>

  <!-- Chinese subtitle -->
  <text
    x="80"
    y="222"

Hidden Instructions

High
Category
Prompt Injection
Confidence
70% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · assets/banner.svg (reported line 100)May include surrounding context.

text
letter-spacing="0.3"
  >20 种设计哲学  ·  5 维专家评审  ·  发布会级动画导出</text>

  <!-- Footer credit -->
  <text
    x="80"
    y="370"

Hidden Instructions

High
Category
Prompt Injection
Confidence
70% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · assets/deck_index.html (reported line 6)May include surrounding context.

html
<head>
<meta charset="UTF-8">
<title>Deck · Multi-file Slide Index</title>
<!--
  deck_index.html — 多文件 slide deck 的拼接器

  配合「每页一个独立 HTML」架构使用。与单文件 deck_stage.js 对比:

Hidden Instructions

High
Category
Prompt Injection
Confidence
70% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · assets/deck_index.html (reported line 6)May include surrounding context.

html
<head>
<meta charset="UTF-8">
<title>Deck · Multi-file Slide Index</title>
<!--
  deck_index.html — 多文件 slide deck 的拼接器

  配合「每页一个独立 HTML」架构使用。与单文件 deck_stage.js 对比:

Hidden Instructions

High
Category
Prompt Injection
Confidence
70% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · assets/showcases/cover/cover-build.html (reported line 2)May include surrounding context.

html
<!DOCTYPE html>
<!-- IFQ legacy showcase reference — retained for fallback comparison and scheduled for regeneration. -->
<html lang="zh-CN">
<head>
<meta charset="UTF-8">

Hidden Instructions

High
Category
Prompt Injection
Confidence
70% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · assets/showcases/cover/cover-takram.html (reported line 2)May include surrounding context.

html
<!DOCTYPE html>
<!-- IFQ legacy showcase reference — retained for fallback comparison and scheduled for regeneration. -->
<html lang="zh-CN">
<head>
<meta charset="UTF-8">

Hidden Instructions

High
Category
Prompt Injection
Confidence
70% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · assets/showcases/infographic/infographic-build.html (reported line 364)May include surrounding context.

html
<body>
<div class="container">

  <!-- Label -->
  <div class="label">System Architecture</div>

  <!-- Title -->

Hidden Instructions

High
Category
Prompt Injection
Confidence
70% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · assets/showcases/infographic/infographic-pentagram.html (reported line 427)May include surrounding context.

html
<div class="header-subtitle">A systematic approach to AI memory architecture optimization</div>
  </div>

  <!-- Hero Numbers -->
  <div class="hero-section">
    <span class="hero-num">93</span>
    <span class="hero-unit">KB</span>

Hidden Instructions

High
Category
Prompt Injection
Confidence
70% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · assets/showcases/infographic/infographic-pentagram.html (reported line 473)May include surrounding context.

html
</div>
  </div>

  <!-- Section 02: Memory Architecture -->
  <div class="section">
    <div class="section-header">
      <span class="section-num">02</span>

Hidden Instructions

High
Category
Prompt Injection
Confidence
70% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · assets/showcases/infographic/infographic-build.html (reported line 2)May include surrounding context.

html
<!DOCTYPE html>
<!-- IFQ legacy showcase reference — retained for fallback comparison and scheduled for regeneration. -->
<html lang="zh-CN">
<head>
<meta charset="UTF-8">

Hidden Instructions

High
Category
Prompt Injection
Confidence
70% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · assets/showcases/infographic/infographic-pentagram.html (reported line 2)May include surrounding context.

html
<!DOCTYPE html>
<!-- IFQ legacy showcase reference — retained for fallback comparison and scheduled for regeneration. -->
<html lang="zh-CN">
<head>
<meta charset="UTF-8">

Hidden Instructions

High
Category
Prompt Injection
Confidence
70% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · assets/showcases/infographic/infographic-takram.html (reported line 2)May include surrounding context.

html
<!DOCTYPE html>
<!-- IFQ legacy showcase reference — retained for fallback comparison and scheduled for regeneration. -->
<html lang="zh-CN">
<head>
<meta charset="UTF-8">

Hidden Instructions

High
Category
Prompt Injection
Confidence
70% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · assets/showcases/infographic/infographic-takram.html (reported line 390)May include surrounding context.

html
<body>
<div class="container">

  <!-- Background decorations -->
  <div class="bg-circle bg-circle-1"></div>
  <div class="bg-circle bg-circle-2"></div>

Hidden Instructions

High
Category
Prompt Injection
Confidence
70% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · assets/showcases/ppt/ppt-build.html (reported line 2)May include surrounding context.

html
<!DOCTYPE html>
<!-- IFQ legacy showcase reference — retained for fallback comparison and scheduled for regeneration. -->
<html lang="zh-CN">
<head>
<meta charset="UTF-8">

Hidden Instructions

High
Category
Prompt Injection
Confidence
70% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · assets/showcases/ppt/ppt-takram.html (reported line 2)May include surrounding context.

html
<!DOCTYPE html>
<!-- IFQ legacy showcase reference — retained for fallback comparison and scheduled for regeneration. -->
<html lang="zh-CN">
<head>
<meta charset="UTF-8">

Hidden Instructions

High
Category
Prompt Injection
Confidence
70% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · assets/showcases/website-ai-writing/aiwriting-pentagram.html (reported line 440)May include surrounding context.

html
</head>
<body>
<div class="container">
  <!-- LEFT PANEL -->
  <div class="left-panel">
    <div class="top-bar">
      <div class="logo">INK<span>WELL</span></div>

Hidden Instructions

High
Category
Prompt Injection
Confidence
70% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · assets/showcases/website-devdocs/devdocs-build.html (reported line 297)May include surrounding context.

html
</head>
<body>

<!-- Navigation -->
<nav>
  <div class="nav-logo">
    <div class="nav-logo-icon"><i data-lucide="zap" style="width:16px;height:16px;"></i></div>

Hidden Instructions

High
Category
Prompt Injection
Confidence
70% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · assets/showcases/website-devdocs/devdocs-build.html (reported line 346)May include surrounding context.

html
</div>
</section>

<!-- Quick Links -->
<div class="quick-links">
  <a href="#" class="quick-link"><i data-lucide="rocket" style="width:14px;height:14px;"></i> Getting Started</a>
  <a href="#" class="quick-link"><i data-lucide="file-text" style="width:14px;height:14px;"></i> API Reference</a>

Static analysis

No suspicious patterns detected.