You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* π Fix path injection in cache operations
- Apply sanitizePath() at point of use in load()
and exists() to satisfy CodeQL taint tracking
Addresses:
- https://github.com/stoe/action-reporting-cli/security/code-scanning/14
- https://github.com/stoe/action-reporting-cli/security/code-scanning/15
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* π Fix path injection in report save path
- Apply sanitizePath() to outputDir derived from
user-provided output paths before fs operations
Addresses:
- https://github.com/stoe/action-reporting-cli/security/code-scanning/16
- https://github.com/stoe/action-reporting-cli/security/code-scanning/17
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* π Fix remote property injection in log
- Add Object.hasOwn() guard before property
writes in maskSensitive() to prevent injection
via externally controlled keys
Addresses:
- https://github.com/stoe/action-reporting-cli/security/code-scanning/18
- https://github.com/stoe/action-reporting-cli/security/code-scanning/19
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Signed-off-by: Stefan StΓΆlzle <stoe@github.com>
* β Fix cache test mocking for ESM
- Use jest.unstable_mockModule for proper ESM
fs/promises interception
- Replace @mocks/fs.js spy pattern that never
intercepted cache.js imports
- Fix path setter test to use CACHE_ROOT-relative
path (required by new #resolveCachePath validation)
- Configure per-test readFile mock return values
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Signed-off-by: Stefan StΓΆlzle <stoe@github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
0 commit comments