GH-500 · Question #23
Which of the following would raise secret scanning alerts?
The correct answer is A. GitHub personal access token. Secret scanning is designed to detect credentials, tokens, API keys, and other sensitive strings that should never be committed to a repository. A GitHub personal access token (PAT) is exactly this type of secret and will trigger an alert. XSS, SQL injection, and server-side…
Question
Which of the following would raise secret scanning alerts?
Options
- AGitHub personal access token
- Bserver-side request forgery
- Ccross site scripting (XSS)
- Dstructured query language (SQL) injection
How the community answered
(66 responses)- A92% (61)
- B2% (1)
- C2% (1)
- D5% (3)
Explanation
Secret scanning is designed to detect credentials, tokens, API keys, and other sensitive strings that should never be committed to a repository. A GitHub personal access token (PAT) is exactly this type of secret and will trigger an alert. XSS, SQL injection, and server-side request forgery (SSRF) are code vulnerabilities - not secrets - and are detected by code scanning tools like CodeQL, not secret scanning.
Topics
Community Discussion
No community discussion yet for this question.