Skip to content

aeppo v0.5.1

Choose a tag to compare

@emanuellzoe emanuellzoe released this 19 Nov 04:56
fa4a886

Fix

SH001 no longer reports install instructions printed by echo/printf. Example of what is now ignored:

echo "   curl -fsSL https://example.com/install.sh | sh"

On lines starting with echo or printf, quoted text is ignored. Two exceptions keep real execution visible:

  • $(...) inside double quotes is still checked, because the shell runs it.
  • A pipe outside the quotes is still checked.

These are still reported:

  • echo payload | base64 -d | sh
  • echo "$(curl …)" | sh
  • echo "$(curl …)" >> ~/.ssh/authorized_keys

Found by scanning rtk as text, which removed three false positives there.

- uses: emanuellzoe/aeppo@fa4a886c9d1efba7d4b2cda4f31424f1a2095ca5 # v0.5.1

Full changelog: v0.5.0...v0.5.1