MCP, MCP server
Code Pathfinder
Code Pathfinder, an MCP server listed in the PlugVet directory.
Compatibility: Not stated.
Grade D
Two or more Medium findings, or a High finding. Only try it in a sandbox.
Not a guarantee. A hygiene check of the source at the commit shown, not a security audit.
Rescanned at commit 460d0d3b4d86, unchanged since the check below.
PERMISSION_SHELL_UNDECLARED SECRETS_PATH_CREDENTIAL
Why this grade
- PERMISSION_SHELL_UNDECLARED Medium
Runs shell commands that the manifest or description does not mention.
python-sdk/codepathfinder/dataflow.py, line 184
... to_sinks=calls("os.system", "subprocess.call"), - SECRETS_PATH_CREDENTIAL Medium
Mentions a credential store path (~/.ssh, id_rsa, .npmrc, .aws/credentials, credentials.json, .netrc).
extension/secureflow/packages/secureflow-cli/scanner/file-request-handler.js, line 296
item.name !== '.npmrc' &&
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
requests shell access. No manifest field names shell or command execution. can delete files.
PERMISSION_SHELL_UNDECLARED PERMISSION_DELETE_FILES
python-sdk/codepathfinder/dataflow.py, line 184
... to_sinks=calls("os.system", "subprocess.call"),
python-sdk/codepathfinder/python_rule_meta.py, line 28
"signature": "subprocess.run(args, *, shell=False, capture_output=False, ...) -> CompletedProcess",
python-sdk/codepathfinder/python_rule_meta.py, line 34
"signature": "subprocess.call(args, *, shell=False, ...) -> int",
Show more
python-sdk/codepathfinder/python_rule_meta.py, line 40
"signature": "subprocess.check_call(args, *, shell=False, ...) -> int",
python-sdk/codepathfinder/python_rule_meta.py, line 46
"signature": "subprocess.check_output(args, *, shell=False, ...) -> bytes",
python-sdk/codepathfinder/python_rule_meta.py, line 52
"signature": "subprocess.Popen(args, *, shell=False, ...) -> Popen",
python-sdk/codepathfinder/python_rule_meta.py, line 80
calls("subprocess.run", match_name={"shell": True}).tracks(0),
python-sdk/codepathfinder/python_rule_meta.py, line 81
calls("subprocess.Popen", match_name={"shell": True}).tracks(0),
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. can reach api.wordpress.org. The description does not name that host. can reach evil.com. The description does not name that host. can reach attacker.com. The description does not name that host. can reach 169.254.169.254. The description does not name that host. can reach api.example.com. The description does not name that host. can reach docs.python.org. The description does not name that host.
NETWORK_NO_FIXED_HOST NETWORK_UNNAMED_HOST
extension/secureflow/packages/secureflow-cli/tools/mgmt/analyze-plugins.sh, line 107
for cmd in curl unzip secureflow jq; do
extension/secureflow/packages/secureflow-cli/tools/mgmt/analyze-plugins.sh, line 164
if curl -L -f -s -o "$zip_file" "$download_url"; then
extension/secureflow/packages/secureflow-cli/tools/mgmt/stats.sh, line 14
slugs=$(curl -s "https://api.wordpress.org/plugins/info/1.2/?action=query_plugins&request%5Bbrowse%5D=popular&request%5Bpage%5D=$page&request%5Bper_page%5D=100" | \
Show more
python-sdk/codepathfinder/python_rule_meta.py, line 612
"signature": "requests.get(url: str, params=None, **kwargs) -> Response",
python-sdk/codepathfinder/python_rule_meta.py, line 618
"signature": "requests.post(url: str, data=None, json=None, **kwargs) -> Response",
python-sdk/codepathfinder/python_rule_meta.py, line 624
"signature": "requests.put(url: str, data=None, **kwargs) -> Response",
python-sdk/codepathfinder/python_rule_meta.py, line 630
"signature": "requests.delete(url: str, **kwargs) -> Response",
python-sdk/codepathfinder/python_rule_meta.py, line 636
"signature": "requests.request(method: str, url: str, **kwargs) -> Response",
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_CREDENTIAL SECRETS_PATH_DOTENV
extension/secureflow/packages/secureflow-cli/scanner/file-request-handler.js, line 293
item.name !== '.env' &&
extension/secureflow/packages/secureflow-cli/scanner/file-request-handler.js, line 296
item.name !== '.npmrc' &&
extension/secureflow/packages/secureflow-cli/scanner/file-request-handler.js, line 363
return fileName.startsWith('.') && fileName !== '.env' && fileName !== '.gitignore';
Show more
extension/secureflow/packages/secureflow-cli/scanner/project-analyzer.js, line 54
if (fileName.startsWith('.') && fileName !== '.env' && fileName !== '.gitignore') {
extension/secureflow/packages/secureflow-cli/scanner/project-analyzer.js, line 368
/\.env$/,
python-sdk/rules/python/flask/debug_mode.py, line 160
SECRET_KEY = os.environ.get('SECRET_KEY')
.github/workflows/deploy-sandbox.yml, line 76
printf '%s\n' "$SSH_KEY" > ~/.ssh/deploy_key
.github/workflows/deploy-sandbox.yml, line 77
chmod 600 ~/.ssh/deploy_key
.github/workflows/deploy-sandbox.yml, line 80
ssh-keyscan "$DEPLOY_HOST" >> ~/.ssh/known_hosts 2>/dev/null
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. the file cap was reached before every file was read.
OBFUSCATION_FILE_OVER_READ_CAP OBFUSCATION_FILE_CAP_REACHED
extension/secureflow/package-lock.json, line 1
{
rules/docker/security/DOCKER-SEC-006/meta.yaml, line 1
id: DOCKER-SEC-006
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 460d0d3b4d86. requests shell access. No manifest field names shell or command execution. can delete files. can reach a host that is not written as a fixed address. can reach api.wordpress.org. The description does not name that host. can reach evil.com. The description does not name that host. can reach attacker.com. The description does not name that host. can reach 169.254.169.254. The description does not name that host. can reach api.example.com. The description does not name that host. can reach docs.python.org. 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. the f
Date and source
Date checked:
github.com
Commit graded: 460d0d3b4d86d398380affeca824d812b270fdf1
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.