SkillTotal

Is Apple Rag MCP server safe?

No malicious indicators - review capabilities before installing
Notable — review in context (capabilities are not malware):
  • Node.js shell/command execution
  • Node.js network egress
  • Delegated authentication (OAuth 2.0 / OIDC)

apple-rag-mcp is an AI npm_package analyzed by SkillTotal's deterministic static scanner. The scan found no malicious indicators, though 5 risky constructs are reported for review. It can: delegated authentication, mcp tools detected, network egress, scoped identity and shell execution — capabilities are what the code can do, not a verdict on intent. Risk score 0/100 (low).

apple-rag-mcp 4.22.0

npm_package · https://github.com/BingoWon/apple-rag-mcp
LOW
0
/ 100 risk score
Snapshot · scanned Aug 5, 2026 · apple-rag-mcp@4.22.0 · engine 0.38.1 / ruleset 42

Automated static-analysis result. It can contain false positives and false negatives, and is not a claim about the intent of Apple Rag MCP server's authors. Report a false positive.

Capabilities — what this component can do (not a risk score):
delegated authenticationmcp tools detectednetwork egressscoped identityshell execution

Behavioral traits

How this component maps to the CSA agentic threat model. Descriptive — it never affects the risk score.

Tool surface
Tool Usage
Execution authority
Tool Access Control / Direct Tool Access
Network egress
Interaction & Communication / Direct Communication
Delegated authentication
Tool Execution Context / User Delegated Credentials
Scoped / least-privilege identity
Tool Execution Context / Least-Privilege Service Identity

Findings (5)

HIGHNode.js shell/command executionST-SHELL-NODE

The component can run operating-system commands or spawn processes.

Why it matters: Powerful and often legitimate — confirm the commands aren't built from untrusted input.

Fix: Confirm the command and its arguments are fully controlled and not derived from untrusted input; prefer execFile with an argument array.

MEDIUMNode.js network egressST-NET-NODE

The component makes outbound network requests.

import axios, { type AxiosError, type AxiosInstance, type AxiosResponse } from "axios";
this.client = axios.create({
fetch("https://api.ipify.org?format=json")
const response = await fetch("https://oauth2.googleapis.com/token", {
const response = await fetch("https://github.com/login/oauth/access_token", {
const response = await fetch("https://www.googleapis.com/oauth2/v2/userinfo", {
fetch("https://api.github.com/user", {
fetch("https://api.github.com/user/emails", {
const response = await fetch(AppleAPIClient.ALL_VIDEOS_URL, {
const response = await fetch(videoUrl, {
const response = await fetch(url, {
const res = await fetch(DEEPINFRA_CONFIG.API_URL, {
const res = await c.env.ASSETS.fetch(c.req.raw);
return c.env.ASSETS.fetch(new Request(url.toString(), c.req.raw));
async fetch(request: Request, env: Env, ctx: ExecutionContext): Promise<Response> {
return mcpApp.fetch(request, env, ctx);
return app.fetch(request, env, ctx);
const res = await fetch(`${DEEPINFRA_CONFIG.BASE_URL}${endpoint}`, {
response += `This shows merged content from multiple parts. For the complete document, use Apple RAG MCP fetch tool: \`fetch(url: "${result.url}")\`\n\n`;
response += `This is a partial document. For the complete content, use Apple RAG MCP fetch tool: \`fetch(url: "${result.url}")\`\n\n`;
return handler.fetch(request, {
const res = await fetch(url, {

Why it matters: Usually legitimate, but confirm the destinations are expected and no sensitive data leaves.

Fix: Confirm the destination hosts are expected and that no sensitive data is sent off-host.

LOWDelegated authentication (OAuth 2.0 / OIDC)ST-AUTH-DELEGATED

An OAuth 2.0 / OpenID Connect delegated-authentication flow was detected (authorization-code / refresh-token / token-exchange grant, an OIDC authorize/discovery endpoint or id_token, or a delegation library). Tools authenticate with the end user's delegated, scoped credentials rather than a long-lived embedded service credential. (2 occurrence(s) shown as evidence).

return `https://github.com/login/oauth/authorize?${params}`;
grant_type: "authorization_code",

Fix: Delegated auth is a lower-blast-radius execution context than an embedded static credential. Confirm the requested scopes are minimal and that tokens are never logged or forwarded off-host.

LOWScoped / least-privilege identityST-AUTH-SCOPED

A short-lived, scoped, assumed identity was detected — an STS AssumeRole / session token, a cloud managed or workload identity, an impersonated service account, a projected Kubernetes service-account token, or a dynamic-secret broker. Tools authenticate with a narrowly-scoped credential that expires, rather than a long-lived embedded service credential. (2 occurrence(s) shown as evidence).

export async function generateAccessToken(
const accessToken = await generateAccessToken(user, sessionId, planType, permissions, secret);

Fix: A scoped, short-lived identity is the smallest-blast-radius execution context. Confirm the assumed role / requested scope grants only the permissions the tool needs, and that the token lifetime is minimal.

LOWMCP tool surface detectedST-MCP-DETECTED

An MCP tool surface (manifest or tool definitions) was found.

Why it matters: Just context — review which tools it offers and their permissions.

Fix: Review the declared MCP tools and their permissions.

Check your own component

Run the same evidence-backed scan on any MCP server, agent skill, or package.

Scan your own component

How we determine this: deterministic static analysis (regex + AST), evidence-anchored, no code execution. Methodology →