Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions test-secret.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// This file is for testing push-sentinel action detection
const AWS_KEY = "AKIAIOSFODNN7EXAMPLE";

Check failure on line 2 in test-secret.js

View workflow job for this annotation

GitHub Actions / scan

[HIGH] AWS Access Key: AKIAIOxxxxxxxxxxxxxx... — Full access to AWS resources.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Remove committed secret fixture from tracked files

This committed literal matches a HIGH-severity secret pattern, so the repo’s push-sentinel workflow (.github/workflows/push-sentinel.yml) will fail this PR because the action defaults to blocking on HIGH findings; the action docs state PRs scan base..HEAD and block-on-high defaults to true. Keeping this fixture in normal tracked code turns the validation test into a merge blocker for any branch that includes this commit, so this should be moved to a non-scanned test mechanism (or removed) rather than committed as-is.

Useful? React with 👍 / 👎.

const GITHUB_TOKEN = "ghp_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghij";

Check failure on line 3 in test-secret.js

View workflow job for this annotation

GitHub Actions / scan

[HIGH] GitHub Token: ***... — Full read/write access to GitHub repositories.
Loading