Claude Code, Skill
Dm Code Agent
Dm Code Agent, a skill listed in the PlugVet directory.
Compatibility: Not stated.
Grade B
Minor issues only, no Medium or High. Worth a quick look at the findings below before installing.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit e4530be37e6f, unchanged since the check below.
PERMISSION_DELETE_FILES INSTALL_UNPINNED NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV OBFUSCATION_FILE_OVER_READ_CAP
Why this grade
- PERMISSION_DELETE_FILES Low
Contains a call that can delete files.
dm_agent/benchmarks/runner.py, line 247
completed = subprocess.run( - INSTALL_UNPINNED Low
Dependencies use a range or git URL with no lockfile.
requirements.txt, line 4
requests>=2.31.0,<3.0.0 - NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
dm_agent/benchmarks/tasks.py, line 1696
"def fetch(storage, key):\n" - SECRETS_PATH_DOTENV Low
Mentions a .env file.
dm_agent/paths.py, line 1
"""用户级数据目录、配置文件与 ``.env`` 的落点解析。 - OBFUSCATION_FILE_OVER_READ_CAP Note
A file was over the read cap and was not fully read.
uv.lock, line 1
version = 1
Any High, or two or more Medium findings, give D. One Medium gives C. Low findings or a security Note give B. Each code names a finding behind the letter.
Grades are a hygiene check of the source at the commit shown, on the date checked, not a security audit or a guarantee. The free directory grades are automated. Before release, a PlugVet engineer reviews every paid report and any grade we hold back, including all F grades, against the source code and the evidence we quote.
What was checked
Plain notes from the hygiene checks.
Permissions
Concern
can delete files.
PERMISSION_DELETE_FILES
dm_agent/benchmarks/runner.py, line 247
completed = subprocess.run(
dm_agent/cli/report.py, line 17
completed = subprocess.run(
dm_agent/cli/ui.py, line 89
os.system("cls" if os.name == "nt" else "clear")
Show more
dm_agent/mcp/client.py, line 23
process (Optional[subprocess.Popen]): 服务器进程对象
dm_agent/mcp/client.py, line 60
self.process: subprocess.Popen | None = None
dm_agent/mcp/client.py, line 97
self.process = subprocess.Popen(
dm_agent/mcp/client.py, line 109
self.process = subprocess.Popen(
dm_agent/mcp/config.py, line 249
>>> os.remove("test_config.json") # 清理测试文件
dm_agent/server/process.py, line 156
self._process: subprocess.Popen[bytes] | None = None
swebench_verified/predict.py, line 136
``shutil.rmtree(..., ignore_errors=True)`` 在这里是个陷阱:.git/objects 下的
swebench_verified/predict.py, line 148
shutil.rmtree(path, onexc=_clear_readonly)
swebench_verified/predict.py, line 150
shutil.rmtree(path, onerror=_clear_readonly)
swebench_verified/predict.py, line 478
shutil.rmtree(workspace, ignore_errors=True)
Install and update
Concern
dependencies are not pinned.
INSTALL_UNPINNED
requirements.txt, line 4
requests>=2.31.0,<3.0.0
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
dm_agent/benchmarks/tasks.py, line 1696
"def fetch(storage, key):\n"
dm_agent/benchmarks/tasks.py, line 1707
" assert fetch(Storage({'a': 1}), 'a') == 1\n"
dm_agent/benchmarks/tasks.py, line 1718
" fetch(Storage({'a': 1}), 'zzz')\n"
Show more
dm_agent/benchmarks/tasks.py, line 1723
" fetch(broken, 'a')\n"
dm_agent/benchmarks/tasks.py, line 1728
" fetch(broken, 'a')\n"
swebench_verified/dataset.py, line 48
with urllib.request.urlopen(f"{_ROWS_API}?{query}", timeout=120) as response:
web/src/lib/api.ts, line 91
response = await fetch(`/api${path}`, { ...init, headers })
dm_agent/server/static/assets/index-zWz4BgMR.js, line 1
(function(){const f=document.createElement("link").relList;if(f&&f.supports&&f.supports("modulepreload"))return;for(const b of document.querySelectorAll('link[rel="modulepreload"]'
Secrets
Concern
reads a credential or environment file.
SECRETS_PATH_DOTENV
dm_agent/paths.py, line 1
"""用户级数据目录、配置文件与 ``.env`` 的落点解析。
dm_agent/paths.py, line 12
永远够不到用户的工作目录,用户放在自己项目里的 ``.env`` 会静默失效。
dm_agent/paths.py, line 14
**为什么住在 ``dm_agent/`` 顶层而不是 ``cli/``**:``server`` 层也要用它加载 ``.env``,
Show more
dm_agent/paths.py, line 27
``.env`` 同样是项目级优先、用户级兜底,且都用 dotenv 的默认 ``override=False``,
dm_agent/paths.py, line 56
# 与扩展目录、信任文件同一个家:~/.dm_agent/{extensions/,trusted-projects.json,config.json,.env}
dm_agent/paths.py, line 59
ENV_FILE_NAME = ".env"
dm_agent/paths.py, line 77
"""用户级 ``.env``:装一次 key,在任何目录下都能用。"""
dm_agent/paths.py, line 119
"""按项目级 → 用户级的顺序加载 ``.env``,返回实际加载了哪些文件。
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Note
a file was over the read cap and was not fully read.
OBFUSCATION_FILE_OVER_READ_CAP
uv.lock, line 1
version = 1
bench_reports/ablation-scope-20260804.json, line 1
{
bench_reports/baseline-30task-20260804.json, line 1
{
Show more
bench_reports/editfix-20260804.json, line 1
{
bench_reports/obsfix-20260805.json, line 1
{
bench_reports/obsfix-r3-20260805.json, line 1
{
bench_reports/steps30-20260804.json, line 1
{
dm_agent/server/static/assets/index-zWz4BgMR.js, line 1
(function(){const f=document.createElement("link").relList;if(f&&f.supports&&f.supports("modulepreload"))return;for(const b of document.querySelectorAll('link[rel="modulepreload"]'
Licence
Pass
A licence file is present (LICENSE).
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit e4530be37e6f. can delete files. dependencies are not pinned. can reach a host that is not written as a fixed address. reads a credential or environment file. a file was over the read cap and was not fully read.
Date and source
Date checked:
github.com
Commit graded: e4530be37e6f972d9735381e524cab4b5f732ddd
This link goes to the original host. PlugVet does not host or check what you download from there, and installing it is your own decision and risk.