MCP, MCP server
pasal
pasal, an MCP server 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 485e5190382e, unchanged since the check below.
NETWORK_NO_FIXED_HOST SECRETS_PATH_DOTENV 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.
apps/web/src/app/[locale]/page.tsx, line 184
curl https://pasal.id/api/v1/search?q=ketenagakerjaan - SECRETS_PATH_DOTENV Low
Mentions a .env file.
apps/mcp-server/server.py, line 76
"Set SUPABASE_ANON_KEY in your .env file." - SECRETS_ENV_READ Note
Reads an environment variable whose name contains KEY, SECRET, TOKEN, PASSWORD or CREDENTIAL.
apps/mcp-server/server.py, line 72
_supabase_key = os.environ.get("SUPABASE_ANON_KEY") - OBFUSCATION_FILE_OVER_READ_CAP Note
A file was over the read cap and was not fully read.
apps/web/package-lock.json, line 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
Pass
No shell or command execution found, and no extra permission was declared.
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
apps/web/src/app/[locale]/page.tsx, line 184
curl https://pasal.id/api/v1/search?q=ketenagakerjaan
apps/web/src/app/[locale]/api/page.tsx, line 64
exampleRequest: `curl "https://pasal.id/api/v1/search?q=upah+minimum&type=UU&limit=3"`,
apps/web/src/app/[locale]/api/page.tsx, line 101
exampleRequest: `curl "https://pasal.id/api/v1/laws?type=UU&year=2003&limit=2"`,
Show more
apps/web/src/app/[locale]/api/page.tsx, line 137
exampleRequest: `curl "https://pasal.id/api/v1/laws/akn/id/act/uu/2003/13"`,
apps/web/src/app/[locale]/api/page.tsx, line 339
{`curl "https://pasal.id/api/v1/search?q=ketenagakerjaan"`}
apps/web/src/app/[locale]/api/page.tsx, line 342
{`curl "https://pasal.id/api/v1/laws?type=PP&year=2020"`}
apps/web/src/app/[locale]/api/page.tsx, line 345
{`curl "https://pasal.id/api/v1/laws/akn/id/act/uu/2003/13"`}
apps/web/src/app/[locale]/api/page.tsx, line 348
{`const res = await fetch("https://pasal.id/api/v1/search?q=upah+minimum");
apps/web/src/app/admin/peraturan/[id]/AdminActions.tsx, line 43
const res = await fetch(`/api/admin/peraturan/${workId}/retrigger`, {
apps/web/src/app/admin/peraturan/[id]/AdminActions.tsx, line 66
const res = await fetch(`/api/admin/peraturan/${workId}`, {
apps/web/src/app/admin/peraturan/[id]/AdminActions.tsx, line 95
const res = await fetch("/api/admin/revalidate", {
apps/web/src/app/admin/suggestions/SuggestionReviewClient.tsx, line 42
const res = await fetch("/api/admin/suggestions");
apps/web/src/app/admin/suggestions/SuggestionReviewClient.tsx, line 52
const res = await fetch("/api/admin/verify-suggestion", {
apps/web/src/app/admin/suggestions/SuggestionReviewClient.tsx, line 68
const res = await fetch("/api/admin/approve-suggestion", {
apps/web/src/app/admin/suggestions/SuggestionReviewClient.tsx, line 84
const res = await fetch("/api/admin/reject-suggestion", {
apps/web/src/app/api/admin/verify-suggestion/route.ts, line 155
const geminiRes = await fetch(
Secrets
Concern
reads a credential or environment file.
SECRETS_ENV_READ SECRETS_PATH_DOTENV
apps/mcp-server/server.py, line 72
_supabase_key = os.environ.get("SUPABASE_ANON_KEY")
apps/mcp-server/server.py, line 76
"Set SUPABASE_ANON_KEY in your .env file."
apps/web/src/app/sitemap.ts, line 17
process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!
Show more
apps/web/src/app/api/admin/scraper/trigger/route.ts, line 11
const adminKey = process.env.ADMIN_API_KEY;
apps/web/src/app/api/admin/verify-suggestion/route.ts, line 49
const apiKey = process.env.GEMINI_API_KEY;
apps/web/src/lib/admin-auth.ts, line 5
// Set ADMIN_EMAILS in .env.local: [email protected],[email protected]
apps/web/src/lib/stats.ts, line 8
process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!
apps/web/src/lib/supabase/client.ts, line 6
process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!
apps/web/src/lib/supabase/server.ts, line 8
process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!,
apps/web/src/lib/supabase/service.ts, line 7
process.env.SUPABASE_SERVICE_ROLE_KEY!
scripts/CLAUDE.md, line 88
# scripts/.env
scripts/load_uu_6_2023.py, line 16
load_dotenv(Path(__file__).parent / ".env")
scripts/load_uud.py, line 16
load_dotenv(Path(__file__).parent / ".env")
scripts/agent/apply_revision.py, line 13
load_dotenv(Path(__file__).parent.parent / ".env")
scripts/agent/correction_worker.py, line 17
# Load agent-specific env first (overrides), then scripts/.env (fallback)
scripts/agent/correction_worker.py, line 18
load_dotenv(Path(__file__).parent / ".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
apps/web/package-lock.json, line 1
{
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 485e5190382e. 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: 485e5190382e95bc4e0ba4308c8151c92784de1a
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.