Propose a patch
A fix the maintainer can act on, with the evidence attached. It opens under your GitHub account in your browser; KillerSkills holds no token and never modifies the package. The fix is verified the only way we verify anything: the next crawl re-runs the new version in the honeypot. 63 · Caution
Evidence
The sandbox observed nothing beyond the static findings; the proposal cites those.
Diff · removes 19 caught lines
Download .patchdiff --git a/hooks/patterns.py b/hooks/patterns.py
--- a/hooks/patterns.py
+++ b/hooks/patterns.py
@@ -53,1 +53,0 @@
-"""Regex for Playwright's and Puppeteer's `$eval('selector', function`, read
@@ -57,1 +56,0 @@
-then a function. AngularJS `scope.$eval(expr)` and any other `$eval(` do not
@@ -118,1 +116,0 @@
-exec() runs the command string through a shell, so any user input interpolated into it can inject arbitrary commands. Prefer child_process.execFile() (or spawn()) with an argument array instead of bui
@@ -121,1 +118,0 @@
-exec(`command ${userInput}`)
@@ -131,1 +127,0 @@
-Only use exec() if you absolutely need shell features and the input is guaranteed to be safe.""",
@@ -150,1 +145,0 @@
-"reminder": "⚠️ Security Warning: eval() executes arbitrary code and is a major security risk. Use JSON.parse() for data, ast.literal_eval() for Python literals, or a safe expression parser. If this i
diff --git a/hooks/llm.py b/hooks/llm.py
--- a/hooks/llm.py
+++ b/hooks/llm.py
@@ -1758,1 +1758,0 @@
-**Dynamic Code Evaluation**: Is ANY data — from any source — concatenated or interpolated into strings passed to `new Function()`, `eval()`, `Function()`, `exec()`, or similar code execution construct
@@ -1766,1 +1765,0 @@
-**Data Flow to Pre-existing Dangerous Sinks**: If newly added code routes user-controlled data to a PRE-EXISTING dangerous sink (like `new Function()`, `eval()`, `exec()`, shell commands, or SQL conca
@@ -1870,1 +1868,0 @@
-EXCEPTION — data flow to pre-existing sinks: If + lines route user-controlled data to a PRE-EXISTING dangerous sink (like `new Function()`, `eval()`, `exec()`, or shell string interpolation in context
diff --git a/tests/test_diff_parsing.py b/tests/test_diff_parsing.py
--- a/tests/test_diff_parsing.py
+++ b/tests/test_diff_parsing.py
@@ -64,1 +64,0 @@
-(repo / 'qu"ote.py').write_text(VULN * 20 + "eval(input())\n")
diff --git a/tests/test_pattern_fired_metrics.py b/tests/test_pattern_fired_metrics.py
--- a/tests/test_pattern_fired_metrics.py
+++ b/tests/test_pattern_fired_metrics.py
@@ -31,1 +31,0 @@
-m = _turn(repo, env, {"calc.js": "const v = eval(src)\n"})
@@ -42,1 +41,0 @@
-m = _turn(repo, env, {"calc.js": "const v = eval(src)\n"})
@@ -50,1 +48,0 @@
-m = _turn(repo, env, {"calc.js": "const v = eval(src)\n"})
@@ -57,1 +54,0 @@
-{"calc.js": "const v = eval(src)\n"})
@@ -65,1 +61,0 @@
-{"calc.js": "const v = eval(src)\n",
@@ -79,1 +74,0 @@
-_turn(repo, env, {"calc.js": "const v = eval(src)\n"})
diff --git a/tests/test_stop_diff_memory.py b/tests/test_stop_diff_memory.py
--- a/tests/test_stop_diff_memory.py
+++ b/tests/test_stop_diff_memory.py
@@ -71,1 +71,0 @@
-+ _section("web/café.js", ["eval(x)"])
diff --git a/tests/test_untracked_cap.py b/tests/test_untracked_cap.py
--- a/tests/test_untracked_cap.py
+++ b/tests/test_untracked_cap.py
@@ -50,1 +50,0 @@
-(repo / "old_025.py").write_text(SRC + "eval(input())\n")
@@ -51,1 +50,0 @@
-(repo / "old_003.py").write_text(SRC + "eval(input())\n") # inside the cap
Zero-context hunks: apply with git apply --unidiff-zero fix.patch on the tagged source of 2.0.21. If the behavior is intended, declare it (host under permissions.network, a line in the README) instead of removing it; the next crawl scores declarations.
Issue / PR body
Title: security-guidance: Python exec or eval of computed code (KillerSkills verdict caution 63)
## What the honeypot observed KillerSkills ran **[email protected]** in an isolated sandbox (decoy credentials, recording proxy, syscall trace; engine 1.9.2) and scored it **CAUTION 63/100**. Summary: no network, touches nothing outside the project, writes no memory. - See the findings below. Full trace and findings: https://killerskills.ai/skills/plugins/security-guidance/2.0.21 ## Findings with a location - `hooks/patterns.py:118` · Python exec or eval of computed code — hooks/patterns.py:118 · Python exec or eval of computed code - `hooks/patterns.py:150` · Python exec or eval of computed code — hooks/patterns.py:150 · Python exec or eval of computed code - `hooks/patterns.py:53` · Python exec or eval of computed code — hooks/patterns.py:53 · Python exec or eval of computed code - `hooks/patterns.py:121` · Python exec or eval of computed code — hooks/patterns.py:121 · Python exec or eval of computed code - `hooks/llm.py:1870` · Python exec or eval of computed code — hooks/llm.py:1870 · Python exec or eval of computed code - `hooks/llm.py:1758` · Python exec or eval of computed code — hooks/llm.py:1758 · Python exec or eval of computed code - `hooks/llm.py:1766` · Python exec or eval of computed code — hooks/llm.py:1766 · Python exec or eval of computed code - `hooks/patterns.py:57` · Python exec or eval of computed code — hooks/patterns.py:57 · Python exec or eval of computed code - `hooks/patterns.py:131` · Python exec or eval of computed code — hooks/patterns.py:131 · Python exec or eval of computed code - `tests/test_diff_parsing.py:64` · Python exec or eval of computed code — tests/test_diff_parsing.py:64 · Python exec or eval of computed code - `tests/test_pattern_fired_metrics.py:79` · Python exec or eval of computed code — tests/test_pattern_fired_metrics.py:79 · Python exec or eval of computed code - `tests/test_pattern_fired_metrics.py:57` · Python exec or eval of computed code — tests/test_pattern_fired_metrics.py:57 · Python exec or eval of computed code ## Proposed change The attached patch removes the 19 lines above. If the behavior is intended, the fix is to declare it instead: list the host under `permissions.network` (or the MCP manifest) and say in the README why the package needs it; the next crawl will re-score it with the declaration taken into account. ## How this will be verified Nothing is "verified safe" by assertion. When a new version is published, KillerSkills re-runs it in the honeypot and the verdict page updates; you can trigger it early from the verdict page ("Re-scan after I publish a fix"). Reply here or at [email protected] if you believe the verdict is wrong; disputes are reviewed by a person and the outcome is published on the verdict page. _Proposed through killerskills.ai/threats by a user of the package, under their own GitHub account. The evidence is public; the package was never modified by KillerSkills._
# or from a terminal, under your own account: gh repo fork anthropics/claude-plugins-official --clone && cd claude-plugins-official curl -s https://killerskills.ai/skills/plugins/security-guidance/2.0.21/patch.diff | git apply --unidiff-zero git checkout -b killerskills/2.0.21 && git commit -am "security-guidance: Python exec or eval of computed code" gh pr create --fill --body-file <(curl -s https://killerskills.ai/skills/plugins/security-guidance/2.0.21/patch.md)
We count proposals opened, not merged: a merge shows up as a new version that the crawl re-runs. Disputes: the maintainer can contest the verdict from its page; a person reviews it and the outcome is published.