MCP, MCP server
Cau Portal Open
给中国农业大学学生用的 DeepSeek Harness(DSH)插件与数据管道:自动抓取学院/学校通知公告,AI 生成摘要/分类/重要度/截止日期,在 DSH 侧边栏面板浏览,并可在对话中直接查询(MCP 工具)。
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.
NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST SECRETS_PATH_DOTENV PERMISSION_SHELL_DECLARED SECRETS_ENV_READ OBFUSCATION_FILE_OVER_READ_CAP
Why this grade
- NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
lib/index.js, line 540
const gh = await fetch(`https://api.github.com/repos/${repo}/contents/${rel}?ref=main`, { - NETWORK_UNNAMED_HOST Low
Calls a fixed host that the description does not name.
lib/index.js, line 540
const gh = await fetch(`https://api.github.com/repos/${repo}/contents/${rel}?ref=main`, { - SECRETS_PATH_DOTENV Low
Mentions a .env file.
tools/scraper/ai.mjs, line 15
// ---- API key 解析:env → tools/scraper/.env → ~/.dsh/.credentials.yaml(复用 DSH 的 key) ---- - PERMISSION_SHELL_DECLARED Note
Runs shell commands, and the manifest or description says so.
tools/ci/check_repository.py, line 17
return subprocess.check_output(["git", "ls-files", "-z"], cwd=ROOT).decode().split("\0")[:-1] - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
tools/scraper/ai.mjs, line 17
if (process.env.DEEPSEEK_API_KEY) return process.env.DEEPSEEK_API_KEY; - OBFUSCATION_FILE_OVER_READ_CAP Note
A file was over the read cap and was not fully read.
lib/client.js, line 1
window.__ModuleLoader__.load({ id: 'cau-portal', factory: (require) => { var module = { exports: {} }; var exports = module.exports;
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
Note
requests shell access. The manifest names this permission.
PERMISSION_SHELL_DECLARED
tools/ci/check_repository.py, line 17
return subprocess.check_output(["git", "ls-files", "-z"], cwd=ROOT).decode().split("\0")[:-1]
tools/ci/check_syntax.py, line 6
files = subprocess.check_output(["git", "ls-files", "-z"], cwd=ROOT).decode().split("\0")[:-1]
tools/ci/check_syntax.py, line 10
subprocess.run(["node", "--check", rel], cwd=ROOT, check=True)
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Concern
can reach api.github.com. The description does not name that host. can reach a host that is not written as a fixed address. can reach api.deepseek.com. The description does not name that host.
NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST
lib/index.js, line 540
const gh = await fetch(`https://api.github.com/repos/${repo}/contents/${rel}?ref=main`, {
src/index.ts, line 538
const gh = await fetch(
src/client/data.ts, line 84
const res = await fetch('/api/cau/config')
Show more
src/client/data.ts, line 111
const res = await fetch(`https://api.github.com/repos/${requireDataRepo()}/contents/${rel}?ref=${GH_BRANCH}`, {
src/client/data.ts, line 123
const res = await fetch('/api/cau/data', {
src/client/data.ts, line 182
const res = await fetch(`https://api.github.com/repos/${requireDataRepo()}/contents/${rel}?ref=${GH_BRANCH}`, {
src/client/data.ts, line 203
const res = await fetch(`https://api.github.com/repos/${requireDataRepo()}/contents/${rel}`, {
src/client/data.ts, line 1182
const res = await fetch('/api/cau/enrich', {
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
tools/scraper/ai.mjs, line 15
// ---- API key 解析:env → tools/scraper/.env → ~/.dsh/.credentials.yaml(复用 DSH 的 key) ----
tools/scraper/ai.mjs, line 17
if (process.env.DEEPSEEK_API_KEY) return process.env.DEEPSEEK_API_KEY;
tools/scraper/ai.mjs, line 18
const envPath = join(ROOT, 'tools', 'scraper', '.env');
Show more
tools/scraper/enrich.mjs, line 35
console.error('未找到 DEEPSEEK_API_KEY(检查 env / tools/scraper/.env / ~/.dsh/.credentials.yaml)');
tools/shared/token-store.mjs, line 175
const env = String(process.env.CAU_GITHUB_TOKEN || '').trim()
.gitignore, line 3
package-lock.json
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
lib/client.js, line 1
window.__ModuleLoader__.load({ id: 'cau-portal', factory: (require) => { var module = { exports: {} }; var exports = module.exports;
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 c1e5a15b4612. requests shell access. The manifest names this permission. can reach api.github.com. The description does not name that host. can reach a host that is not written as a fixed address. can reach api.deepseek.com. The description does not name that host. 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: c1e5a15b46120a11b67e09ae502e186cbac7c39b
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.