line/line-bot-mcp-server
MCP server that integrates the LINE Messaging API to connect an AI Agent to the LINE Official Account.
f8bff88c22f8@line/line-bot-mcp-server0.0.1-local in package.jsonPaths from tool input into commands, SQL, files and URLs
How much power the tools give an agent over the machine
Hidden instructions and poisoning in text for the model
Known vulnerabilities in the packages the server uses
How the server reads credentials and where they can go
Whether the tools do only what their descriptions say
Top risks in plain words
- INFONo published risk: no tool declared to run commands, files, addresses or queries of the caller's choice, no known vulnerability in a production package, no advisory. Code findings appear here only after a person has verified them.
How to use it safely
Practical steps from what we found in this server. They lower the risk; they do not replace a review of the code.
- Give it a narrowly scoped token
Its code reads credentials or environment variables. Use a key limited to what this server needs, not your main one.
- Keep confirmations on
Leave your MCP client's confirmation prompt on for tools that change files, run commands or send data.
What its tools can do on your machine
The server offers 13 tools. When an AI agent calls them, this is what their code can do on the machine where the server runs, as traced in the source. Tools that call code the scanner could not follow may do more.
create_rich_menucreate_rich_menuNo tool was seen to: start other programs on the machine; connect to the internet or other hosts; read passwords, tokens or keys; touch sensitive locations.
Where its requests and secrets go
Read from the names along each tool's calls, not from a run: what the code says, not every address it may reach at run time.
The literal addresses the tools' requests name.
- None: no request names a fixed host.
Constants or settings that start an address; the value comes from configuration.
- None seen.
Credential-like environment variables. Give the server a key with the least access it needs.
- None: no credential-like variable is read by the tools.
Text it brings in from outside
Text that reaches the model from outside: an instruction hidden in it can steer the agent (prompt injection). Treat what these tools return as data, not as orders.
- files1 tool · create_rich_menu
Not all three are present in the tools the scanner traced.
Tool annotations
13 of 13 tools declare annotations. readOnlyHint 5, destructiveHint 8.
Each declaration matches what the traced code does.
Tools, prompts and resources (13: 13 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
broadcast_flex_messagetool Broadcast a highly customizable flex message via LINE to all users who have added your LINE Official Account. Supports both bubble (single container) and carousdestructive (declared)
Broadcast a highly customizable flex message via LINE to all users who have added your LINE Official Account. Supports both bubble (single container) and carousel (multiple swipeable bubbles) layouts. Please be aware that this message will be sent to all users.
broadcast_text_messagetool Broadcast a simple text message via LINE to all users who have followed your LINE Official Account. Use this for sending plain text messages without formatting.destructive (declared)
Broadcast a simple text message via LINE to all users who have followed your LINE Official Account. Use this for sending plain text messages without formatting. Please be aware that this message will be sent to all users.
cancel_rich_menu_defaulttool Cancel the default rich menu.destructive (declared)
Cancel the default rich menu.
create_rich_menutool Create a rich menu based on the given actions. Generate and upload a rich menu image based on the given action. This rich menu will be registered as the defaultFilesEnv varsoutside textdestructive (declared)
Create a rich menu based on the given actions. Generate and upload a rich menu image based on the given action. This rich menu will be registered as the default.
delete_rich_menutool Delete a rich menu from your LINE Official Account.destructive (declared)
Delete a rich menu from your LINE Official Account.
get_follower_idstool Get a list of user IDs of users who have added the LINE Official Account as a friend. This allows you to obtain user IDs for sending messages without manually pread-only (declared)
Get a list of user IDs of users who have added the LINE Official Account as a friend. This allows you to obtain user IDs for sending messages without manually preparing them.
get_group_summarytool Get the group chat summary including group ID, group name, and group icon URL, using the group ID.read-only (declared)
Get the group chat summary including group ID, group name, and group icon URL, using the group ID.
get_message_quotatool Get the message quota and consumption of the LINE Official Account. This shows the monthly message limit and current usage.read-only (declared)
Get the message quota and consumption of the LINE Official Account. This shows the monthly message limit and current usage.
get_profiletool Get detailed profile information of a LINE user including display name, profile picture URL, status message and language.read-only (declared)
Get detailed profile information of a LINE user including display name, profile picture URL, status message and language.
get_rich_menu_listtool Get the list of rich menus associated with your LINE Official Account.read-only (declared)
Get the list of rich menus associated with your LINE Official Account.
push_flex_messagetool Push a highly customizable flex message to a user via LINE. Supports both bubble (single container) and carousel (multiple swipeable bubbles) layouts.destructive (declared)
Push a highly customizable flex message to a user via LINE. Supports both bubble (single container) and carousel (multiple swipeable bubbles) layouts.
push_text_messagetool Push a simple text message to a user via LINE. Use this for sending plain text messages without formatting.destructive (declared)
Push a simple text message to a user via LINE. Use this for sending plain text messages without formatting.
set_rich_menu_defaulttool Set a rich menu as the default rich menu.destructive (declared)
Set a rich menu as the default rich menu.
Text the model reads (13)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
broadcast_flex_message tool
Broadcast a highly customizable flex message via LINE to all users who have added your LINE Official Account. Supports both bubble (single container) and carousel (multiple swipeable bubbles) layouts. Please be aware that this message will be sent to all users.
broadcast_text_message tool
Broadcast a simple text message via LINE to all users who have followed your LINE Official Account. Use this for sending plain text messages without formatting. Please be aware that this message will be sent to all users.
cancel_rich_menu_default tool
Cancel the default rich menu.
create_rich_menu tool
Create a rich menu based on the given actions. Generate and upload a rich menu image based on the given action. This rich menu will be registered as the default.
delete_rich_menu tool
Delete a rich menu from your LINE Official Account.
get_follower_ids tool
Get a list of user IDs of users who have added the LINE Official Account as a friend. This allows you to obtain user IDs for sending messages without manually preparing them.
get_group_summary tool
Get the group chat summary including group ID, group name, and group icon URL, using the group ID.
get_message_quota tool
Get the message quota and consumption of the LINE Official Account. This shows the monthly message limit and current usage.
get_profile tool
Get detailed profile information of a LINE user including display name, profile picture URL, status message and language.
get_rich_menu_list tool
Get the list of rich menus associated with your LINE Official Account.
push_flex_message tool
Push a highly customizable flex message to a user via LINE. Supports both bubble (single container) and carousel (multiple swipeable bubbles) layouts.
push_text_message tool
Push a simple text message to a user via LINE. Use this for sending plain text messages without formatting.
set_rich_menu_default tool
Set a rich menu as the default rich menu.
What we checked
The same checks run on every server. Each line below has one of these marks:
- 8 checks: command injection, argument injection, path traversal, server-side request forgery, SQL injection, code execution, unsafe deserialization, template injectionChecked on every scan. Results in this category are published only after a person has verified them.
- Runs programs the caller choosesNo tool runs a command or program the caller supplies — 13 tool handlers traced
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 13 tool handlers traced
- Reads or writes any file pathNo tool works on a file path the caller supplies without a root check — 13 tool handlers traced
- Requests any addressNo tool sends a request to an address the caller supplies — 13 tool handlers traced
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 13 tool handlers traced
- Tools that start processesNot seen in the traced code of 13 capabilities; 13 more call code the scanner could not follow, where it may happen
- Tools that touch files1 of 13 capabilities touch files; 12 more call code the scanner could not follow, where it may happen
- Tools that call the networkNot seen in the traced code of 13 capabilities; 13 more call code the scanner could not follow, where it may happen
Where the code is: 13 handlers in 13 files at commit f8bff88c22f8
src/tools/broadcastFlexMessage.tsbroadcast_flex_messagesrc/tools/broadcastTextMessage.tsbroadcast_text_messagesrc/tools/cancelRichMenuDefault.tscancel_rich_menu_defaultsrc/tools/createRichMenu.tscreate_rich_menusrc/tools/deleteRichMenu.tsdelete_rich_menusrc/tools/getFollowerIds.tsget_follower_idssrc/tools/getGroupSummary.tsget_group_summarysrc/tools/getMessageQuota.tsget_message_quotasrc/tools/getProfile.tsget_profilesrc/tools/getRichMenuList.tsget_rich_menu_listsrc/tools/pushFlexMessage.tspush_flex_messagesrc/tools/pushTextMessage.tspush_text_messagesrc/tools/setRichMenuDefault.tsset_rich_menu_default
- 5 checks: tool poisoning, instruction override, hidden content, exfiltration requests, metadata integrityChecked on every scan. Results in this category are published only after a person has verified them.
- Dependency manifests1 manifest: package.json
- Lockfiles checked against OSV1 file resolved and checked against the OSV database
- Known vulnerabilities in production dependenciesNo production dependency with a known advisory
- Known vulnerabilities in other dependencies1 package with advisories used only for development, tests or examples; an install of the server leaves them out
- MCP SDK version@modelcontextprotocol/client ^2.0.0 (dev), @modelcontextprotocol/server ^2.0.0
- 3 checks: credential harvesting, undeclared credential access, credentials sent over the networkChecked on every scan. Results in this category are published only after a person has verified them.
- Tools that read credentialsNot seen in the traced code of 13 capabilities; 13 more call code the scanner could not follow, where it may happen
- Environment variables1 capability reads environment variables (often API keys)
- Authentication declaredNot checked: needs the live server's tools/list (a remote server declares how clients authenticate)
- 3 checks: undeclared network access, undeclared file access, undeclared process executionChecked on every scan. Results in this category are published only after a person has verified them.
- Tool descriptions presentEvery tool has a description the model and the user can read
- Statically known namesEvery tool's name could be read from the code
- Input schemasNot checked: needs the live server's tools/list (every tool declares an input schema)
- Destructive tools annotatedNot checked: needs the live server's tools/list (tools that write, delete or run commands carry destructivehint)
Dependencies with known vulnerabilities (0 in production)
No known vulnerabilities in the production dependencies that could be checked.
1 vulnerable package outside the server itself (used only for development, tests or examples, not shipped)
katexnpm 0.17.0 LOW 1 advisory 0.18.2
- LOWGHSA-238p-pmpm-9mq7 CVE-2026-103923KaTeX: Existing prototype pollution can bypass trust restrictions
Past security advisories
Vulnerabilities published for this server itself, from the GitHub Advisory Database.
No security advisories have been published for this server in the GitHub Advisory Database.
How it runs
| Where it runs | On your machine, started by your MCP client from this repository or its package |
|---|---|
| Transport | not stated in the code the scanner read; most local servers talk over stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | @modelcontextprotocol/client ^2.0.0 (dev), @modelcontextprotocol/server ^2.0.0 |
| Servers in the code | 17 (line-bot, test) |
The project's own security
| Security policy | none no SECURITY.md in the repository: report issues privately through GitHub if it is enabled |
|---|---|
| Past advisories | none in the GitHub Advisory Database |
| Last push | 2026-11-15 |
| Signed releases | not checked yet |
Where it is published
| Other npm packages | 1 package by other publishers point to this repositoryNot published by the repository's owner; check who publishes a package before you install it. |
|---|---|
| Listed in | 11 catalogs (awesome_appcypher, awesome_habitoai, awesome_punkpeye, awesome_wong2, awesome_yuzehao2023, docker_catalog, github_search, glama, mcp_toplist, mcpservers_org, npm) |
| License | Apache-2.0 |
| Created | 2025-04-04 |
| Topics | line linebot mcp mcp-server |
Attack map
How the server is built and where its risky tools lead: servers, their tools, what the tools' code can do, and the traced route from a declared risky tool's argument to the operation it reaches. Click a node for details.