False positive security flag for AWS CLI skill using execFile (no shell interpolation) #151

Open
opened 2026-02-15 17:15:56 -05:00 by yindo · 0 comments
Owner

Originally created by @HypertextAssassinRajith on GitHub (Feb 12, 2026).

Summary

My OpenClaw skill (awscli) is currently flagged as "Suspicious (High Confidence)" by ClawHub security scanning.

However, the skill does NOT use shell interpolation or unsanitized command execution.

I believe this is a false positive triggered by detection of child_process usage.

Technical Details

The skill:

  • Uses execFile() instead of exec()
  • Does NOT use shell execution
  • Passes arguments as an array (no string interpolation)
  • Enforces strict instance whitelist validation
  • Requires explicit environment variables:
    • AWS_REGION
    • ALLOWED_INSTANCES
  • Documents required AWS CLI and IAM permissions in SKILL.md

Example execution pattern:

execFile("aws", [
  "lightsail",
  "reboot-instance",
  "--instance-name",
  input.instance,
  "--region",
  REGION
]);

Repo : Github

Originally created by @HypertextAssassinRajith on GitHub (Feb 12, 2026). ## Summary My OpenClaw skill (`awscli`) is currently flagged as "Suspicious (High Confidence)" by ClawHub security scanning. However, the skill does NOT use shell interpolation or unsanitized command execution. I believe this is a false positive triggered by detection of `child_process` usage. ## Technical Details The skill: - Uses `execFile()` instead of `exec()` - Does NOT use shell execution - Passes arguments as an array (no string interpolation) - Enforces strict instance whitelist validation - Requires explicit environment variables: - AWS_REGION - ALLOWED_INSTANCES - Documents required AWS CLI and IAM permissions in SKILL.md Example execution pattern: ```js execFile("aws", [ "lightsail", "reboot-instance", "--instance-name", input.instance, "--region", REGION ]); ``` Repo : [Github](https://github.com/HypertextAssassinRajith/awscli)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: openclaw/clawhub#151