🌊 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
TypeScript agentic-aiagentic-frameworkagentic-workflowagentsai-agentsai-assistantai-skillsautonomous-agentsclaudecodexdsh-pluginharnessmcp-servermulti-agentmulti-agent-systemsnpmskillsswarmswarm-intelligencetypescript
Merge PR #3459: fix(config): prevent prototype traversal through dotted keys
ruv64eb6eecbcb1
diff --cc v3/@claude-flow/cli/src/services/config-file-manager.tsindex 54bbf93bb2,6347817410..2d8d66f3fa--- a/v3/@claude-flow/cli/src/services/config-file-manager.ts+++ b/v3/@claude-flow/cli/src/services/config-file-manager.ts@@@ -121,14 -110,12 +121,18 @@@ export class ConfigFileManager/** Set a nested config value by dot-separated key */set(cwd: string, key: string, value: unknown): void {+ // Reject the entire path before touching cached config or disk.+ if (key.split('.').some(part => part === '__proto__' || part === 'constructor' || part === 'prototype')) {+ throw new Error(`Unsafe configuration key: ${key}`);+ }- const config = this.getConfig(cwd);- setNestedValue(config, key, value);+ // A targeted update must not persist unrelated defaults (notably the+ // default memory path, which would relocate an existing memory store).+ const config = this.config ?? this.load(cwd) ?? {};+ if (Object.hasOwn(config, key)) {+ config[key] = value;+ } else {+ setNestedValue(config, key, value);+ }this.config = config;const targetPath = this.configPath ?? path.resolve(cwd, CONFIG_FILENAMES[0]);this.writeAtomic(targetPath, config);