Skip to main content
SkillTotal

Is DietrichGebert/ponytail safe?

What DietrichGebert/ponytail does

Ponytail is an agent skill that tells an AI coding agent to write only the code a task needs and reuse existing code. Its core is one prompt in skills/ponytail/SKILL.md, with a compact AGENTS.md for agents that read a rules file. It installs as a Claude Code or Codex plugin from its marketplace, and for other agents you copy AGENTS.md into the project. It adds commands such as /ponytail-review and /ponytail-audit, and in Claude Code a band above the prompt that shows cost, tokens and test results, with session data kept locally in ~/.config/ponytail/band/. Before installing, use only the GitHub repository or npm package that the README names as official.

Partially analyzed - 1 code file not read (1 minified)
Notable — review in context (a capability is not a malicious indicator):
  • Defense-evasion command idiom
  • Node.js shell/command execution
  • Node.js dynamic code execution

What to do: Nothing here argues against installing it. Grant the capabilities it lists only if you expect the tool to need them.

DietrichGebert/ponytail 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, network egress and shell execution — capabilities are what the code can do, not a verdict on intent. Risk score 20/100 (low).

@dietrichgebert/ponytail 5.3.3

GitHub repository, read as an npm package · https://github.com/DietrichGebert/ponytail
LOW
20
/ 100 risk score
Snapshot · scanned Nov 21, 2026 · @dietrichgebert/ponytail@5.3.3 · 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 DietrichGebert/ponytail's authors. Report a false positive.

Capabilities — what this component can do (not a risk score):
dynamic code executionfilesystem readfilesystem writenetwork egressshell execution

Behavioral traits

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

Execution authority
Tool Access Control / Direct Tool Access
Filesystem reach
Tool Execution Context
Network egress
Interaction & Communication / Direct Communication

Findings (7)

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

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

matches = vm.runInNewContext('re.test(s)', { re: matcherRe, s: agentType }, { timeout: 100 });

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.

HIGHDefense-evasion command idiomST-SHELL-EVASION

A command uses a known defense-evasion idiom: PowerShell execution-policy bypass / encoded command / hidden window, macOS code-signing bypass, or launching a payload from a world-writable temp directory. These are hallmarks of droppers and rarely appear in legitimate code.

? `powershell -ExecutionPolicy Bypass -File "${scriptPath}"`

Fix: Verify why the component bypasses execution policy / code signing or runs from a temp directory; these patterns are characteristic of malware staging.

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

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

const { execFileSync } = require('child_process');
const { spawnSync } = require('child_process');
const git = spawnSync('git', ['-C', root, 'rev-parse', '--path-format=absolute', '--git-common-dir'], { encoding: 'utf8' });
const { execFileSync } = require('child_process');
const { spawn } = require('child_process');
spawn(process.execPath, [path.join(__dirname, 'ponytail-band-import.js')], { detached: true, stdio: 'ignore' });
const { spawnSync } = require('child_process');
const res = spawnSync(cmdline, { stdio: 'inherit', cwd: root, shell: 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; prefer execFile with an argument array.

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

The component reads files from disk.

const content = fs.readFileSync(filePath, 'utf8');
const content = fs.readFileSync(filePath, 'utf8');
return normalizeMode(fs.readFileSync(statePath, 'utf8')) || getDefaultMode();
const raw = fs.readFileSync(settingsPath, 'utf8').replace(/^\uFEFF/, '');
try { nudged = fs.readFileSync(nudgeFlagPath, 'utf8'); } catch (e) { /* not nudged yet */ }
try { fs.readFileSync(path.join(dir, f), 'utf8').split('\n').forEach(l => l && !l.startsWith('key,') && have.add(sessionOf(l))); } catch (e) {}
try { existing = fs.readFileSync(file, 'utf8'); } catch (e) {}
const config = JSON.parse(fs.readFileSync(configPath, 'utf8').replace(/^\uFEFF/, ''));
const config = JSON.parse(fs.readFileSync(getConfigPath(), 'utf8').replace(/^\uFEFF/, ''));
const config = JSON.parse(fs.readFileSync(getConfigPath(), 'utf8').replace(/^\uFEFF/, ''));
config = JSON.parse(fs.readFileSync(configPath, 'utf8').replace(/^\uFEFF/, ''));
filterSkillBodyForMode(fs.readFileSync(SKILL_PATH, 'utf8'), effectiveMode);
text = fs.readFileSync(path.join(root, f), 'utf8').slice(0, 65536);
try { hidden = fs.readFileSync(flag, 'utf8').trim() === 'off'; } catch (e) {}
return fs.readFileSync(projectStatePath || statePath, 'utf8').trim() || null;
const src = fs.readFileSync(path.join(ROOT, 'skills', name, 'SKILL.md'), 'utf8').replace(/\r\n/g, '\n');
return fs.readFileSync(path.join(root, relPath), 'utf8').replace(/\r\n/g, '\n').trim();
const raw = fs.readFileSync(path.join(root, relPath), 'utf8').replace(/^\uFEFF/, '');
config = JSON.parse(fs.readFileSync(file, 'utf8').replace(/^\uFEFF/, ''));
const template = JSON.parse(fs.readFileSync(TEMPLATE, 'utf8'));
const version = JSON.parse(fs.readFileSync(path.join(root, 'package.json'), 'utf8')).version;
const raw = fs.readFileSync(settingsPath, 'utf8').replace(/^\uFEFF/, '');

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.writeFileSync(statePath, mode);
try { fs.unlinkSync(tmpPath); } catch (e) { /* renamed */ }
try { fs.writeFileSync(nudgeFlagPath, stalePath || ''); } catch (e) { /* best-effort */ }
if (merged.added > 0) fs.writeFileSync(file, merged.text);
fs.writeFileSync(configPath, JSON.stringify(config, null, 2), 'utf8');
try { fs.unlinkSync(flag); } catch (e) {}
fs.writeFileSync(flag, 'off');
fs.writeFileSync(file, mode);
if (file) try { fs.unlinkSync(file); } catch (e) {}
fs.writeFileSync(p, render(name));
fs.writeFileSync(file, JSON.stringify(config, null, 2) + '\n', 'utf8');
fs.unlinkSync(filePath);
fs.rmSync(dir, { recursive: true });
fs.writeFileSync(settingsPath, JSON.stringify(settings, null, 2), 'utf8');
fs.writeFileSync(settingsPath, JSON.stringify(settings, null, 2), 'utf8');

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.

data = json.loads((_config_dir() / "config.json").read_text(encoding="utf-8-sig"))
body = PONYTAIL_SKILL.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.

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

The component makes outbound network requests.

.fetch(request.url, request.init)

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.

How attackers abuse these capabilities

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

Maintain DietrichGebert/ponytail?

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 →