JaviMaligno/vitamind
github TypeScript analyzed 3a82028
Solar Vitamin D Explorer - Know when and where you can synthesize Vitamin D
drift
- HIGH code analysis flagged hidden prompt content in JaviMaligno/vitamind
- HIGH code analysis flagged hidden prompt content in JaviMaligno/vitamind
- HIGH code analysis flagged hidden prompt content in JaviMaligno/vitamind
- HIGH code analysis flagged hidden prompt content in JaviMaligno/vitamind
- HIGH code analysis flagged hidden prompt content in JaviMaligno/vitamind
- HIGH code analysis flagged hidden prompt content in JaviMaligno/vitamind
capabilities
transport streamable-http · http
verified
reported
listed in the official MCP registry counts 9 tools · 0 res · 0 prompts permission surface via code analysis
tools
-
estimate_sun_session
-
get_my_cities
-
get_my_profile
-
get_sun_times
-
get_vitamin_d_window
-
log_sun_session
-
search_city
-
set_history_location
-
update_my_profile
skills & danger signals
prompt-surface
shipped agent-instruction files + hidden-content / dangerous-code findings —
quoted from the analyzed source
analyzed commit 3a82028 · analyzer v37 · 8h ago
skills & prompt files 2
- hidden: agent-rules: skill-exfil AGENTS.md :590
secret→sink: The endpoint authorizes via `Authorization: Bearer $CRON_SECRET` header only (set automatically by Vercel cron). The `?secret=` query-string variant was removed because it leaks the secre
- agent-rules CLAUDE.md
danger signals1
- credential in logs credential in log scripts/generate-vapid.mjs :6
console.log(`VAPID_PRIVATE_KEY=${keys.privateKey}`);
code evidence
evidence-backed
findings quoted directly from the published source artifact — not inferred
code files: 416
filesystem 37
- fs (weak) app/__tests__/ci-workflow.test.ts :2
import { readFileSync } from "node:fs"; - fs (weak) app/__tests__/city-route-dynamic.test.ts :2
import { existsSync, readdirSync, readFileSync } from "node:fs"; - fs (weak) app/__tests__/jsonld-authorship.test.ts :2
import { readFileSync, readdirSync, statSync } from "node:fs"; - fs (weak) app/__tests__/layout-schema.test.ts :2
import { readFileSync } from "node:fs"; - fs (weak) app/__tests__/learn-references.test.ts :2
import { readFileSync } from "node:fs"; - fs (weak) app/__tests__/prose-gating.test.ts :2
import { readFileSync } from "node:fs"; - fs (weak) app/__tests__/sitemap.test.ts :2
import { readdirSync, existsSync } from "node:fs"; - fs (weak) app/__tests__/sun-hub-split.test.ts :2
import { existsSync, readdirSync, readFileSync } from "node:fs"; - fs (weak) app/__tests__/suntime-pages.test.ts :2
import { existsSync, readFileSync, readdirSync } from "node:fs"; - fs (weak) app/__tests__/vercel-crons.test.ts :2
import { readFileSync } from "node:fs"; - fs (weak) i18n/__tests__/client-messages.test.ts :2
import { readFileSync, readdirSync, statSync } from "node:fs"; - fs (weak) lib/__tests__/content-revision.test.ts :2
import { readFileSync } from "node:fs";
show 25 more
- fs (weak) lib/__tests__/geo-distance.test.ts :2
import { existsSync, readFileSync, readdirSync, statSync } from "fs"; - fs (weak) lib/__tests__/indexnow.test.ts :2
import { readFileSync } from "node:fs"; - fs (weak) lib/__tests__/mcp-year-payload.test.ts :1
import { readFileSync } from "node:fs"; - fs (weak) lib/__tests__/schema.test.ts :2
import { readFileSync } from "node:fs"; - fs (weak) lib/__tests__/short-month-single-source.test.ts :2
import { readdirSync, readFileSync, statSync } from "node:fs"; - fs (weak) lib/__tests__/timezone-independence.test.ts :2
import { readFileSync } from "node:fs"; - fs lib/content-fingerprint.ts :94
import { readFileSync } from "node:fs"; - fs (weak) messages/__tests__/health-claims.test.ts :2
import { readFileSync } from "node:fs"; - fs (weak) scripts/build-sw.mjs :6
import { readFileSync, writeFileSync } from "node:fs"; - fs (weak) scripts/build-widgets.mjs :12
import { writeFileSync, readFileSync } from "node:fs"; - fs (weak) scripts/diag-real-history.test.ts :2
import { readFileSync } from "node:fs"; - fs (weak) scripts/dump-builtin-geonames.ts :32
import { readFileSync } from "node:fs"; - fs (weak) scripts/generate-icons.mjs :5
import fs from "node:fs"; - fs (weak) scripts/indexnow.ts :20
import { readFileSync } from "node:fs"; - fs (weak) scripts/ozone-fit.ts :18
import { readFileSync } from "node:fs"; - fs (weak) scripts/ozone-sample.ts :26
import { readFileSync, writeFileSync, mkdirSync } from "node:fs"; - fs (weak) scripts/preview-widgets.test.ts :8
import { writeFileSync } from "node:fs"; - fs (weak) scripts/probe-firstvisit.mjs :2
import { mkdirSync } from "fs"; - fs (weak) scripts/seed-city-names.ts :15
import { createWriteStream, createReadStream, existsSync, unlinkSync } from "fs"; - fs (weak) scripts/slug-report.ts :23
import { readFileSync } from "node:fs"; - fs (weak) scripts/svg-to-png.mjs :2
import fs from "node:fs"; - fs (weak) tests/e2e/gps-error-hint.spec.mjs :24
import { readdirSync, existsSync } from "node:fs"; - fs (weak) tests/e2e/install-awareness.spec.mjs :6
import { readdirSync, existsSync } from "node:fs"; - fs (weak) tests/e2e/nav-tabs.spec.mjs :26
import { readdirSync, existsSync } from "node:fs"; - fs (weak) tests/e2e/sw-update.spec.mjs :26
import { readFileSync, readdirSync, existsSync } from "node:fs";
shell / exec 2
- shell (weak) next.config.ts :2
import { execSync } from "node:child_process"; - shell (weak) scripts/build-sw.mjs :7
import { execSync } from "node:child_process";
network 29
- net app/api/push/notify/route.ts :80
const res = await fetch(url, { signal: AbortSignal.timeout(8000) }).catch(() => null); - net app/api/revalidate-today/route.ts :109
const res = await fetch(sample.url, { - net app/api/weather/route.ts :68
const main = fetch(upstreamUrl, { signal: AbortSignal.timeout(UPSTREAM_TIMEOUT_MS) }); - net components/AiConnections.tsx :38
const res = await fetch("/api/oauth/connections", { headers: { Authorization: `Bearer ${jwt}` } }); - net components/CitySearch.tsx :63
fetch(`https://nominatim.openstreetmap.org/search?q=${encodeURIComponent(q)}&format=json&limit=4&accept-language=${locale}`, { headers: { "User-Agent": "VitD/1" } }) - net components/NotificationToggle.tsx :122
await fetch("/api/push/subscribe", { - net components/OAuthConsent.tsx :51
const res = await fetch("/api/oauth/approve", { - net components/PushLocaleSync.tsx :28
return fetch("/api/push/subscribe", { - net components/WorldMap.tsx :50
fetch("https://cdn.jsdelivr.net/npm/world-atlas@2/countries-110m.json") - net (weak) docs/original_claude_ouput/vitamin-d-global-v5.jsx :115
fetch("https://cdn.jsdelivr.net/npm/world-atlas@2/countries-110m.json") - net hooks/useForecast.ts :62
fetch(`/api/weather?lat=${lat.toFixed(2)}&lon=${lon.toFixed(2)}&days=5`) - net hooks/useHistory.ts :114
const res = await fetch(
show 17 more
- net hooks/useNowStatus.ts :37
fetch(`/api/weather?lat=${lat.toFixed(2)}&lon=${lon.toFixed(2)}&date=${dateStr}`) - net hooks/useWeather.ts :19
fetch(`/api/weather?lat=${lat.toFixed(2)}&lon=${lon.toFixed(2)}&date=${dateStr}`, { signal: controller.signal }) - net lib/analytics.ts :206
void fetch(ENDPOINT, { - net lib/cities-api.ts :92
const res = await fetch( - net lib/geonames.ts :23
loadPromise = fetch("/cities15000.json") - net lib/mcp-tools.ts :688
const main = fetch(upstreamUrl, { signal: AbortSignal.timeout(UPSTREAM_TIMEOUT_MS) }); - net lib/weather-range.ts :91
const res = await fetch(rangeUrl(lat, lon, from, to), { - net (weak) scripts/dump-builtin-geonames.ts :92
const res = await fetch(GEONAMES_URL); - net (weak) scripts/ozone-sample.ts :66
const res = await fetch(url.toString(), { signal: AbortSignal.timeout(TIMEOUT_MS) }); - net (weak) scripts/seed-cities.ts :195
const res = await fetch(GEONAMES_URL); - net (weak) scripts/seed-city-names.ts :127
const res = await fetch(ALTERNATE_NAMES_URL); - net (weak) scripts/setup-cities-table.ts :54
const res = await fetch(mgmtUrl, { - net (weak) scripts/slug-report.ts :48
const res = await fetch(GEONAMES_URL); - net (weak) scripts/sw.template.js :69
return fetch(request).then((response) => { - net (weak) tests/e2e/prose-passage.spec.mjs :68
const res = await fetch(`${BASE_URL}${path}`); - net (weak) tests/e2e/schema-graph.spec.mjs :17
const res = await fetch(`${BASE_URL}${path}`); - net (weak) tests/e2e/sw-update.spec.mjs :25
import { createServer } from "node:http";
secrets 17
- secrets (weak) app/__tests__/robots.test.ts :12
if (v === undefined) delete process.env[k]; - secrets (weak) app/api/__tests__/ops-alerts-route.test.ts :15
const saved = process.env.OPS_ALERT_TOKEN; - secrets (own credential) app/api/ops/alerts/route.ts :25
const token = process.env.OPS_ALERT_TOKEN; - secrets (own credential) app/api/push/notify/route.ts :68
process.env.VAPID_PRIVATE_KEY!, - secrets (own credential) app/api/revalidate-today/route.ts :51
const cronSecret = process.env.CRON_SECRET; - secrets (weak) lib/__tests__/site.test.ts :11
if (v === undefined) delete process.env[k]; - secrets (own credential) lib/analytics-store.ts :14
const key = process.env.SUPABASE_SERVICE_ROLE_KEY; - secrets (own credential) lib/mcp-analytics.ts :16
const key = process.env.SUPABASE_SERVICE_ROLE_KEY; - secrets (own credential) lib/mcp-personal.ts :424
const key = process.env.SUPABASE_SERVICE_ROLE_KEY; - secrets (own credential) lib/oauth.ts :263
const key = process.env.SUPABASE_SERVICE_ROLE_KEY; - secrets (own credential) lib/ops-events.ts :99
const key = process.env.SUPABASE_SERVICE_ROLE_KEY; - secrets (own credential) lib/push-store.ts :25
const key = process.env.SUPABASE_SERVICE_ROLE_KEY;
show 5 more
- secrets (weak) scripts/check-cities.ts :5
const key = process.env.SUPABASE_SERVICE_ROLE_KEY!; - secrets (weak) scripts/seed-cities.ts :182
const serviceKey = process.env.SUPABASE_SERVICE_ROLE_KEY; - secrets (weak) scripts/seed-city-names.ts :264
const serviceKey = process.env.SUPABASE_SERVICE_ROLE_KEY; - secrets (weak) scripts/setup-cities-table.ts :7
const SERVICE_KEY = process.env.SUPABASE_SERVICE_ROLE_KEY; - secrets (weak) scripts/verify-cities.ts :4
const sb = createClient(process.env.NEXT_PUBLIC_SUPABASE_URL!, process.env.SUPABASE_SERVICE_ROLE_KEY!);
tool registrations 9
- search_city lib/mcp-server.ts :206
- get_sun_times lib/mcp-server.ts :225
- get_vitamin_d_window lib/mcp-server.ts :233
- estimate_sun_session lib/mcp-server.ts :420
- get_my_profile lib/mcp-server.ts :447
- get_my_cities lib/mcp-server.ts :455
- update_my_profile lib/mcp-server.ts :463
- log_sun_session lib/mcp-server.ts :498
- set_history_location lib/mcp-server.ts :512
self-description: says it is an MCP server 1
- server-json server.json :2
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json"
server hint (code evidence, not proof) 1
- filename lib/mcp-server.ts
JaviMaligno-vitamind-3a82028/lib/mcp-server.ts
declared dependencies 42
- @modelcontextprotocol/client@^2.3.1
- @modelcontextprotocol/core@^2.3.1
- @modelcontextprotocol/ext-apps@2.0.3
- @modelcontextprotocol/server@^2.3.1
- @supabase/supabase-js@^2.98.0
- @vercel/analytics@^1.6.1
- d3@^7.9.0
- flag-icons@^7.5.0
- fuse.js@^7.1.0
- lucide-react@^1.24.0
- mcp-handler@^2.3.0
- next@^16.4.1
show 28 more
- next-intl@^4.9.2
- react@^19.2.4
- react-dom@^19.2.4
- web-push@^3.6.7
- zod@^4.2.0
- @eslint/eslintrc@^3.3.5
- @playwright/test@^1.59.1
- @tailwindcss/postcss@^4.2.1
- @testing-library/jest-dom@^6.9.1
- @testing-library/react@^16.3.2
- @types/adm-zip@^0.5.7
- @types/d3@^7.4.3
- @types/node@^25.3.5
- @types/react@^19.2.14
- @types/react-dom@^19.2.3
- @types/unzipper@^0.10.11
- @types/web-push@^3.6.4
- adm-zip@^0.6.1
- esbuild@0.28.1
- eslint@^9.39.4
- eslint-config-next@^16.4.1
- jsdom@^28.1.0
- postcss@^8.5.23
- sharp@^0.35.5
- tailwindcss@^4.2.1
- tsx@^4.21.0
- typescript@5.9.3
- unzipper@^0.12.3
perm:untrusted 7
- untrusted app/api/push/notify/route.ts :82
const data = await res.json(); - untrusted app/api/revalidate-today/route.ts :119
return classifyHub(sample, await res.text(), at, res.status); - untrusted hooks/useHistory.ts :118
const data = await res.json(); - untrusted lib/cities-api.ts :96
const rows: SupabaseCity[] = await res.json(); - untrusted lib/weather-range.ts :95
return hoursFromPayload(await res.json()); - untrusted (weak) scripts/ozone-sample.ts :68
return res.json(); - untrusted (weak) scripts/setup-cities-table.ts :76
const result = await res.json();