Line Messaging OAuth2 Keys
ID |
line_messaging_oauth2 |
Severity |
low |
Vendor |
Line |
Family |
API Token |
Description
Line is a freeware app for instant communications on electronic devices such as smartphones, tablet computers and personal computers. Line users exchange: texts, images, video and audio and conduct free VoIP conversations and video conferences.
OAuth Keys allow to create channel access tokens on a user basis using OAuth2 flow.
Security
Any hardcoded Line Key is a potential secret reported by this detector.
Accidentally checking-in the keys to source control repositories could compromise your Line account.
Mitigation / Fix
-
Remove the
Key
from the source code or committed configuration file. -
Follow your policy for handling leaked secrets, which typically require revoking the secret in the target system(s). The client_id is unique and public for a channel. The client_secret can be rotated from the Console.
-
If under a git repository, you may remove unwanted files from the repository history using tools like
git filter-repo
orBFG Repo-Cleaner
. You may follow the procedure listed here for GitHub.
You should consider any sensitive data in commits with secrets as compromised. Remember that secrets may be removed from history in your projects, but not in other users' cloned or forked repositories. |