Back to skill

Security audit

Dioxus Framework

Security checks for vulnerabilities and agentic risk

Overview

This is a Dioxus/Rust guidance skill with ordinary documentation and examples, not hidden or automatic unsafe behavior.

This skill appears safe to install for Dioxus development help. Before running its setup commands, verify package provenance and consider pinned versions or official Cargo installation rather than an unpinned global npm-compatible install.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (1)

T08 · Insecure Dependencies

Warning
Location
assets/quick-start.md:7
Finding

Unverified Global Installation of an npm-Compatible CLI Package

Content
View full analysis
Remediation
View remediation
dioxus-cli ``` 5. Document the expected registry and official package source so users can detect registry substitution or dependency-confusion conditions. 6. Where the package ecosystem supports it, verify package checksums, signatures, attestations, and publisher identity before installation. 7. Prefer project-local or isolated tool installation over global installation to reduce command-path exposure and limit the scope of a compromised package. 8. Review and pin the other executable installation commands in `SKILL.md`, `assets/project-template.md`, and `assets/quick-start.md` to improve supply-chain reproducibility. ]]>
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (7)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The activation description is broad enough to trigger on many generic web-development requests involving components, routing, state, or data fetching. Over-broad triggers can cause the agent to invoke this skill in contexts where it is not the best fit, increasing the chance of irrelevant guidance, policy bypass through unintended tool use, or unsafe framework-specific recommendations being injected into unrelated tasks.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
98% confidence
Finding

The skill description is written to force Chinese output without any indication that this should depend on user preference. Forcing a language can override user intent, reduce transparency, and create a prompt-quality/control issue where the skill influences response behavior beyond its technical scope.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Low
Category
Not specified by scanner
Confidence
93% confidence
Finding

L259 将 on_submit 声明为 Callback<String>,表示回调应接收单个字符串;但 L271-L274 实际上传入的是包含 name 和 email 的元组。这属于文档/类型意图与示例代码行为直接矛盾,会误导使用者对组件接口的理解。

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Low
Category
Not specified by scanner
Confidence
85% confidence
Finding

L295-L303 标题和注释宣称“启用 SSR 功能”,但示例中的 main 仅调用 dioxus::launch(App),本身并未展示明确的 SSR 服务器配置;真正的服务端渲染行为出现在后面的 render_to_string 示例中。这会让读者误以为仅调用该启动函数就等同于完成 SSR 启用。

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
86% confidence
Finding

The file is a markdown template, so natural-language policy checks apply. Line L226 sets <html lang="en"> while the surrounding documentation and intended audience are Chinese-language, which imposes a specific locale without any opt-in or justification.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
91% confidence
Finding

The entire quick-start guide is written in Chinese, including headings and instructions, with no indication that the language is optional or that the skill is intended only for a Chinese-speaking audience. This can violate a language/locale policy when users are not given a choice or opt-in.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

This markdown file presents all instructional content in Chinese and does not indicate that users may choose another language or that the material is intentionally limited to a Chinese-speaking audience. That can violate a language or locale policy when skills or references are expected to avoid forcing a specific language without user opt-in.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.