Skip to content

armgit / ruflo

Public Imported from GitHub
0

🌊 The original agent harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, federation, vector RAG integration, and native Claude Code / Codex / Hermes and many more Integrated

Checkpoint: File edits

rUv56cbee10e35a
diff --git a/v3/@claude-flow/deployment/src/release-manager.ts b/v3/@claude-flow/deployment/src/release-manager.ts
index 9e7d702d9c..c736780696 100644
--- a/v3/@claude-flow/deployment/src/release-manager.ts
+++ b/v3/@claude-flow/deployment/src/release-manager.ts
@@ -344,14 +344,20 @@ export class ReleaseManager {
}
/**
- * Execute command
+ * Execute command safely with validation
+ * Only allows git commands from the allowlist
*/
private execCommand(cmd: string, returnOutput = false): string {
+ // Validate command against allowlist
+ validateCommand(cmd);
+
try {
const output = execSync(cmd, {
cwd: this.cwd,
encoding: 'utf-8',
- stdio: returnOutput ? 'pipe' : 'inherit'
+ stdio: returnOutput ? 'pipe' : 'inherit',
+ timeout: 30000, // 30 second timeout
+ maxBuffer: 10 * 1024 * 1024, // 10MB buffer limit
});
return returnOutput ? output : '';
} catch (error) {