<< Back to security report
──dicklesworthstone/pi_agent_rust/postgresql — semgrep Scan
Repositorydicklesworthstone/pi_agent_rust →
Commita0e3384 →
VerdictFAIL
Score0
DateMay 23, 2026
──Findings
SeverityRuleMessageFile:Line
HIGHyaml.github-actions.security.run-shell-injection.run-shell-injectionUsing variable interpolation `${{...}}` with `github` context data in a `run:` step could allow an attacker to inject their own code into the runner. This would allow them to steal secrets and code. `github` context data can have arbitrary user input and should be treated as untrusted. Instead, use an intermediate environment variable with `env:` to store the data and use the environment variable in the `run:` script. Be sure to use double-quotes the environment variable, like this: "$ENVVAR".dicklesworthstone/pi_agent_rust/postgresql-09df2b5a/.github/workflows/publish.yml:31 →
HIGHyaml.github-actions.security.run-shell-injection.run-shell-injectionUsing variable interpolation `${{...}}` with `github` context data in a `run:` step could allow an attacker to inject their own code into the runner. This would allow them to steal secrets and code. `github` context data can have arbitrary user input and should be treated as untrusted. Instead, use an intermediate environment variable with `env:` to store the data and use the environment variable in the `run:` script. Be sure to use double-quotes the environment variable, like this: "$ENVVAR".dicklesworthstone/pi_agent_rust/postgresql-09df2b5a/.github/workflows/release.yml:32 →
HIGHyaml.github-actions.security.run-shell-injection.run-shell-injectionUsing variable interpolation `${{...}}` with `github` context data in a `run:` step could allow an attacker to inject their own code into the runner. This would allow them to steal secrets and code. `github` context data can have arbitrary user input and should be treated as untrusted. Instead, use an intermediate environment variable with `env:` to store the data and use the environment variable in the `run:` script. Be sure to use double-quotes the environment variable, like this: "$ENVVAR".dicklesworthstone/pi_agent_rust/postgresql-09df2b5a/.github/workflows/semver.yml:83 →
HIGHjavascript.lang.security.detect-child-process.detect-child-processDetected calls to child_process from a function argument `url`. This could lead to a command injection if the input is user controllable. Try to avoid calls to child_process, and if it is needed ensure user input is correctly sanitized or sandboxed. dicklesworthstone/pi_agent_rust/postgresql-09df2b5a/legacy_pi_mono_code/pi-mono/packages/coding-agent/src/modes/interactive/components/login-dialog.ts:100 →
HIGHjavascript.lang.security.detect-child-process.detect-child-processDetected calls to child_process from a function argument `command`. This could lead to a command injection if the input is user controllable. Try to avoid calls to child_process, and if it is needed ensure user input is correctly sanitized or sandboxed. dicklesworthstone/pi_agent_rust/postgresql-09df2b5a/legacy_pi_mono_code/pi-mono/packages/coding-agent/src/utils/clipboard-image.ts:92 →
HIGHjavascript.lang.security.detect-child-process.detect-child-processDetected calls to child_process from a function argument `cmd`. This could lead to a command injection if the input is user controllable. Try to avoid calls to child_process, and if it is needed ensure user input is correctly sanitized or sandboxed. dicklesworthstone/pi_agent_rust/postgresql-09df2b5a/legacy_pi_mono_code/pi-mono/packages/coding-agent/src/utils/tools-manager.ts:66 →
HIGHjavascript.lang.security.detect-child-process.detect-child-processDetected calls to child_process from a function argument `cmd`. This could lead to a command injection if the input is user controllable. Try to avoid calls to child_process, and if it is needed ensure user input is correctly sanitized or sandboxed. dicklesworthstone/pi_agent_rust/postgresql-09df2b5a/legacy_pi_mono_code/pi-mono/packages/mom/src/sandbox.ts:53 →
HIGHjavascript.lang.security.detect-child-process.detect-child-processDetected calls to child_process from a function argument `options`. This could lead to a command injection if the input is user controllable. Try to avoid calls to child_process, and if it is needed ensure user input is correctly sanitized or sandboxed. dicklesworthstone/pi_agent_rust/postgresql-09df2b5a/legacy_pi_mono_code/pi-mono/packages/pods/src/commands/models.ts:281 →
HIGHjavascript.lang.security.detect-child-process.detect-child-processDetected calls to child_process from a function argument `options`. This could lead to a command injection if the input is user controllable. Try to avoid calls to child_process, and if it is needed ensure user input is correctly sanitized or sandboxed. dicklesworthstone/pi_agent_rust/postgresql-09df2b5a/legacy_pi_mono_code/pi-mono/packages/pods/src/commands/models.ts:577 →
HIGHjavascript.lang.security.detect-child-process.detect-child-processDetected calls to child_process from a function argument `sshCmd`. This could lead to a command injection if the input is user controllable. Try to avoid calls to child_process, and if it is needed ensure user input is correctly sanitized or sandboxed. dicklesworthstone/pi_agent_rust/postgresql-09df2b5a/legacy_pi_mono_code/pi-mono/packages/pods/src/ssh.ts:32 →
HIGHjavascript.lang.security.detect-child-process.detect-child-processDetected calls to child_process from a function argument `sshCmd`. This could lead to a command injection if the input is user controllable. Try to avoid calls to child_process, and if it is needed ensure user input is correctly sanitized or sandboxed. dicklesworthstone/pi_agent_rust/postgresql-09df2b5a/legacy_pi_mono_code/pi-mono/packages/pods/src/ssh.ts:98 →
HIGHjavascript.lang.security.detect-child-process.detect-child-processDetected calls to child_process from a function argument `fdPath`. This could lead to a command injection if the input is user controllable. Try to avoid calls to child_process, and if it is needed ensure user input is correctly sanitized or sandboxed. dicklesworthstone/pi_agent_rust/postgresql-09df2b5a/legacy_pi_mono_code/pi-mono/packages/tui/src/autocomplete.ts:111 →
MEDIUMjavascript.browser.security.wildcard-postmessage-configuration.wildcard-postmessage-configurationThe target origin of the window.postMessage() API is set to "*". This could allow for information disclosure due to the possibility of any origin allowed to receive the message.dicklesworthstone/pi_agent_rust/postgresql-09df2b5a/legacy_pi_mono_code/pi-mono/packages/web-ui/src/components/SandboxedIframe.ts:171 →
MEDIUMjavascript.browser.security.wildcard-postmessage-configuration.wildcard-postmessage-configurationThe target origin of the window.postMessage() API is set to "*". This could allow for information disclosure due to the possibility of any origin allowed to receive the message.dicklesworthstone/pi_agent_rust/postgresql-09df2b5a/legacy_pi_mono_code/pi-mono/packages/web-ui/src/components/SandboxedIframe.ts:190 →
MEDIUMjavascript.browser.security.wildcard-postmessage-configuration.wildcard-postmessage-configurationThe target origin of the window.postMessage() API is set to "*". This could allow for information disclosure due to the possibility of any origin allowed to receive the message.dicklesworthstone/pi_agent_rust/postgresql-09df2b5a/legacy_pi_mono_code/pi-mono/packages/web-ui/src/components/SandboxedIframe.ts:364 →
MEDIUMjavascript.browser.security.wildcard-postmessage-configuration.wildcard-postmessage-configurationThe target origin of the window.postMessage() API is set to "*". This could allow for information disclosure due to the possibility of any origin allowed to receive the message.dicklesworthstone/pi_agent_rust/postgresql-09df2b5a/legacy_pi_mono_code/pi-mono/packages/web-ui/src/components/SandboxedIframe.ts:381 →
MEDIUMjavascript.browser.security.wildcard-postmessage-configuration.wildcard-postmessage-configurationThe target origin of the window.postMessage() API is set to "*". This could allow for information disclosure due to the possibility of any origin allowed to receive the message.dicklesworthstone/pi_agent_rust/postgresql-09df2b5a/legacy_pi_mono_code/pi-mono/packages/web-ui/src/components/sandbox/RuntimeMessageRouter.ts:137 →
HIGHjavascript.lang.security.detect-child-process.detect-child-processDetected calls to child_process from a function argument `cmd`. This could lead to a command injection if the input is user controllable. Try to avoid calls to child_process, and if it is needed ensure user input is correctly sanitized or sandboxed. dicklesworthstone/pi_agent_rust/postgresql-09df2b5a/legacy_pi_mono_code/pi-mono/scripts/release.mjs:31 →
MEDIUMpython.lang.security.audit.dynamic-urllib-use-detected.dynamic-urllib-use-detectedDetected a dynamic value being used with urllib. urllib supports 'file://' schemes, so a dynamic value controlled by a malicious actor may allow them to read arbitrary files. Audit uses of urllib calls to ensure user data cannot control the URLs, or consider using the 'requests' library instead.dicklesworthstone/pi_agent_rust/postgresql-09df2b5a/scripts/run_swarm_smoke_harness.py:352 →