better-auth/better-icons
Skill and MCP server for searching and retrieving icons
033316ecb8f4better-icons1.0.5 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
How far the analysis went
- Supply Chain: the dependency files state no exact versions the scanner could check, so it has no number
Top risks in plain words
- HIGHTools
scan_project_icons,sync_iconread or write any file path by design: an agent steered by prompt injection can use them that way.
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 only the folder it needs
scan_project_icons,sync_iconcan read or write any file path. Mount a single project folder, read-only where you can. - Turn off the tools you do not use
Most MCP clients let you disable single tools. If you do not need
scan_project_icons,sync_icon, switch them off. - 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 11 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.
clear_icon_preferences, find_similar_icons, get_icon, get_icon_preferences, get_icons, get_recent_icons and 4 morefind_similar_icons, get_icon, get_icons, list_collections, recommend_icons, search_icons and 1 moreNo tool was seen to: start other programs on the machine; read passwords, tokens or keys; read environment variables; 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.
ICONIFY_API· find_similar_icons, get_icon, get_icons +4
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.
- files9 tools · find_similar_icons, get_icon, get_icon_preferences +6
- web or API responses7 tools · find_similar_icons, get_icon, get_icons +4
Tool annotations
No tool declares MCP annotations (readOnlyHint, destructiveHint and the rest). Clients use them to decide what to confirm; directories such as Anthropic's and OpenAI's ask for them.
Tools, prompts and resources (11: 11 tools)
Open a row for its full description. Chips show what its code can reach, and which risky capability its own description declares.
scan_project_iconstool Scan an icons file to see what icons are already available. Helps avoid duplicates.Filesoutside textReads/writes files
Scan an icons file to see what icons are already available. Helps avoid duplicates.
sync_icontool Get an icon AND automatically add it to your project's icons file. Returns the import statement to use. This is the recommended way to add icons to your projectFilesNetworkoutside textReads/writes files
Get an icon AND automatically add it to your project's icons file. Returns the import statement to use. This is the recommended way to add icons to your project. The AI should provide the icons file path based on the project structure.
clear_icon_preferencestool Reset all learned icon preferences. Use this if you want to start fresh with a different icon style.Files
Reset all learned icon preferences. Use this if you want to start fresh with a different icon style.
find_similar_iconstool Find similar icons or variations of a given icon. Useful for finding the same icon in different styles (solid, outline) or from different collections.FilesNetworkoutside text
Find similar icons or variations of a given icon. Useful for finding the same icon in different styles (solid, outline) or from different collections.
get_icontool Get the SVG code for a specific icon. Use the icon ID from search_icons results.FilesNetworkoutside text
Get the SVG code for a specific icon. Use the icon ID from search_icons results.
get_icon_preferencestool View your learned icon collection preferences. The server automatically learns which icon collections you use most frequently.Filesoutside text
View your learned icon collection preferences. The server automatically learns which icon collections you use most frequently.
get_iconstool Get multiple icons at once. More efficient than calling get_icon multiple times. Returns all SVGs together.FilesNetworkoutside text
Get multiple icons at once. More efficient than calling get_icon multiple times. Returns all SVGs together.
get_recent_iconstool View your recently used icons. Useful for quickly reusing icons you've already retrieved.Filesoutside text
View your recently used icons. Useful for quickly reusing icons you've already retrieved.
list_collectionstool List available icon collections/libraries.Networkoutside text
List available icon collections/libraries.
recommend_iconstool Get icon recommendations for a specific use case.FilesNetworkoutside text
Get icon recommendations for a specific use case.
search_iconstool Search for icons across 200+ icon libraries powered by Iconify. Returns icon identifiers that can be used with get_icon.FilesNetworkoutside text
Search for icons across 200+ icon libraries powered by Iconify. Returns icon identifiers that can be used with get_icon.
Text the model reads (11)
Every tool, prompt and resource description as written in the code: the model sees all of it, the user usually does not.
search_icons tool
Search for icons across 200+ icon libraries powered by Iconify. Returns icon identifiers that can be used with get_icon.
get_icon tool
Get the SVG code for a specific icon. Use the icon ID from search_icons results.
list_collections tool
List available icon collections/libraries.
recommend_icons tool
Get icon recommendations for a specific use case.
get_icon_preferences tool
View your learned icon collection preferences. The server automatically learns which icon collections you use most frequently.
clear_icon_preferences tool
Reset all learned icon preferences. Use this if you want to start fresh with a different icon style.
find_similar_icons tool
Find similar icons or variations of a given icon. Useful for finding the same icon in different styles (solid, outline) or from different collections.
get_icons tool
Get multiple icons at once. More efficient than calling get_icon multiple times. Returns all SVGs together.
get_recent_icons tool
View your recently used icons. Useful for quickly reusing icons you've already retrieved.
scan_project_icons tool
Scan an icons file to see what icons are already available. Helps avoid duplicates.
sync_icon tool
Get an icon AND automatically add it to your project's icons file. Returns the import statement to use. This is the recommended way to add icons to your project. The AI should provide the icons file path based on the project structure.
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 — 11 tool handlers traced
- Executes caller-supplied codeNo tool evaluates code the caller supplies — 11 tool handlers traced
- Reads or writes any file path MEDIUM1 finding in sync_icon; 1 more to review
- Requests any addressNo tool sends a request to an address the caller supplies — 11 tool handlers traced
- Runs caller-supplied SQLNo tool executes a query the caller supplies — 11 tool handlers traced
- Tools that start processesNot seen in the traced code of 11 capabilities; 11 more call code the scanner could not follow, where it may happen
- Tools that touch files10 of 11 capabilities touch files; 1 more call code the scanner could not follow, where it may happen
- Tools that call the network7 of 11 capabilities call the network; 4 more call code the scanner could not follow, where it may happen
Where the code is: 11 handlers in 1 file at commit 033316ecb8f4
- 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 OSVNothing could be resolved to exact versions; 1 not resolved: package.json: dependency ranges declared here were not resolved against a lockfile and were not checked
- MCP SDK version@modelcontextprotocol/sdk ^1.25.3
- 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 11 capabilities; 11 more call code the scanner could not follow, where it may happen
- 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)
Dependency ranges were not resolved against a lockfile, so the score is capped at 7.
No known vulnerabilities in the production dependencies that could be checked.
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 | stdio |
| Sign-in | not checked needs the live server |
| MCP SDK | @modelcontextprotocol/sdk ^1.25.3 |
| Servers in the code | 1 (better-icons) |
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-04-02 |
| Signed releases | not checked yet |
Install it
For the server's own npm package better-icons. Pin a version ([email protected]) so an update cannot change the tools without you noticing.
Claude Desktop claude_desktop_config.json
{
"mcpServers": {
"better-icons": {
"command": "npx",
"args": [
"-y",
"better-icons"
]
}
}
}Cursor ~/.cursor/mcp.json
{
"mcpServers": {
"better-icons": {
"command": "npx",
"args": [
"-y",
"better-icons"
]
}
}
}VS Code .vscode/mcp.json
{
"servers": {
"better-icons": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"better-icons"
]
}
}
}Claude Code terminal
claude mcp add better-icons -- npx -y better-iconsWhere it is published
| npm package | better-icons |
|---|---|
| Downloads | 4 992 a month on npm |
| Listed in | 4 catalogs (github_search, glama, mcp_toplist, npm) |
| License | MIT |
| Created | 2026-01-22 |
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.