Skip to content

The agent that grows with you

test(scanner): caution-fixtures use shapes the FP fixes keep at caution

Teknium283b3f39c9ed
diff --git a/tests/tools/test_plugin_guard.py b/tests/tools/test_plugin_guard.py
index 04b8261bdfc..4afe49c71e7 100644
--- a/tests/tools/test_plugin_guard.py
+++ b/tests/tools/test_plugin_guard.py
@@ -424,8 +424,7 @@ class TestInstallIntegration:
@pytest.mark.parametrize("filename,content", [
("helper.py", "eval('1 + 1')\n"),
- ("desktop/plugin.js", 'const lookup = `dig +short +time=3 A ${hostname}`;\n'),
- ("desktop/plugin.js", 'const help = "Add this public key to authorized_keys on the server.";\n'),
+ ("desktop/plugin.js", 'const fds = fs.readdirSync("/proc/self/fd");\n'),
])
def test_caution_plugin_accepted_via_callback(self, tmp_path, monkeypatch, filename, content):
from hermes_cli import plugins_cmd as pc