Claude/eloquent davinci s bng g#62
Closed
killertcell428 wants to merge 2 commits into
Closed
Conversation
added 2 commits
May 18, 2026 06:24
Adds sc_flowise_js_rce detection pattern to SUPPLY_CHAIN_PATTERNS covering JavaScript Function() constructor-based RCE in MCP configuration contexts (Flowise CVE-2025-59528, CVSS 10.0). Bumps version to 1.1.5.
Owner
Author
|
Superseded by #61, which is taking the v1.1.5 release slot. Why this PR is being closed instead of resolving the conflicts:
What this PR contained that #61 does not:
If a follow-up v1.1.6 PR is opened with |
4 tasks
killertcell428
added a commit
that referenced
this pull request
May 18, 2026
Adds `sc_flowise_js_rce` (Flowise CVE-2025-59528, CVSS 10.0): JavaScript `Function()` constructor / `eval()` patterns combined with dangerous Node.js system module references (`child_process`, `fs`, `os`, `net`, `process.env`, `execSync`, `spawnSync`), or the same patterns appearing inside MCP server configuration fields (`mcpServerConfig`, `"command":`, `"args":`). Also covers the `Function.prototype.constructor` prototype-chain bypass. CVE-2025-59528 (CVSS 10.0): the Flowise CustomMCP node parsed `mcpServerConfig` and executed it via JavaScript's `Function()` constructor — functionally identical to `eval()` — without any validation. A single `new Function('return require("child_process").execSync("id")')()` payload achieves host-level RCE on the Flowise server, exposing every LLM API key, database credential, and OS resource stored or reachable by the application. 12,000-15,000 Flowise instances remained unpatched when exploitation began in April 2026, more than six months after the patch (Flowise 3.1.1) was released. An AI agent receiving indirect prompt injection through a poisoned tool response or retrieved document could be directed to inject this payload into a Flowise workflow configuration. This release is a manual follow-up that salvages the detector from closed PR #62. PR #62 was closed because it raced PR #61 for the v1.1.5 slot and lost on the merge order; the underlying detector is unrelated to that race and is shipped here on its own. Sourced from `origin/claude/eloquent-davinci-sBngG` (the PR #62 branch) verbatim, with only release-metadata changes (version 1.1.5 -> 1.1.6, CHANGELOG section moved out of v1.1.5 into v1.1.6, INDEX/ROTATION untouched since this is not a new auto-improvement rotation cycle). Tests: 1582 passed, 0 failed, 0 skipped (measured 2026-05-18 via `uv run --no-sync pytest --tb=no -q` on this branch). 14 new tests added for `sc_flowise_js_rce` (10 true positives covering Function() + dangerous modules, MCP config field injection, and prototype-chain bypass; 4 true negatives covering legitimate Function() use, JSON5.parse() prose, safe inline arithmetic Function() calls, and educational mentions of `require`). Signed-off-by: killertcell428 <killertcell428@gmail.com>
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
Closes #
Changes
Type of change
Testing
pytest tests/ -vpasses locallyFor new detection patterns, confirm both:
Checklist
ruff checkpasses)mypy aigis/passes)docs/api-reference.mdCHANGELOG.mdupdated under[Unreleased]Screenshots / output