Repository navigation
Releases
v0.12.0
What's Changed
- chore: pin aeppo to v0.11.0 by @emanuellzoe in #33
- feat: auto-run rules for tool config files by @emanuellzoe in #34
- release: v0.12.0 by @emanuellzoe in #35
Full Changelog: v0.11.0...v0.12.0
v0.11.0
What's Changed
- docs: pin examples to v0.10.0 by @emanuellzoe in #30
- feat(check): set tests and examples apart by @emanuellzoe in #31
- chore: release v0.11.0 by @emanuellzoe in #32
Full Changelog: v0.10.0...v0.11.0
v0.10.0
What's Changed
- docs: pin examples to v0.9.0 by @emanuellzoe in #27
- feat: visual HTML report for aeppo check by @emanuellzoe in #28
- chore: release v0.10.0 by @emanuellzoe in #29
Full Changelog: v0.9.0...v0.10.0
aeppo v0.9.0
What's Changed
- docs: pip install from PyPI, pin examples to v0.8.0 by @emanuellzoe in #23
- feat: per-package OSV summary with one upgrade target; python -m aeppo by @emanuellzoe in #24
- feat: aeppo check — vet a repository before trying it by @emanuellzoe in #25
- chore: release v0.9.0 by @emanuellzoe in #26
Full Changelog: v0.8.0...v0.9.0
aeppo v0.8.0
What's Changed
- docs: pin examples to v0.7.0 by @emanuellzoe in #19
- chore: split scanner into rule modules, add project docs and PyPI publishing by @emanuellzoe in #20
- feat: check lockfile dependencies in OSV.dev (--osv, VULN001, MAL001) by @emanuellzoe in #21
- chore: release v0.8.0 by @emanuellzoe in #22
Full Changelog: v0.7.0...v0.8.0
aeppo v0.7.0
What's Changed
- docs: pin examples to v0.6.0 by @emanuellzoe in #17
- feat: code rules for Go, Rust, Java/Kotlin, PHP and Ruby (v0.7.0) by @emanuellzoe in #18
Full Changelog: v0.6.0...v0.7.0
aeppo v0.6.0
What's Changed
- docs: pin action and pre-commit examples to v0.5.1 by @emanuellzoe in #15
- feat: detect auto-run entry points across ecosystems (v0.6.0) by @emanuellzoe in #16
Full Changelog: v0.5.1...v0.6.0
aeppo v0.5.1
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 | shecho "$(curl …)" | shecho "$(curl …)" >> ~/.ssh/authorized_keys
Found by scanning rtk as text, which removed three false positives there.
- uses: emanuellzoe/aeppo@fa4a886c9d1efba7d4b2cda4f31424f1a2095ca5 # v0.5.1Full changelog: v0.5.0...v0.5.1
aeppo v0.5.0
Highlights
Project configuration: .aeppo.toml
exclude = ["tests/fixtures/**"]
disable = ["SH005"]
min-severity = "medium"
max-file-size = 1048576
baseline = "aeppo-baseline.json"- Found automatically by walking up from the scanned directory to the repository root, so the CLI, pre-commit, and the GitHub Action share one set of settings.
- Command-line options take precedence.
--excludeand--disableadd to the file's lists. --config FILEuses a specific file;--no-configignores it.- Unknown keys, unknown rule IDs, and invalid values are errors, so a typo cannot silently disable a setting.
- Still no runtime dependencies:
tomllibon Python 3.11+, and a built-in parser for the same subset on 3.9 and 3.10.
pre-commit hook
repos:
- repo: https://github.com/emanuellzoe/aeppo
rev: c55637139788d6f5f2ed920628f368f7bfdca6a6 # v0.5.0
hooks:
- id: aeppoThe hook scans staged files and blocks the commit when it finds something. Files aeppo cannot scan are skipped.
CLI
- Several files or directories in one run.
--disable RULEturns a rule off.--skip-unsupportedskips file arguments aeppo cannot scan.
- uses: emanuellzoe/aeppo@c55637139788d6f5f2ed920628f368f7bfdca6a6 # v0.5.0Full changelog: v0.4.0...v0.5.0
aeppo v0.4.0
Highlights
aeppo now scans shell scripts and GitHub Actions workflows, the two places a cloned repository most often hides something dangerous.
Shell scripts
Covers .sh, .bash, .zsh, .ksh, and extensionless files with a shell shebang.
| ID | Detects |
|---|---|
| SH001 | Download piped into an interpreter: curl … | sh, | bash -s, | python3, source <(curl …), eval "$(curl …)" |
| SH002 | Reverse shells: bash -i >& /dev/tcp/…, nc -e /bin/sh, socat … exec:sh, mkfifo + nc |
| SH003 | Encoded payload decoded and run: base64 -d | sh |
| SH004 | Persistence via authorized_keys or cron |
| SH005 | Shell startup file changes (low severity; installers do this) |
GitHub Actions
Covers .github/workflows/*.yml and action.yml.
| ID | Detects |
|---|---|
| GHA001 | pull_request_target checking out pull-request code (pwn request) |
| GHA002 | Untrusted context (issue/PR title or body, comments, head_ref, commit messages) expanded inside run: / script: |
| GHA003 | Action not pinned to a full commit SHA: low for actions/* and github/*, medium for third-party |
| GHA004 | permissions: write-all (high on externally triggered workflows) |
Benign shapes stay quiet: wait-for-it /dev/tcp health checks, downloads to a file, curl … \| python3 -m json.tool, values passed through env:, and checkouts of github.sha.
Upgrading
- Traversal now enters
.github/workflows, so your workflows are scanned too. - Tag-pinned official actions are reported at low. Use
--min-severity mediumto hide them, or pin them to SHAs.
- uses: emanuellzoe/aeppo@fd672ef037993a8c050e891af2da209d3bc725f7 # v0.4.0Full changelog: v0.3.3...v0.4.0