-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
complexity:trivialLess than 30 minutesLess than 30 minuteslang:phpPHP/LaravelPHP/Laravelpriority:highDo soonDo soontype:securitySecurity relatedSecurity related
Description
Parent audit: #36
Finding
A hardcoded API token exists in the test file, which could be a real credential committed to version control.
Location
src/Mod/Trees/Tests/Unit/AgentDetectionTest.php
Fix
Replace the hardcoded token with an environment variable lookup or a fake/mock token that is clearly not a real credential.
Acceptance Criteria
- No real API tokens in test files
- Token sourced from environment variable or replaced with an obviously fake value
- If the token was real, it has been rotated/revoked
- CI pipeline passes with the updated approach
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
complexity:trivialLess than 30 minutesLess than 30 minuteslang:phpPHP/LaravelPHP/Laravelpriority:highDo soonDo soontype:securitySecurity relatedSecurity related