canhelp

Warn

Audited by Socket on Nov 20, 2026

1 alert found:

Security
SecurityMEDIUM
scripts/resolve-canister-id.sh

The script is a legitimate canister ID/name lookup utility, but it contains a command-construction flaw: untrusted input is embedded directly into Python source in the no-results path. This can permit Python code injection for crafted lookup values. The input should be passed as a separate `sys.argv` value or serialized safely rather than interpolated into the `-c` string. No clear malware behavior is present.

Confidence: 98%Severity: 70%
Audit Metadata
Analyzed At
Nov 20, 2026, 04:03 PM
Package URL
pkg:socket/skills-sh/dfinity%2Ficskills%2Fcanhelp%2F@73d2bac55053af42f50b634d46ba9a6eafeb871696e67dc2c50949f8d2a9cd4a