cross-platform-compatibility

skills-sh:aj-geddes_useful-ai-prompts__cross-platform-compatibility

View source
A
92/100

First Seen

Feb 18, 2026

Last Scanned

Feb 20, 2026

Findings

3

Score

92/100

MEDIUM 1
LOW 2

Findings (3)

MEDIUM
Conditional CI execution
L292

Detects conditional execution based on CI environment variables combined with dangerous commands

if running in CI
 + child_process
FIX

Pin all dependencies to exact versions with integrity hashes. Use lock files (package-lock.json, poetry.lock) and enable checksum verification in your package manager.

FP?

Likely FP if the match is documentation about dependency management best practices rather than actual unpinned dependency declarations.

LOW
Shell subprocess with shell=True
L431

Detects subprocess calls with shell=True which enables shell injection

shell: true
FIX

Replace shell=True with shell=False and pass command arguments as a list. Validate and sanitize all inputs before passing to the shell.

FP?

Likely FP if the match is in documentation describing how subprocess works, or in a comment explaining shell risks rather than actual code.

LOW
Shell subprocess with shell=True
L437

Detects subprocess calls with shell=True which enables shell injection

shell: true
FIX

Replace shell=True with shell=False and pass command arguments as a list. Validate and sanitize all inputs before passing to the shell.

FP?

Likely FP if the match is in documentation describing how subprocess works, or in a comment explaining shell risks rather than actual code.