linear-curl-issue-ops
Fail
Audited by Gen Agent Trust Hub on Mar 12, 2026
Risk Level: HIGHCOMMAND_EXECUTIONCREDENTIALS_UNSAFE
Full Analysis
- [COMMAND_EXECUTION]: The skill uses
security find-generic-passwordandsecurity add-generic-passwordto interact with the local macOS Keychain via shell scripts. It also usescurlto send data to external APIs andjqfor JSON processing. - [CREDENTIALS_UNSAFE]: The skill is designed to retrieve a secret (
linear-api-key) from the macOS Keychain and store it in an environment variable (LINEAR_API_KEY). This allows the agent to access sensitive persistent credentials stored on the host system. - [COMMAND_EXECUTION]: In
scripts/create_issues_from_json.sh, variables liketitleanddescriptionare extracted from a JSON file and passed into shell variables. Whilejqis used for construction, the shell loop and redirection patterns create a surface area for injection if the input JSON is maliciously crafted. - [DATA_EXFILTRATION]: The script
scripts/linear_graphql.shsends the retrieved API key in an Authorization header tohttps://api.linear.app/graphql. While this is the intended destination, the mechanism for automated credential retrieval from the system keychain is a high-privilege operation.
Recommendations
- AI detected serious security threats
Audit Metadata