MCP, MCP server
nestrs
NestJS-like API framework for Rust built on Axum and Tower.
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 SECRETS_PATH_DOTENV PERMISSION_SHELL_DECLARED OBFUSCATION_FILE_OVER_READ_CAP OBFUSCATION_FILE_CAP_REACHED
Why this grade
- NETWORK_NO_FIXED_HOST Low
Makes a network call whose host is not written as a fixed address.
examples/lab/src/bin/lab3_files.rs, line 46
/// Multipart upload: curl -F file=@somefile - SECRETS_PATH_DOTENV Low
Mentions a .env file.
nestrs/src/config.rs, line 30
/// Load typed config from environment variables (optionally `.env` / `.env.<env>` in non-production), - PERMISSION_SHELL_DECLARED Note
Runs shell commands, and the manifest or description says so.
.github/workflows/ci.yml, line 29
out = subprocess.check_output(["git", "ls-files", "-z"]) - OBFUSCATION_FILE_OVER_READ_CAP Note
A file was over the read cap and was not fully read.
Cargo.lock, line 1
# This file is automatically @generated by Cargo. - OBFUSCATION_FILE_CAP_REACHED Note
The 400 file cap was reached before every file was read.
Cargo.lock, line 1
# This file is automatically @generated by Cargo.
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
.github/workflows/ci.yml, line 29
out = subprocess.check_output(["git", "ls-files", "-z"])
scripts/ci/audit_ignore_status.py, line 31
proc = subprocess.run(
scripts/ci/public_api_snapshot.py, line 69
proc = subprocess.run(cmd, cwd=REPO_ROOT, capture_output=True, text=True)
Show more
scripts/load/export_benchmark_report.py, line 11
out = subprocess.check_output(
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
examples/lab/src/bin/lab3_files.rs, line 46
/// Multipart upload: curl -F file=@somefile
examples/lab/src/bin/lab4_openapi_graphql.rs, line 4
//! Writes two attack queries to /tmp for curl use:
nestrs/src/admin.rs, line 31
//! Live dump from the CLI (curl GET, bearer header, `--` before the URL):
Show more
nestrs-cli/src/graphql_sdl.rs, line 124
// interpreted as extra curl flags.
nestrs-cli/src/graphql_sdl.rs, line 133
"curl exited {}: {}",
nestrs-cli/src/main.rs, line 220
e && apt-get install -y ca-certificates curl && rm -rf /var/lib/apt/lists/*\nCOPY --f
nestrs-cli/src/repl.rs, line 19
//! `curl -X GET` with `Authorization: Bearer …` as a **header only**
nestrs-cli/src/repl.rs, line 21
//! be parsed as a curl flag. Requires `curl` on `$PATH`.
Secrets
Concern
reads a credential or environment file.
SECRETS_PATH_DOTENV
nestrs/src/config.rs, line 30
/// Load typed config from environment variables (optionally `.env` / `.env.<env>` in non-production),
nestrs/src/config.rs, line 39
let _ = dotenvy::from_filename(format!(".env.{env}"));
nestrs/src/config.rs, line 74
/// cascade therefore has the *lowest* precedence: `.env.local` wins over
Show more
nestrs/src/config.rs, line 75
/// `.env`). Missing files are skipped silently, matching `dotenvy::dotenv`.
nestrs/src/config.rs, line 89
/// Build the env overlay: `.env` → `.env.{env}` → `.env.{env}.local`
nestrs/src/config.rs, line 103
merge_dotenv_file(&mut map, &dir.join(".env"));
nestrs/src/config.rs, line 104
merge_dotenv_file(&mut map, &dir.join(format!(".env.{env}")));
nestrs/src/config.rs, line 105
merge_dotenv_file(&mut map, &dir.join(format!(".env.{env}.local")));
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
Cargo.lock, line 1
# This file is automatically @generated by Cargo.
nestrs/src/lib.rs, line 1
extern crate self as nestrs;
nestrs-ldap/Cargo.toml, line 1
[package]
Licence
Note
no licence file found.
LICENCE_MISSING
No file path was stored.
no licence file found.
Maintainer activity
Pass
The latest commit is within the last 365 days.
Note
Hygiene check of commit 999887611238. 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. a file was over the read cap and was not fully read. the file cap was reached before every file was read. no licence file found.
Date and source
Date checked:
github.com
Commit graded: 999887611238af8ad0862588c55adf95b01d75c4
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.