Merged
Conversation
1. SQL injection: Convert all 9 string-interpolated queries in memory-initializer.ts to parameterized queries (db.prepare/bind) Closes #1030 2. Preinstall hook: Remove no-op preinstall script and package.json entry that triggered supply chain concern 3. SECURITY.md: Add vulnerability disclosure policy with supported versions, reporting process, and safe harbor statement 4. SafeExecutor: Remove npx from default command allowlist to prevent arbitrary package execution via safe executor 5. Cleanup command: Add `cleanup` command for removing project artifacts (.claude/, .swarm/, data/, etc.) with --dry-run default and --force to execute. Addresses uninstall documentation gap Published as v3.5.40. All fixes verified in Docker. Closes #1375 Co-Authored-By: claude-flow <ruv@ruv.net>
deepakdgupta1
pushed a commit
to deepakdgupta1/claude-flow
that referenced
this pull request
Mar 21, 2026
1. SQL injection: Convert all 9 string-interpolated queries in memory-initializer.ts to parameterized queries (db.prepare/bind) Closes ruvnet#1030 2. Preinstall hook: Remove no-op preinstall script and package.json entry that triggered supply chain concern 3. SECURITY.md: Add vulnerability disclosure policy with supported versions, reporting process, and safe harbor statement 4. SafeExecutor: Remove npx from default command allowlist to prevent arbitrary package execution via safe executor 5. Cleanup command: Add `cleanup` command for removing project artifacts (.claude/, .swarm/, data/, etc.) with --dry-run default and --force to execute. Addresses uninstall documentation gap Published as v3.5.40. All fixes verified in Docker. Closes ruvnet#1375
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Addresses all actionable findings from the security audit in #1375.
Changes
memory-initializer.tspackage.json,bin/preinstall.cjsSECURITY.mdsafe-executor.ts,index.ts,security-domain-service.tsnpxfrom SafeExecutor defaultscommands/cleanup.ts,commands/index.tsruflo cleanupto remove project artifactsTest plan
ruflo@3.5.40 mcp start— clean startup, no crashruflo cleanup— dry-run shows artifacts correctlyreplace(/'/gSQL interpolation in published JSCloses #1375, Closes #1030
🤖 Generated with claude-flow