Claude/eloquent davinci o6sfs#61
Merged
Merged
Conversation
Add sc_langflow_build_exec (Langflow CVE-2026-33017, CVSS 9.3) and sc_ai_framework_auth_disabled (PraisonAI CVE-2026-44338, CVSS 7.3) detection patterns. Release bundles accumulated detectors since v1.1.4 plus the OSS benchmark harness. Tests: 1568 passed, 0 failed, 0 skipped (measured 2026-05-18 via `uv run --no-sync pytest --tb=no -q` on this branch). The originally authored commit message reported "24 new tests, all pass. 19 pre-existing failures unchanged" — the 19-failure figure was copy-pasted from a prior cycle's template and was incorrect at the time of writing (actual failure count was 0). Corrected here per CLAUDE.md guidance. https://claude.ai/code/session_01TYnv4APDzAaL4b46cntfCK Signed-off-by: killertcell428 <killertcell428@gmail.com>
https://claude.ai/code/session_01TYnv4APDzAaL4b46cntfCK Signed-off-by: killertcell428 <killertcell428@gmail.com>
ba61521 to
764424d
Compare
This was referenced May 18, 2026
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