Codex, Plugin
China Travel Assistant
China Travel Assistant, a plugin 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 af31ae162585, unchanged since the check below.
NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV PERMISSION_SHELL_DECLARED SECRETS_ENV_READ
Why this grade
- NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
plugins/china-travel-assistant/credential-ui/public/app.js, line 13
response = await fetch(url, { ...options, credentials: ' - SECRETS_PATH_DOTENV Low
Mentions a .env file.
scripts/build-release.py, line 40
if relative.name in {"credentials.env", ".env", "settings.env"} or relative.suffix == ".pyc": - PERMISSION_SHELL_DECLARED Note
Runs shell commands, and the manifest or description says so.
plugins/china-travel-assistant/src/china_travel_assistant/cli.py, line 177
return subprocess.run(["flyai", *args.args], env=environment, check=False).returncode - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
plugins/china-travel-assistant/src/china_travel_assistant/amap.py, line 33
self._api_key = api_key or os.environ.get("AMAP_WEBSERVICE_KEY")
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
plugins/china-travel-assistant/src/china_travel_assistant/cli.py, line 177
return subprocess.run(["flyai", *args.args], env=environment, check=False).returncode
plugins/china-travel-assistant/src/china_travel_assistant/credential_store.py, line 39
result = subprocess.run(
plugins/china-travel-assistant/src/china_travel_assistant/credential_store.py, line 73
return subprocess.run(
Show more
plugins/china-travel-assistant/src/china_travel_assistant/doctor.py, line 122
completed = subprocess.run(
plugins/china-travel-assistant/src/china_travel_assistant/qweather.py, line 80
signer: Callable[..., subprocess.CompletedProcess[bytes]] = subprocess.run,
scripts/build-release.py, line 28
return int(subprocess.check_output(["git", "log", "-1", "--format=%ct"], cwd=ROOT, text=True).strip())
scripts/build-release.py, line 32
tracked = subprocess.check_output(["git", "ls-files", "-z", "plugins/china-travel-assistant"], cwd=ROOT)
scripts/build-release.py, line 68
subprocess.run(
Install and update
Pass
No install-time script found, and dependencies are pinned or absent.
Network
Concern
can reach a host that is not written as a fixed address.
NETWORK_NO_FIXED_HOST
plugins/china-travel-assistant/credential-ui/public/app.js, line 13
response = await fetch(url, { ...options, credentials: '
plugins/china-travel-assistant/credential-ui/web/app.ts, line 15
response = await fetch(url, { ...options, credentials: '
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
plugins/china-travel-assistant/src/china_travel_assistant/amap.py, line 33
self._api_key = api_key or os.environ.get("AMAP_WEBSERVICE_KEY")
plugins/china-travel-assistant/src/china_travel_assistant/cli.py, line 131
if not os.environ.get("AMAP_WEBSERVICE_KEY"):
scripts/build-release.py, line 40
if relative.name in {"credentials.env", ".env", "settings.env"} or relative.suffix == ".pyc":
Show more
plugins/china-travel-assistant/src/china_travel_assistant/cli.py, line 136
if not os.environ.get("AMAP_WEBSERVICE_KEY"):
plugins/china-travel-assistant/src/china_travel_assistant/cli.py, line 172
flyai_key = os.environ.get("FLYAI_API_KEY")
plugins/china-travel-assistant/src/china_travel_assistant/cli.py, line 181
probe_amap(os.environ.get("AMAP_WEBSERVICE_KEY"))
plugins/china-travel-assistant/src/china_travel_assistant/cli.py, line 183
probe_variflight(os.environ.get("VARIFLIGHT_API_KEY"))
plugins/china-travel-assistant/src/china_travel_assistant/credential_store.py, line 21
configured = os.environ.get("CHINA_TRAVEL_CREDENTIAL_UI")
.gitignore, line 5
.coverage
docs/superpowers/specs/2026-08-19-readme-visual-assets-links-design.md, line 31
- `.env.example` 只保留变量名和空值,任何真实 Key 都不进入仓库。
plugins/china-travel-assistant/references/credentials.md, line 47
CI、容器与无界面场景可由启动环境**显式注入**供应商变量;桌面端不从普通 `.env` 文件回退。注入时按供应商限制进程范围:12306 无 Key,飞常准子进程只收到飞常准 Key,FlyAI 子进程只收到 FlyAI Key。不要把变量写进公开 CI 日志或仓库。
Agent instructions
Pass
No instruction to ignore earlier instructions or to hide a step.
Obfuscation
Pass
No encoded or minified payload found.
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 af31ae162585. requests shell access. The manifest names this permission. can reach a host that is not written as a fixed address. reads a credential or environment file.
Date and source
Date checked:
github.com
Commit graded: af31ae1625852ef0dd1e690efbda628ed1f0f169
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.