โ† Back to Skills Marketplace
tsherryyann

MiaoQIDS ๐Ÿ›ก๏ธ้‡ๅญ้˜ฒ็ซๅข™-ไผšๅšpcapๆ–‡ไปถๅˆ†ๆž็š„็Œซๅจ˜

by tsherryyann ยท GitHub โ†— ยท v0.1.1 ยท MIT-0
cross-platform โš  suspicious
98
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install miao-qids
Description
้‡ๅญๅ…ฅไพตๆฃ€ๆต‹็ณป็ปŸๆŠ€่ƒฝๅ–ต๏ฝž ๅŸบไบŽ็ปๅ…ธ-้‡ๅญๆททๅˆ็ฅž็ป็ฝ‘็ปœ็š„ๅ…ฅไพตๆฃ€ๆต‹็ณป็ปŸ๏ผŒๅฏไปฅๅˆ†ๆž็ฝ‘็ปœๆต้‡ๆ•ฐๆฎ๏ผˆPCAP ๆ–‡ไปถ๏ผ‰๏ผŒๆฃ€ๆต‹ๅคš็งๆ”ปๅ‡ป็ฑปๅž‹๏ผŒๅนถไธบๆฏ็งๆ”ปๅ‡ปๆไพ›็ฝฎไฟกๅบฆๅ–ต๏ฝž ๆไพ›ๅฎ‰ๅ…จ้˜ฒๆŠคๅปบ่ฎฎๅ–ตใ€‚
Usage Guidance
Before installing or running this skill, consider the following: 1) Treat model files (cnn_mtd_final.pth, qnn_model.pkl, or other .pkl/.pth) as untrusted input โ€” loading them uses pickle/torch.load which can execute arbitrary code. Only use models from a trusted source. 2) Inspect skill.py to confirm which host/interface the HTTP server binds to; prefer localhost-only binding and keep allowclients.txt restrictive to avoid exposing the analyzer. 3) Expect outbound network calls to ip-api.com for IP geolocation; if that is undesirable, modify/disable ip_query in code or replace with an offline database. 4) The code will create cache and result directories and save feature .npy files โ€” ensure the cache path is acceptable and does not leak sensitive data. 5) The SKILL.md omitted important dependencies (pyqpanda3, pyvqnet, sklearn). Prepare to install these in a controlled environment (preferably isolated/air-gapped or containerized). 6) Run this skill in a sandboxed environment (VM/container) or with network egress controls until you are comfortable with its behavior, and audit any third-party model files you provide. 7) If you need higher assurance, request full startup script and the untruncated skill.py so you can confirm the server bind address and any remaining endpoints or behaviors.
Capability Analysis
Type: OpenClaw Skill Name: miao-qids Version: 0.1.1 The skill implements a complex hybrid classical-quantum intrusion detection system, but it contains several high-risk vulnerabilities and behaviors. It uses 'pickle.load' and 'torch.load' to load model data in 'CNNmodel.py', 'QNNmodel.py', and 'FeatureSelection.py', which are known vectors for Remote Code Execution (RCE) if model files are tampered with. The MCP server in 'skill.py' is an unauthenticated HTTP server that accepts arbitrary file paths ('pcap_path') from POST requests, which could be exploited to process sensitive system files. Additionally, 'skill.py' performs external network requests to 'ip-api.com' to geolocate IP addresses extracted from the analyzed traffic, constituting a potential data leak.
Capability Tags
crypto
Capability Assessment
โš  Purpose & Capability
Name/description claim an IDS that analyzes PCAPs using a hybrid classical/quantum network, which matches the code. However SKILL.md's dependency list omits required quantum libraries (pyqpanda3, pyvqnet) and sklearn components used by FeatureSelection/FileLoader. The code also forces CUDA-related environment choices for PyTorch. These missing/extra requirements are disproportionate to what's declared and can surprise operators.
โš  Instruction Scope
Runtime behavior is largely within the stated purpose (reading PCAP, extracting features, running CNN and QNN inference). But the code performs these additional actions: (1) loads model files with pickle and torch.load (unsafe if model files are untrusted), (2) writes cache and result files to disk, (3) performs external HTTP requests to ip-api.com for IP geolocation, (4) reads allowclients.txt and starts an HTTP MCP service. The pickle/torch deserialization and external network requests expand the data surface beyond simple local analysis.
โ„น Install Mechanism
There is no install spec (instruction-only), which limits installer-level risk. However the repository includes code that requires heavy native/third-party packages (PyTorch, scapy, pyqpanda3/pyvqnet, sklearn). The absence of dependency installation guidance for those quantum and sklearn packages is a practical inconsistency (you may fail to run or silently fall back to CPU/CUDA settings).
โ„น Credentials
The skill declares no required env vars or credentials (good). Nevertheless it performs network operations (outbound requests to ip-api.com and a UDP connect to 8.8.8.8 to determine local IP), and it enumerates local interfaces (get_if_list/get_if_addr). Those actions are reasonable for geolocation and local-IP logic but are sensitive operations and should be disclosed. Also model loading uses pickle/torch.load which can execute code embedded in model files โ€” requiring trust in model files.
โ„น Persistence & Privilege
The skill is not marked always:true. It runs an HTTP server (MCP) and writes cache/result files; by default allowclients.txt contains only 127.0.0.1, but the server binding is not visible in the truncated code. If the server binds to 0.0.0.0 or allowclients is modified, the service could be reachable remotely. No evidence the skill modifies other skills or agent configuration.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install miao-qids
  3. After installation, invoke the skill by name or use /miao-qids
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.1
ๅŸบไบŽ็ปๅ…ธ-้‡ๅญๆททๅˆ็ฅž็ป็ฝ‘็ปœ็š„ๅ…ฅไพตๆฃ€ๆต‹็ณป็ปŸ - ๆ”ฏๆŒ PCAP ๆ–‡ไปถๆต้‡ๅˆ†ๆž๏ผŒๆฃ€ๆต‹ 8 ็งๆ”ปๅ‡ป็ฑปๅž‹ๅนถ่พ“ๅ‡บๅคš็ฑปๅž‹็ฝฎไฟกๅบฆๅˆ†ๅธƒ - ๆไพ›ๅŸบไบŽ่พ“ๅ‡บ็ฑปๅž‹็š„่ฏฆ็ป†ๅฎ‰ๅ…จ้˜ฒๆŠคๅปบ่ฎฎๅ’Œๆ”ปๅ‡ป่€… IP ๅฝ’ๅฑžๅœฐ่‡ชๅŠจๆŸฅ่ฏข - ๆ”ฏๆŒ HTTP ๆŽฅๅฃ่ฐƒ็”จๅ’Œๅ‚ๆ•ฐ็ตๆดป้…็ฝฎ - ๆ”ฏๆŒ็‰นๅพ็ผ“ๅญ˜ไธŽๆจกๅž‹้‡ๅปบ่ฏฏๅทฎ่ฏ„ไผฐ๏ผŒๆๅ‡ๆฃ€ๆต‹ๆ•ˆ็އไธŽ็ป“ๆžœๅฏ้ ๆ€ง -ๆƒ้‡ๅ’Œๅๆ ‡็ณปๆ–‡ไปถไธ‹่ฝฝๆฅๆบ๏ผšhttps://gitee.com/TSherry/MiaoQIDS -ไฝฟ็”จๅ‰ๅ…ˆๆŠŠskill.mdไปฅๅŠๅ„pyๆ–‡ไปถ้‡Œ้ข็š„ๆœ‰ๅ…ณ่ทฏๅพ„ๆ นๆฎ่‡ชๅทฑ็”ต่„‘็š„ๆƒ…ๅ†ต่ฎพ็ฝฎๅฅฝ -่ฟ่กŒๆ—ถ้œ€่ฆ็”ต่„‘็ฎก็†ๅ‘˜ๆƒ้™๏ผŒ่‹ฅ็ฎก็†ๅ‘˜็”จๆˆทๆฒกๆœ‰ๅฏนๅบ”่ฟ่กŒๅบ“ๅˆ™ไฝฟ็”จsys.path.append่ฏญๅฅๆŠŠ่ฟ่กŒๅบ“่ทฏๅพ„ๆทปๅŠ ่ฟ›ๅŽปใ€‚
Metadata
Slug miao-qids
Version 0.1.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is MiaoQIDS ๐Ÿ›ก๏ธ้‡ๅญ้˜ฒ็ซๅข™-ไผšๅšpcapๆ–‡ไปถๅˆ†ๆž็š„็Œซๅจ˜?

้‡ๅญๅ…ฅไพตๆฃ€ๆต‹็ณป็ปŸๆŠ€่ƒฝๅ–ต๏ฝž ๅŸบไบŽ็ปๅ…ธ-้‡ๅญๆททๅˆ็ฅž็ป็ฝ‘็ปœ็š„ๅ…ฅไพตๆฃ€ๆต‹็ณป็ปŸ๏ผŒๅฏไปฅๅˆ†ๆž็ฝ‘็ปœๆต้‡ๆ•ฐๆฎ๏ผˆPCAP ๆ–‡ไปถ๏ผ‰๏ผŒๆฃ€ๆต‹ๅคš็งๆ”ปๅ‡ป็ฑปๅž‹๏ผŒๅนถไธบๆฏ็งๆ”ปๅ‡ปๆไพ›็ฝฎไฟกๅบฆๅ–ต๏ฝž ๆไพ›ๅฎ‰ๅ…จ้˜ฒๆŠคๅปบ่ฎฎๅ–ตใ€‚ It is an AI Agent Skill for Claude Code / OpenClaw, with 98 downloads so far.

How do I install MiaoQIDS ๐Ÿ›ก๏ธ้‡ๅญ้˜ฒ็ซๅข™-ไผšๅšpcapๆ–‡ไปถๅˆ†ๆž็š„็Œซๅจ˜?

Run "/install miao-qids" in the OpenClaw or Claude Code chat to install it in one step โ€” no extra setup required.

Is MiaoQIDS ๐Ÿ›ก๏ธ้‡ๅญ้˜ฒ็ซๅข™-ไผšๅšpcapๆ–‡ไปถๅˆ†ๆž็š„็Œซๅจ˜ free?

Yes, MiaoQIDS ๐Ÿ›ก๏ธ้‡ๅญ้˜ฒ็ซๅข™-ไผšๅšpcapๆ–‡ไปถๅˆ†ๆž็š„็Œซๅจ˜ is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does MiaoQIDS ๐Ÿ›ก๏ธ้‡ๅญ้˜ฒ็ซๅข™-ไผšๅšpcapๆ–‡ไปถๅˆ†ๆž็š„็Œซๅจ˜ support?

MiaoQIDS ๐Ÿ›ก๏ธ้‡ๅญ้˜ฒ็ซๅข™-ไผšๅšpcapๆ–‡ไปถๅˆ†ๆž็š„็Œซๅจ˜ is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created MiaoQIDS ๐Ÿ›ก๏ธ้‡ๅญ้˜ฒ็ซๅข™-ไผšๅšpcapๆ–‡ไปถๅˆ†ๆž็š„็Œซๅจ˜?

It is built and maintained by tsherryyann (@tsherryyann); the current version is v0.1.1.

๐Ÿ’ฌ Comments