Skills/ClawHub/data-query

data-query@1.0.0

CAUTION· install only

Publisher claims: "通用自然语言转SQL与可视化页面生成技能。当用户使用自然语言查询数据,或需要生成带图表的数据看板页面时调用本技能。技能基于挂载的知识库上下文直接生成SQL,验证后生成可部署的HTML图表页面。" Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry ClawHubPublisher ylyuanlu · publishing for 224 daysInstalls 1,027Last detonated 8 h ago

Coverage

Bundled scripts ran with no arguments; no agent task scenario for this bundle.
Tested
8 of 362 bundled scripts run with no arguments (the rest were not run: per-bundle cap), with decoy credentials in the environment · every file read, file written and host contacted by what ran
Not tested
use of the skill by an agent

Is [email protected] safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; bundled scripts ran with no arguments; no agent task scenario for this bundle) on 2026-11-19 and scored it 70/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: OS command execution function call detected; Hidden zero-width characters detected; URL with embedded credentials. Summary: no network, touches nothing outside the project, writes no memory.

Behavior trace

Honeypot run · 3 s · 2 scenarios · 0 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
0.0sprocessbundled script run in the sandbox with no arguments
0.1sprocessbundled script run in the sandbox with no arguments
0.2sprocessbundled script run in the sandbox with no arguments
0.2sprocessexited 2: convert_knowledge.py: error: one of the arguments --input/-i --inputs/-is is required
0.2sprocessbundled script run in the sandbox with no arguments
0.3sprocessbundled script run in the sandbox with no arguments
0.4sprocessexited 1: Node.js v22.23.5
0.4sprocessbundled script run in the sandbox with no arguments
0.5sprocessbundled script run in the sandbox with no arguments
0.6sprocessbundled script run in the sandbox with no arguments
0.7sprocess8 of 362 bundled scripts run with no arguments (the rest were not run: per-bundle cap)
0.7sprocessscript backend runs setup only
0.7sprocessscript backend runs setup only
0.8sprocessno install scripts to re-run

Static findings

CRITICAL
OS command execution function call detectedvenv_dm/lib/python3.14/site-packages/pip/_vendor/distlib/scripts.py:163 · OS command execution function call detected# shebang, or else using os.exec() to run the entry script willFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
HIGH
Hidden zero-width characters detectedvenv_dm/lib/python3.14/site-packages/pip/_internal/utils/unpacking.py:272 · Hidden zero-width characters detected — may conceal content# NOTE: This function can be removed once pip requires CPython ≥ 3.12.​Fix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
AST07
MEDIUM
Python subprocess execution detectedvenv_dm/lib/python3.14/site-packages/pip/_internal/network/auth.py:156 · Python subprocess execution detectedsubprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python exec or eval of computed codevenv_dm/lib/python3.14/site-packages/pip/_vendor/pkg_resources/__init__.py:1725 · Python exec or eval of computed codeexec(script_code, namespace, namespace)Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
AST05
MEDIUM
Python subprocess execution detectedvenv_dm/lib/python3.14/site-packages/pip/_vendor/distro/distro.py:1213 · Python subprocess execution detectedstdout = subprocess.check_output("oslevel", stderr=subprocess.DEVNULL)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
URL with embedded credentialsvenv_dm/lib/python3.14/site-packages/pip/_vendor/urllib3/util/url.py:148 · URL with embedded credentials — may be phishing or credential leaking'http://username:[email protected]:80/path?query#fragment'Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST07
MEDIUM
Python subprocess execution detectedvenv_dm/lib/python3.14/site-packages/pip/_internal/utils/subprocess.py:129 · Python subprocess execution detectedproc = subprocess.Popen(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
Privileged sudo commandvenv_dm/lib/python3.14/site-packages/pip/_internal/utils/filesystem.py:33 · Privileged sudo command — agent may execute with elevated privileges# cases where users use sudo without -H flag.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Python subprocess execution detectedvenv_dm/lib/python3.14/site-packages/pip/_vendor/packaging/tags.py:416 · Python subprocess execution detectedversion_str = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedvenv_dm/lib/python3.14/site-packages/pip/_vendor/pyproject_hooks/_impl.py:83 · Python subprocess execution detected (subprocess.check_call via from)check_call(cmd, cwd=cwd, env=env)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
Privileged sudo commandvenv_dm/lib/python3.14/site-packages/pip/_internal/utils/misc.py:744 · Privileged sudo command — agent may execute with elevated privilegesIn a virtual environment, sudo pip still writes to virtualenv.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Python subprocess execution detectedvenv_dm/lib/python3.14/site-packages/pip/_vendor/distlib/util.py:1762 · Python subprocess execution detectedp = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, **kwargs)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
Privileged sudo commandvenv_dm/lib/python3.14/site-packages/pip/_internal/utils/misc.py:742 · Privileged sudo command — agent may execute with elevated privileges"""Output a warning for sudo users on Unix.Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
MEDIUM
Python subprocess execution detectedvenv_dm/lib/python3.14/site-packages/pip/_internal/network/session.py:182 · Python subprocess execution detectedrustc_output = subprocess.check_output(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedvenv_dm/lib/python3.14/site-packages/pip/_vendor/distro/distro.py:1165 · Python subprocess execution detectedstdout = subprocess.check_output(cmd, stderr=subprocess.DEVNULL)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python exec or eval of computed codevenv_dm/lib/python3.14/site-packages/pip/_vendor/pkg_resources/__init__.py:1714 · Python exec or eval of computed codeexec(code, namespace, namespace)Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
AST05
MEDIUM
Python exec or eval of computed codevenv_dm/lib/python3.14/site-packages/pip/_vendor/pygments/formatters/__init__.py:103 · Python exec or eval of computed codeexec(f.read(), custom_namespace)Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
AST05
MEDIUM
Python subprocess execution detectedvenv_dm/lib/python3.14/site-packages/pip/_internal/commands/configuration.py:247 · Python subprocess execution detectedsubprocess.check_call(f'{editor} "{fname}"', shell=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
Access to sensitive file pathsvenv_dm/lib/python3.14/site-packages/pip/_vendor/requests/utils.py:62 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesNETRC_FILES = (".netrc", "_netrc")Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Python subprocess execution detectedvenv_dm/lib/python3.14/site-packages/pip/_internal/network/auth.py:140 · Python subprocess execution detectedres = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedvenv_dm/lib/python3.14/site-packages/pip/_vendor/dependency_groups/_pip_wrapper.py:12 · Python subprocess execution detectedsubprocess.check_call([sys.executable, "-m", "pip", "install", *deps])Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedvenv_dm/lib/python3.14/site-packages/pip/_vendor/distro/distro.py:1202 · Python subprocess execution detectedstdout = subprocess.check_output(cmd, stderr=subprocess.DEVNULL)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedvenv_dm/lib/python3.14/site-packages/pip/_internal/utils/subprocess.py:80 · Python subprocess execution detectedprior to calling subprocess.Popen().Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedvenv_dm/lib/python3.14/site-packages/pip/_vendor/packaging/_musllinux.py:52 · Python subprocess execution detectedproc = subprocess.run([ld], check=False, stderr=subprocess.PIPE, text=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
Python subprocess execution detectedvenv_dm/lib/python3.14/site-packages/pip/_internal/cli/main_parser.py:103 · Python subprocess execution detectedproc = subprocess.run(pip_cmd)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
HIGH
Access to sensitive file pathsvenv_dm/lib/python3.14/site-packages/pip/_vendor/requests/sessions.py:297 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files# .netrc might have more auth for us on our new host.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Python exec or eval of computed codevenv_dm/lib/python3.14/site-packages/pip/_vendor/pygments/lexers/__init__.py:154 · Python exec or eval of computed codeexec(f.read(), custom_namespace)Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
AST05
MEDIUM
Python exec or eval of computed codevenv_dm/lib/python3.14/site-packages/pip/_vendor/pygments/formatters/__init__.py:91 · Python exec or eval of computed codethis method is equivalent to running ``eval()`` on the input file. The formatter isFix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
AST05
MEDIUM
File type combined with upload actionvenv_dm/lib/python3.14/site-packages/pip/_vendor/pygments/lexers/_mapping.py:398 · File type combined with upload action — agent may exfiltrate local data files'PostgresExplainLexer': ('pip._vendor.pygments.lexers.sql', 'PostgreSQL EXPLAIN dialect', ('postgres-explain',), ('*.explain',), ('text/x-postgresql-explain',)),Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
MEDIUM
File permission modification commandvenv_dm/lib/python3.14/site-packages/pip/_internal/utils/unpacking.py:115 · File permission modification command — agent changes file ownership/permissionswritten. Note that for windows, any execute changes using os.chmod areFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File type combined with upload actionsrc/deploy/index.js:119 · File type combined with upload action — agent may exfiltrate local data filesconsole.log(` ⚠️ acm_www/static/ 不存在,已保存到: ${nlOutput}`);Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
MEDIUM
Unicode escape sequence detectedvenv_dm/lib/python3.14/site-packages/pip/_vendor/pygments/unistring.py:16 · Unicode escape sequence detected — may contain obfuscated payloads… BSD, see LICENSE for details. """ Cc = '\x00-\x1f\x7f-\x9f' Cf = '\xad\u0600-\u0605\u061c\u06dd\u070f\u08e2\u180e\u200b-\u200f\u202a-\u202e\u2060-\u2064\u2066-\u206f\ufeff\ufff9-\ufffb\U000110bd\U000…Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
AST07
MEDIUM
File permission modification commandvenv_dm/lib/python3.14/site-packages/pip/_internal/utils/unpacking.py:97 · File permission modification command — agent changes file ownership/permissions(chmod +x) is no-op on windows per python docsFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File permission modification commandvenv_dm/lib/python3.14/site-packages/pip/_internal/utils/unpacking.py:161 · File permission modification command — agent changes file ownership/permissionsdefault. Note that for windows, any execute changes using os.chmod areFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
Unicode escape sequence detectedvenv_dm/lib/python3.14/site-packages/pip/_vendor/pygments/unistring.py:18 · Unicode escape sequence detected — may contain obfuscated payloads…U0001d173-\U0001d17a\U000e0001\U000e0020-\U000e007f' Cn = '\u0378-\u0379\u0380-\u0383\u038b\u038d\u03a2\u0530\u0557-\u0558\u058b-\u058c\u0590\u05c8-\u05cf\u05eb-\u05ee\u05f5-\u05ff\u061d\u070e\u0…Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
AST07
MEDIUM
File type combined with upload actionscripts/encrypt_for_page.js:62 · File type combined with upload action — agent may exfiltrate local data filesconsole.log(output.pasteReady);Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
MEDIUM
File permission modification commandvenv_dm/lib/python3.14/site-packages/pip/_internal/utils/filesystem.py:162 · File permission modification command — agent changes file ownership/permissionsif os.chmod in os.supports_fd:Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File permission modification commandvenv_dm/lib/python3.14/site-packages/pip/_internal/utils/unpacking.py:114 · File permission modification command — agent changes file ownership/permissionspermissions (user, group, or world) have "chmod +x" applied after beingFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File type combined with upload actionscripts/encrypt_for_page.js:66 · File type combined with upload action — agent may exfiltrate local data filesconsole.log(output.plainReady);Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
MEDIUM
File type combined with upload actionsrc/deploy/index.js:111 · File type combined with upload action — agent may exfiltrate local data filesconsole.log(` ✅ 已部署到: ${staticOutput}`);Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
MEDIUM
Python subprocess execution detectedvenv_dm/lib/python3.14/site-packages/pip/_vendor/pyproject_hooks/_impl.py:99 · Python subprocess execution detected (subprocess.check_output via from)check_output(cmd, cwd=cwd, env=env, stderr=STDOUT)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
URL shortener detectedvenv_dm/lib/python3.14/site-packages/pip/_internal/network/session.py:68 · URL shortener detected — destination cannot be verified# Taken from Chrome's list of secure origins (See: http://bit.ly/1qrySKC)Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.
AST07
MEDIUM
File type combined with upload actionsrc/generate/page.js:808 · File type combined with upload action — agent may exfiltrate local data filesconsole.log(` ✅ 部署版: ${result.nlOutput}`);Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
MEDIUM
File type combined with upload actionscripts/encrypt_for_page.js:53 · File type combined with upload action — agent may exfiltrate local data filesconsole.log(' ' + output.plainSql);Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
MEDIUM
File type combined with upload actionvenv_dm/lib/python3.14/site-packages/pip/_vendor/pygments/lexers/_mapping.py:397 · File type combined with upload action — agent may exfiltrate local data files'PostgresConsoleLexer': ('pip._vendor.pygments.lexers.sql', 'PostgreSQL console (psql)', ('psql', 'postgresql-console', 'postgres-console'), (), ('text/x-postgresql-psql',)),Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
MEDIUM
File permission modification commandvenv_dm/lib/python3.14/site-packages/pip/_internal/utils/unpacking.py:160 · File permission modification command — agent changes file ownership/permissionspermissions (user, group, or world) have "chmod +x" applied on top of theFix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File type combined with upload actionsrc/generate/page.js:701 · File type combined with upload action — agent may exfiltrate local data filesconsole.log(` --output <文件> 输出文件(single-chart 默认 nl2sql_output/cockpit.html;cockpit 忽略,固定路径)`);Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
MEDIUM
File type combined with upload actionsrc/generate/page.js:806 · File type combined with upload action — agent may exfiltrate local data filesconsole.log(` ⚠️ acm_www/static/ 不存在,部署版在: ${result.nlOutput}`);Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
MEDIUM
File type combined with upload actionsrc/deploy/index.js:83 · File type combined with upload action — agent may exfiltrate local data filesconsole.log(` 输入: ${inputAbsolute}`);Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
MEDIUM
Python subprocess execution detectedvenv_dm/lib/python3.14/site-packages/pip/_vendor/rich/ansi.py:229 · Python subprocess execution detectedpty.spawn(sys.argv[1:], read)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
File type combined with upload actionvenv_dm/lib/python3.14/site-packages/pip/_vendor/pygments/formatters/_mapping.py:14 · File type combined with upload action — agent may exfiltrate local data files'NullFormatter': ('pygments.formatters.other', 'Text only', ('text', 'null'), ('*.txt',), 'Output the text unchanged without any formatting.'),Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
MEDIUM
File type combined with upload actionvenv_dm/lib/python3.14/site-packages/pip/_vendor/pygments/lexers/_mapping.py:399 · File type combined with upload action — agent may exfiltrate local data files'PostgresLexer': ('pip._vendor.pygments.lexers.sql', 'PostgreSQL SQL dialect', ('postgresql', 'postgres'), (), ('text/x-postgresql',)),Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
MEDIUM
File permission modification commandvenv_dm/lib/python3.14/site-packages/pip/_internal/utils/filesystem.py:164 · File permission modification command — agent changes file ownership/permissionselif os.chmod in os.supports_follow_symlinks:Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
MEDIUM
File type combined with upload actionsrc/deploy/index.js:104 · File type combined with upload action — agent may exfiltrate local data filesconsole.log(` ✅ 部署版已保存: ${nlOutput}`);Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
MEDIUM
Python exec or eval of computed codevenv_dm/lib/python3.14/site-packages/pip/_vendor/urllib3/packages/six.py:787 · Python exec or eval of computed codeexec ("""exec _code_ in _globs_, _locs_""")Fix: Put hosts, commands and strings in plain source. Decoding at runtime looks identical to malware and costs points on its own.
AST05
MEDIUM
File type combined with upload actionscripts/encrypt_for_page.js:120 · File type combined with upload action — agent may exfiltrate local data filesconsole.log(green('✅ ') + `${output.keyName} (${output.placeholderCount} 个 ?)`);Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
MEDIUM
File type combined with upload actionscripts/encrypt_for_page.js:54 · File type combined with upload action — agent may exfiltrate local data filesconsole.log(`\n 参数占位符 (?) 数量: ${output.placeholderCount}`);Fix: Remove the call, or declare the host in frontmatter and explain in the README what is sent and why.
AST07
LOW
Prompt injectionvenv_dm/lib/python3.14/site-packages/pip-26.0.dist-info/licenses/AUTHORS.txt:190 · Prompt injection — known jailbreak technique reference · informational: not an instruction fileDan SullyFix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
AST01
LOW
Prompt injectionvenv_dm/lib/python3.14/site-packages/pip-26.0.dist-info/licenses/AUTHORS.txt:188 · Prompt injection — known jailbreak technique reference · informational: not an instruction fileDan BlackFix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
AST01
LOW
Dynamic module loadingvenv_dm/lib/python3.14/site-packages/pip/__pip-runner__.py:50 · Dynamic module loadingrunpy.run_module("pip", run_name="__main__", alter_sys=True)Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.
AST05
LOW
Prompt injectionvenv_dm/lib/python3.14/site-packages/pip-26.0.dist-info/licenses/AUTHORS.txt:189 · Prompt injection — known jailbreak technique reference · informational: not an instruction fileDan SavilonisFix: Keep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
AST01

Cost to the agent

Instructions loaded
≈9,731 tok
1 file · 460 in bundle

Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.

Known vulnerabilities

Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.

What would make this Verified

10 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%
  1. OS command execution function call detected≈ +9 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
  2. Unclaimed publisher≈ +8 on the totalClaim ylyuanlu: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
  3. Hidden zero-width characters detected≈ +4 on the totalKeep SKILL.md to visible, descriptive text. Remove comments and encoded text that address the agent.
  4. URL with embedded credentials≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
  5. Privileged sudo command≈ +4 on the totalBuild commands from fixed arguments; do not interpolate untrusted strings into a shell.
  6. Access to sensitive file paths≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
Publish a new version to ClawHub, then queue it here. Not your skill? Claim the handle to get verdict changes by email.Claim ylyuanluPropose a patch to the maintainer