Line Token

ID

line_notify_token

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.

They provide an API to access various data on the Line platform, and allows to post messages using channel access tokens

Security

Any hardcoded Line Token is a potential secret reported by this detector.

Accidentally checking-in the token to source control repositories could compromise your Line account.

Examples

LINE_CHANNEL_TOKEN=6c2a96b9c537df485a77ecd98b4706bc

Mitigation / Fix

  1. Remove the Token from the source code or committed configuration file.

  2. Follow your policy for handling leaked secrets, which typically require revoking the secret in the target system(s). API Key revocation can be handled through the API.

  3. If under a git repository, you may remove unwanted files from the repository history using tools like git filter-repo or BFG 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.