Is calesthio/OpenMontage safe?
What calesthio/OpenMontage does
OpenMontage is an open-source video production system that an AI coding assistant runs from inside its repository. You clone the repository and run make setup, which needs Python 3.10 or later, FFmpeg and Node.js 18 or later, then describe the video in plain language to Claude Code, Cursor, Copilot, Windsurf or Codex. The agent follows the repository's pipelines to research with web search, write and narrate a script, generate or find images and footage, and render with Remotion and FFmpeg, pausing for your approval at creative steps. API keys for providers such as fal.ai or Kling go in an optional .env file. Before installing, set spending limits on any provider keys you add, since generated clips are billed by those providers.
- Agent instructions download code and run it
- Python shell/command execution
- Node.js shell/command execution
What to do: Nothing here argues against installing it. Grant the capabilities it lists only if you expect the tool to need them.
calesthio/OpenMontage 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. It can: dynamic code execution, filesystem read, filesystem write, mcp tools detected, network egress and shell execution — capabilities are what the code can do, not a verdict on intent. Risk score 10/100 (low).
OpenMontage
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 calesthio/OpenMontage's authors. Report a false positive.
Behavioral traits
How this component maps to the CSA agentic threat model. Descriptive — it never affects the risk score.
Findings (9)
The code turns strings into live code at runtime (eval / new Function / exec).
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.
The component can run operating-system commands or spawn processes.
import { spawnSync } from "node:child_process";const installResult = spawnSync(
const result = spawnSync(process.execPath, args, {import { spawnSync } from "node:child_process";const installResult = spawnSync(
const result = spawnSync(process.execPath, args, {import { spawn, spawnSync } from "node:child_process";return spawnSync("python3", ["-c", probe], { stdio: "ignore" }).status === 0;return spawnSync("pip", ["install", "-q", ...deps], { stdio: "ignore" }).status === 0;const proc = spawn(
const proc = spawn("python3", ["-c", script], { detached: true, stdio: ["ignore", fd, fd] });import { spawn, spawnSync } from "node:child_process";const r = spawnSync("python3", ["-c", "import elevenlabs"], { stdio: "ignore" });const r = spawnSync(
const p = spawn(cmd, args, { stdio: "ignore", ...opts });const ff = spawnSync(
import { execFileSync } from "node:child_process";import { execFileSync } from "node:child_process";import { execFileSync } from "node:child_process";import { spawnSync } from "node:child_process";const ff = spawnSync(
import { execFileSync } from "node:child_process";import { execFileSync } 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.
The component can run operating-system commands or spawn processes.
result = subprocess.run(cmd, capture_output=True)
subprocess.run(["manimgl", __file__, "ThreeDSceneTemplate"])
subprocess.run(["manimgl", __file__, "BasicSceneTemplate"])
subprocess.run(["manimgl", __file__, "MathSceneTemplate"])
subprocess.run(
["ffmpeg", "-y", "-i", path, "-ac", "1", "-ar", str(SR), wav],
capture_output=True, check=True,
)return subprocess.run(
cmd, capture_output=capture, text=True, check=check,
)subprocess.check_call(
[sys.executable, "-m", "pip", "install", "--quiet", "openai-whisper"]
)subprocess.run(["manimgl", __file__, "ThreeDSceneTemplate"])
subprocess.run(["manimgl", __file__, "BasicSceneTemplate"])
subprocess.run(["manimgl", __file__, "MathSceneTemplate"])
return subprocess.run(
cmd, capture_output=capture, text=True, check=check,
)subprocess.check_call(
[sys.executable, "-m", "pip", "install", "--quiet", "openai-whisper"]
)subprocess.Popen(cmd, **kwargs)
result = subprocess.run(
["ffmpeg", "-y", "-loglevel", "error", "-ss", "1.5",
"-i", str(source), "-frames:v", "1",
"-vf", f"scale={width}:-2", str(tmp)],
capture_output=True, …proc = subprocess.run(cmd, capture_output=True, text=True, timeout=30)
proc = subprocess.run(cmd, capture_output=True, text=True, timeout=30)
subprocess.run([npm_cmd, "install"], cwd=COMPOSER_DIR, check=True)
subprocess.run(
[
npx_cmd,
"remotion",
"render",
"src/index.tsx",
"Explainer",
str(output_path),
"--props",
str(props_path), …subprocess.run(cmd, cwd=COMPOSER_DIR, check=True, capture_output=True, text=True, timeout=600)
subprocess.run(["ffmpeg", "-y", "-loglevel", "error", "-loop", "1",
"-i", str(first_frame), "-t", "4", "-vf", "scale=960:540",
"-pix_fmt", "yuv420p", str(renders / "final.mp4")],
ch …server = subprocess.Popen(
[sys.executable, "-m", "backlot", "serve", "--port", str(PORT)],
env=env, cwd=REPO_ROOT,
stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL)subprocess.run(
["npx", "playwright", "screenshot",
"--viewport-size", f"{w},{h}",
"--wait-for-timeout", str(wait_ms),
f"http://127.0.0.1:{PORT}{path}", str(out)], …subprocess.run(
[sys.executable, "scripts/backlot_screenshot_stage.py", "--stage-only"],
cwd=REPO_ROOT,
check=True,
timeout=180,
)server = subprocess.Popen(
[sys.executable, "-m", "backlot", "serve", "--port", str(PORT)],
cwd=REPO_ROOT,
env=env,
stdout=subprocess.DEVNULL,
stderr=subprocess.DEVNULL,
)subprocess.run(
[
"npx",
"playwright",
"screenshot",
"--viewport-size",
f"{width},{height}",
"--wait-for-timeout",
str(wait_ms),
url, …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.
The component reads files from disk.
src = path.read_text()
with open(os.path.join(tmp_dir, json_files[0]), "r") as f:
with open(os.path.join(tmp_dir, json_files[0]), "r") as f:
html = (UI_DIR / name).read_text(encoding="utf-8")
with open(path, encoding="utf-8", errors="replace") as f:
with open(self.manifest_path, "r", encoding="utf-8") as f:
with open(CHECKPOINT_SCHEMA_PATH, encoding="utf-8") as f:
with open(marker_path, encoding="utf-8") as f:
with open(path, encoding="utf-8") as handle:
with open(path, encoding="utf-8") as f:
with open(path, encoding="utf-8") as f:
with open(marker_path, encoding="utf-8") as f:
with open(path, encoding="utf-8") as f:
with open(checkpoints[0], encoding="utf-8") as f:
with open(config_path) as f:
with open(self.index_path, encoding="utf-8") as f:
with open(path, encoding="utf-8", errors="replace") as f:
with open(SCHEMA_PATH, encoding="utf-8") as f:
with open(path, encoding="utf-8") as f:
with open(PLAYBOOK_SCHEMA_PATH) as f:
with open(path) as f:
with open(path, encoding="utf-8") as f:
return json.loads(path.read_text(encoding="utf-8"))
previous = json.loads(manifest_path.read_text(encoding="utf-8"))
manifest = json.loads(manifest_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.
The component writes or deletes files on disk.
with open(output_path, "wb") as f:
with open(args.output, "w") as f:
Path(a.out).write_text(json.dumps(d, ensure_ascii=False, indent=2))
shutil.rmtree(tmp_dir, ignore_errors=True)
os.remove(tmp_wav)
with open(args.output, "w", encoding="utf-8") as f:
with open(output_path, "wb") as f:
shutil.rmtree(tmp_dir, ignore_errors=True)
os.remove(tmp_wav)
with open(args.output, "w", encoding="utf-8") as f:
os.unlink(self.lock_path)
os.unlink(tmp_name)
shutil.copy2(str(src), str(dst))
with open(marker_path, "w", encoding="utf-8") as f:
shutil.copyfile(path, target)
with open(path, "w", encoding="utf-8") as f:
with open(tmp_path, "w", encoding="utf-8") as f:
with open(tmp_index, "w", encoding="utf-8") as f:
with open(path, "a", encoding="utf-8") as f:
with open(path, "w") as f:
manifest_path.write_text(json.dumps(manifest, indent=2), encoding="utf-8")
(art_dir / "decision_log.json").write_text(json.dumps(decision_log(pid), indent=2))
(art_dir / "script.json").write_text(json.dumps(script, indent=2))
(art_dir / "scene_plan.json").write_text(json.dumps(plan, indent=2))
(art_dir / "asset_manifest.json").write_text(json.dumps(manifest, indent=2))
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.
The component makes outbound network requests.
const response = await fetch(url);
const response = await fetch(url, {const res = await fetch(`${HEYGEN_BASE}${path}`, opts);const res = await fetch(url);
const res = await fetch(inner.audio_url);
const res = await fetch(url);
fetch("https://cdn.jsdelivr.net/npm/world-atlas@2.0.2/countries-110m.json").then(function(r){return r.json();}).then(function(w){const res = await fetch(
const response = await fetch(url);
const response = await fetch(url, {const res = await fetch(url);
const r = await fetch(url); if (!r.ok) throw new Error(`fetch failed ${r.status}: ${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.
The component makes outbound network requests.
response = requests.get(url, timeout=60)
response = requests.request(
method,
url,
headers=self.headers,
timeout=30,
**kwargs,
)response = requests.get(url, timeout=60)
response = requests.request(
method,
url,
headers=self.headers,
timeout=30,
**kwargs,
)import urllib.request
with urllib.request.urlopen(f"http://127.0.0.1:{port}/api/health", timeout=1.5) as resp:import urllib.request
with urllib.request.urlopen(f"http://127.0.0.1:{PORT}/api/health", timeout=1):import urllib.request
with urllib.request.urlopen(f"http://127.0.0.1:{PORT}/api/health", timeout=1):import urllib.request
with urllib.request.urlopen(f"{base_url.rstrip('/')}{path}", timeout=10) as response:from urllib.request import urlopen
with urlopen(url, timeout=30) as response:
import requests
resp = requests.get(f"{self.server_url}/system_stats", timeout=5)resp = requests.get(
f"{self.server_url}/object_info/{node_class}", timeout=10
)response = requests.get(
f"{self.server_url}/object_info/{node_class}", timeout=10
)resp = requests.post(
f"{self.server_url}/prompt",
json={"prompt": workflow, "client_id": self.client_id},
timeout=30,
)resp = requests.get(f"{self.server_url}/history/{prompt_id}", timeout=10)resp = requests.get(
f"{self.server_url}/view",
params={
"filename": filename,
"subfolder": subfolder,
"type": folder_type,
},
timeout=120, …resp = requests.post(
f"{self.server_url}/upload/image",
files={"image": (name, f, "image/png")},
timeout=30,
)import requests
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.
An instruction file the agent follows (a skill, subagent, command or project instructions) tells it to download a script and run it, for example `curl ... | bash`. The agent runs whatever that host serves when it follows the instruction, which this scan cannot see; an allowed-tools list that admits the shell lets it run without asking.
curl -fsSL https://static.heygen.ai/cli/install.sh | bash # installs latest to ~/.local/bin
Fix: Read what the URL serves before letting an agent follow this instruction, or replace it with a pinned package install.
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.
How attackers abuse these capabilities
Interactive labs on the attack class behind the rules above. They show the technique, not anything found in calesthio/OpenMontage.
Maintain calesthio/OpenMontage?
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 componentHow we determine this: deterministic static analysis (regex + AST), evidence-anchored, no code execution. Methodology →