Skip to main content
SkillTotal

Is morluto/rea safe?

Partially analyzed - Java, C/C++, Swift, C# and Go code not checked for shell, network or file access
Notable — review in context (a capability is not a malicious indicator):
  • Code writes to an AI agent's MCP configuration, settings or instruction files
  • Python shell/command execution
  • Python dynamic code execution

What to do: The Java, C/C++, Swift, C# and Go code was not checked for shell, network or file access, so this result is incomplete. Review that code before installing.

morluto/rea is a GitHub repository analyzed by SkillTotal's deterministic static scanner. The scan found no malicious indicators, though 1 risky construct is reported for review. Its Java, C/C++, Swift, C# and Go code was not checked for shell, network or file access, so this result is partial. It can: dynamic code execution, filesystem read, filesystem write, install time execution, mcp tools detected, network egress and shell execution — capabilities are what the code can do, not a verdict on intent. Risk score 20/100 (low).

rea-agents 6.10.1

GitHub repository, read as an MCP server · https://github.com/morluto/rea
LOW
20
/ 100 risk score
Snapshot · scanned Nov 22, 2026 · rea-agents@6.10.1 · engine 1.8.0 / ruleset 107

Get notified when this component changes

Change alerts aren't live yet. Leave your email and we'll let you know when they launch. We use it only for this and delete it on request.

Automated static-analysis result. It can contain false positives and false negatives, and is not a claim about the intent of morluto/rea's authors. Report a false positive.

Capabilities — what this component can do (not a risk score):
dynamic code executionfilesystem readfilesystem writeinstall time executionmcp tools detectednetwork egressshell 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
Filesystem reach
Tool Execution Context
Network egress
Interaction & Communication / Direct Communication
Metadata integrity risk
Trust / Tool Poisoning
Supply-chain provenance risk
General Protections / Supply Chain

Findings (14)

HIGHCode writes to an AI agent's MCP configuration, settings or instruction filesST-AGENT-CONFIG-INJECT

The component writes to a config file of a separate AI client (Claude Desktop, Cursor, VS Code, Continue, Windsurf), or, in the user's home directory, to an AI agent's settings, skills, subagents, commands or instruction and memory files (Claude Code, Codex, Gemini CLI, Cursor rules, AGENTS.md, CLAUDE.md). A server, hook or instruction added there loads in the agent's next session. That is expected from a command the user runs to set the agent up, and unexpected from code that runs on install or import. (2 occurrence(s) shown as evidence).

const configPath = join(profile, ".claude.json");
const claudeConfig = join(claudeDir, "claude_desktop_config.json");

Fix: Confirm why the component edits an agent's configuration or instructions. A tool that registers itself should ask the user and write only what it says it writes.

CapabilityNode.js dynamic code executionnot scored · severity highST-DYN-NODE

The code turns strings into live code at runtime (eval / new Function / exec).

command: `${nodeCommand} -e "eval(Buffer.from('${encodedScript}','base64').toString('utf8'))"`,
new vm.Script(source, { produceCachedData: true }).createCachedData();
vm.compileFunction(source, [], { produceCachedData: true }).cachedData ??

Why it matters: If those strings aren't fixed and trusted, they become a way to run arbitrary code.

Fix: Avoid evaluating dynamically constructed code; if unavoidable, ensure the input is a trusted constant and never derived from external data.

CapabilityPython dynamic code executionnot scored · severity highST-DYN-PY

The code turns strings into live code at runtime (eval / new Function / exec).

exec(compile(Path(entry).read_bytes(), entry, "exec"), {"__name__": "__main__", "__file__": entry})
exec(compile(source, implementation, "exec"), {
        "__file__": implementation,
        "__name__": "__main__",
    })
exec(compile(source, implementation, "exec"), {
exec(compile(runtime_path.read_bytes(), str(runtime_path), "exec"), runtime)
exec(compile(source, implementation, "exec"), {
        "__file__": implementation,
        "__name__": "__main__",
    })
exec(compile(source, implementation, "exec"), {
exec(compile(runtime_path.read_bytes(), str(runtime_path), "exec"), runtime)
exec(compile(source, implementation, "exec"), {
        "__file__": implementation,
        "__name__": "__main__",
    })
exec(compile(source, implementation, "exec"), {
exec(compile(runtime_path.read_bytes(), str(runtime_path), "exec"), runtime)

Why it matters: If those strings aren't fixed and trusted, they become a way to run arbitrary code.

Fix: Avoid evaluating dynamically constructed code; if unavoidable, ensure the input is a trusted constant and never derived from external data.

CapabilityMCP server launches a host commandnot scored · severity highST-MCP-SERVER-EXEC

An MCP server entry launches a command on your host.

"command": "npx",

Why it matters: Trusting the manifest means running that binary — verify what it is and where it comes from.

Fix: Verify the launched command and its source before trusting this MCP server configuration.

CapabilityNode.js shell/command executionnot scored · severity highST-SHELL-NODE

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

import { execFile } from "node:child_process";
const swiftc = (await exec("xcrun", ["--find", "swiftc"])).stdout.trim();
const swiftVersion = firstLine((await exec(swiftc, ["--version"])).stdout);
await exec(compiler, input.arguments, { maxBuffer: 20 * 1024 * 1024 });
const compiler = (await exec("xcrun", ["--find", "clang"])).stdout.trim();
const sdkPath = (await exec("xcrun", ["--show-sdk-path"])).stdout.trim();
version: firstLine((await exec(compiler, ["--version"])).stdout),
: (await exec("which", [requested])).stdout.trim();
version: firstLine((await exec(compiler, ["--version"])).stdout),
import { spawnSync } from "node:child_process";
const result = spawnSync(command, args, {
const result = spawnSync(command, args, {
import { spawnSync } from "node:child_process";
const result = spawnSync(command, args, {
import { spawn } from "node:child_process";
const child = spawn(process.execPath, [join(root, script), "--check"], {
import { execFile } from "node:child_process";
import { execFileSync } from "node:child_process";
import { execFile } from "node:child_process";
import { execFileSync } from "node:child_process";
import { execFileSync } from "node:child_process";
import { execFile } from "node:child_process";
import { execFile } from "node:child_process";
import { execFile } from "node:child_process";
import { spawnSync } from "node:child_process";

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.

CapabilityPython shell/command executionnot scored · severity highST-SHELL-PY

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

code = subprocess.run(["apt-get", "update"], env=_environment(work), stdin=subprocess.DEVNULL,
                                  stdout=output, stderr=subprocess.STDOUT, timeout=timeout).returncode
process = subprocess.Popen(
                    ["sh", "-c", 'done=$1; shift; "$@"; code=$?; printf "%s" "$code" > "$done.tmp" && mv "$done.tmp" "$done"',
                     "sh", os.path.join(capture, "exit"), *argv], …
done = subprocess.run([rea, *arguments["argv"]], cwd=os.path.expanduser("~"),
                                  env=_environment(os.path.abspath(arguments["work"])), stdin=subprocess.DEVNULL, stdout=out,
                                  st …
process = subprocess.Popen([sys.executable, "-I", "-c", LONG_RUN, job, *chunks], cwd=os.path.expanduser("~"),
                                       env=_environment(os.path.abspath(arguments["work"])), stdin=subprocess.DEVNULL, …
result = subprocess.run([command, *args], capture_output=True, text=True, check=False)
os.execve(request["gdb"], [request["gdb"], "-nx", "-nh", "--batch", "--quiet",
                                  "-iex", "set auto-load off", "-iex", "set debuginfod enabled off",
                                  "-iex", "set auto-solib-ad …
result = subprocess.run(["gh", "api", endpoint], capture_output=True, encoding="utf-8", timeout=20)
subprocess.run([sys.argv[2], "-O0", "-g", "-fno-inline", str(source), "-o", str(root / "probe")], check=True)
subprocess.run([sys.argv[3], "-q", "-t", "ext4", "-F", "-d", str(tree), str(root / "ext4.bin"), "8192"], check=True)
self.process = subprocess.Popen(command, stdout=self.log, stderr=subprocess.STDOUT,
                                        start_new_session=True)
subprocess.run(["openssl", "req", "-x509", "-newkey", "rsa:2048", "-nodes",
                        "-keyout", str(root / f"{name}-key.pem"), "-out", str(root / f"{name}-ca.pem"),
                        "-days", "2", "-subj", "/CN=lab.test …
child = await asyncio.create_subprocess_exec("curl", version, "--silent", "--show-error",
                "--max-time", str(maximum), "--cacert", str(root / "proxy-config/mitmproxy-ca-cert.pem"),
                "--resolve", "lab.test:18443 …
mounted = subprocess.run(
            [
                "/usr/bin/mount",
                "-t",
                "tmpfs",
                "-o",
                "mode=1777,nosuid,nodev",
                "rea-x11",
                str(X11_SOCK …
authorized = subprocess.run(
            [
                xauth_path,
                "-q",
                "-f",
                str(authority),
                "source",
                "-",
            ],
            input=("add %s . %s …
process = subprocess.Popen(
                [
                    args.xvfb,
                    display_name,
                    "-screen",
                    "0",
                    "1280x1024x24",
                    "-nolisten", …
child = subprocess.Popen(
            command, env=hopper_environment, stdin=subprocess.DEVNULL
        )
bridge_result = subprocess.run(
    [sys.executable, __file__, "--bridge"], cwd=root, check=False
)
result = subprocess.run(
    [sys.executable, __file__, "--analysis-efficiency"],
    cwd=root,
    check=False,
)
result = subprocess.run(["gh", "api", *arguments], capture_output=True, text=True, check=True)
commits = subprocess.run(
        ["gh", "api", "--paginate", f"repos/morluto/rea/commits?sha={revision}&per_page=100",
         "--jq", ".[] | {sha, author: (.author | if . then {id,login,type,html_url,avatar_url} else null end)} | @json"] …
subprocess.run([sys.executable, str(root / "scripts" / name), *arguments], cwd=root, check=True)
subprocess.run(["node", "--test", "website/worker.test.mjs"], cwd=root, check=True)
result = subprocess.run(["node", str(reader)], input=skill, capture_output=True)

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; avoid shell=True.

CapabilityNode.js filesystem readnot scored · severity mediumST-FS-NODE-READ

The component reads files from disk.

.update(fs.readFileSync(filename))
"const fs=require('node:fs'),crypto=require('node:crypto');const text=fs.readFileSync(process.argv[1],'utf8');const schemas=[...text.matchAll(/^### (mcp__rea__[A-Za-z0-9_]+)\\n/gm)].length;console.log(JSON.stringify({rea_catalog:{schemas,sh …
"const fs=require('node:fs');const d=JSON.parse(fs.readFileSync(process.argv[1],'utf8'));console.log(JSON.stringify({rea_client_diagnostic:{healthy:d.healthy,registrations:d.identity.registrations.filter(r=>r.client==='grok_build'),skill:d. …
"const fs=require('node:fs'),crypto=require('node:crypto');const bytes=fs.readFileSync(process.argv[1]),e=JSON.parse(bytes);const shapes=e.normalized_result.graph.nodes.flatMap(n=>n.observations).map(o=>o.properties).filter(p=>p.semantic_ro …
const script = `const fs=require('node:fs');const e=JSON.parse(fs.readFileSync(${JSON.stringify(artifactPath)},'utf8'));console.log(JSON.stringify({REA_CLIENT_FIXTURE:JSON.stringify(e.normalized_result).includes('REA_CLIENT_FIXTURE'),eviden …
await fs.readFile(join(FIXTURE_ROOT, "oracle.json"), "utf8"),

Why it matters: Usually legitimate, but worth confirming it can't be steered into reading sensitive files.

Fix: Confirm which files are read and that paths cannot be influenced by untrusted input to reach sensitive locations.

CapabilityNode.js filesystem write/deletenot scored · severity mediumST-FS-NODE-WRITE

The component writes or deletes files on disk.

fs.writeFile(payload, payloadBytes),
fs.writeFileSync(${JSON.stringify(ready)}, app.getPath("userData"));

Why it matters: Usually legitimate, but worth confirming the paths can't be controlled by untrusted input.

Fix: Confirm which files are written/deleted and that paths cannot be influenced by untrusted input.

CapabilityPython filesystem readnot scored · severity mediumST-FS-PY-READ

The component reads files from disk.

with open(path, "rb") as handle:
with open(os.path.join(capture, "exit"), encoding="utf-8") as handle:
with open(path, "rb") as handle:
with open(os.path.join(job, "result.json"), encoding="utf-8") as source:
with open(os.path.join(job, "owner"), encoding="ascii") as owner:
with open(path, "rb") as handle:
records = json.loads(Path(url[len("file://"):]).read_text(encoding="utf-8"))
with open(__file__, "rb") as source:
request = json.loads(Path(ctx.options.rea_request_path).read_text(encoding="utf-8"))
with open(path, "rb") as target_file:
with open(path, "r") as handle:
with open(command.strip()) as handle:
exec(compile(Path(entry).read_bytes(), entry, "exec"), {"__name__": "__main__", "__file__": entry})
request = json.loads(Path(request_path).read_text(encoding="utf-8"))
with open(implementation, "rb") as handle:
exec(compile(runtime_path.read_bytes(), str(runtime_path), "exec"), runtime)
request = json.loads(Path(request_path).read_text(encoding="utf-8"))
request = json.loads(Path(request_path).read_text(encoding="utf-8"))
with open(implementation, "rb") as handle:
content = path.read_bytes()
exec(compile(runtime_path.read_bytes(), str(runtime_path), "exec"), runtime)
with open(implementation, "rb") as handle:
exec(compile(runtime_path.read_bytes(), str(runtime_path), "exec"), runtime)
for value in html_references(path.read_text(encoding="utf-8")):

Why it matters: Usually legitimate, but worth confirming it can't be steered into reading sensitive files.

Fix: Confirm which files are read and that paths cannot be influenced by untrusted input to reach sensitive locations.

CapabilityPython filesystem write/deletenot scored · severity mediumST-FS-PY-WRITE

The component writes or deletes files on disk.

with open(os.path.join(root, "apt.conf"), "w", encoding="utf-8") as conf:
with open(log, "wb") as output:
open(updated, "w").close()
with open(os.path.join(capture, "capture.out"), "wb") as out, \
open(os.path.join(capture, "progress.log"), "wb") as progress:
with open(os.path.join(capture, "exit"), "w", encoding="utf-8") as handle:
with open(path, "w", encoding="utf-8") as handle:
with open(arguments["stdout"], "wb") as out:
with open(os.path.join(job, "owner"), "x", encoding="ascii") as out:
with open(path, "w", encoding="utf-8") as handle:
with open(os.path.join(job, "supervisor.log"), "wb") as log:
with open(temporary, "w", encoding="utf-8") as out:
with open(os.path.join(job, "owner"), "x", encoding="ascii") as owner:
with open(os.path.join(job, "cancel"), "a", encoding="utf-8"):
with open(output, "w", encoding="utf-8") as handle:
os.unlink(temporary_path)
Path(request["reply_path"]).write_bytes(output)
self.capture = open(capture_path, "wb")
with open(config["pid_path"], "w") as handle:
open(observation_path, "wb"),

Why it matters: Usually legitimate, but worth confirming the paths can't be controlled by untrusted input.

Fix: Confirm which files are written/deleted and that paths cannot be influenced by untrusted input.

Capabilitynpm prepare-time hooknot scored · severity mediumST-INSTALL-NPM-PREPARE

package.json has a 'prepare' script (runs on git/local installs and before publishing).

"prepack": "node scripts/prepack.mjs",
"prepare": "node scripts/prepare.mjs",

Why it matters: Usually a build step, but confirm it doesn't fetch or run remote code.

Fix: Usually a legitimate build step; confirm it only builds and does not fetch or execute remote code.

CapabilityNode.js network egressnot scored · severity mediumST-NET-NODE

The component makes outbound network requests.

const response = await fetch(
const response = await fetch(item.url, {
import { createServer } from "node:http";
const send = marker => fetch('/same', {method:'POST', headers:{
await Promise.all([send('slow'),send('fast'),fetch('/redirect').then(r=>r.text()),
fetch('/binary').then(r=>r.arrayBuffer()),fetch('/compressed').then(r=>r.text()),
fetch('/empty').then(r=>r.text()),
fetch('/form', {method:'POST', body:new URLSearchParams({declared:'${networkFixtureSecret}'})}).then(r=>r.text())]);
import { createServer } from "node:http";
selected: `// 🔥 UTF-16 prefix\r\nfunction chosen() {\r\n  history.pushState({}, '', '/same-document?caller=value#fragment');\r\n  fetch('/evidence?marker=chosen');\r\n  if (document.body.dataset.branch === 'unused') { fetch('/never'); }\r\n …
import { createServer } from "node:http";
import { createServer } from "node:http";
import { createServer } from "node:http";
fetch("/api?token=network-secret-value", {
const response = await fetch("/session-generation");
const response = await fetch(fixture.url, {
import { createServer } from "node:http";
const response = await fetch(new URL(path, endpoint));
import { createServer } from "node:http";
page = `<!doctype html><meta charset="utf-8">${annotations}<script>fetch("/capture-metadata-ready")</script>`;

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.

CapabilityPython network egressnot scored · severity mediumST-NET-PY

The component makes outbound network requests.

from urllib.request import Request, urlopen
request = Request(value.split("#", 1)[0], headers={
            "User-Agent": "REA-Website-Verifier/1.0 (+https://github.com/morluto/rea)",
        })
with urlopen(request, timeout=15) as response:
from urllib.request import urlopen
with urlopen(address, timeout=30) as response, Image.open(BytesIO(response.read())) as image:

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.

CapabilityMCP tool surface detectednot scored · severity lowST-MCP-DETECTED

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

"mcpServers": {
Server server = new Server(new Implementation(BRIDGE_NAME, BRIDGE_VERSION, null, null, null),
StdioServerTransport transport = new StdioServerTransport(
const adapter = super.registerTool(
const registered = super.registerTool(

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

Fix: Review the declared MCP tools and their permissions.

How attackers abuse these capabilities

Interactive labs on the attack class behind the rules above. They show the technique, not anything found in morluto/rea.

Maintain morluto/rea?

Check the next package before your agent installs it

The free Claude Code plugin scans each npm, PyPI or MCP package with this report's open-source engine before the install command runs. It runs on your machine and needs no account.

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 →