Skip to content

v1.0.1

Choose a tag to compare

@github-actions github-actions released this 07 Oct 07:39
· 65 commits to main since this release
Immutable release. Only release title and notes can be modified.
v1.0.1
86ea07d

Security

  • Fixes GHSA-w99g-65rp-3q5f: php-ast-edit read .php-ast-edit.json from directories above the project, so a file another user placed there could supply the commands it runs. Found by @CybotTM.

.php-ast-edit.json names commands the editor runs, and it is now read only from the edited file's own project: the search stops at the nearest directory holding .git, outside version control at the nearest holding composer.json, and outside both it checks only the file's own (or deepest existing) directory. A declaration owned by somebody else is refused; the owner and the bytes come from the same open file (#94).

Other changes

  • SPDX licence and copyright notices on source files, a security assurance case (docs/SECURITY-ASSURANCE.md), and README sections on tests, dependencies and organisation policies (#93).

What's Changed

  • chore: implement OpenSSF best-practice measures by @CybotTM in #93
  • fix(config): read .php-ast-edit.json only from the edited file's project by @CybotTM in #94
  • chore(release): v1.0.1 by @CybotTM in #95

Full Changelog: v1.0.0...v1.0.1