Skip to main content
Glama

analyze_pkgbuild_safety

Analyze PKGBUILD files for security risks including dangerous commands, obfuscated code, suspicious network activity, and malware. Provides risk assessment and detailed findings to help audit AUR packages before installation.

Instructions

Analyze PKGBUILD content for security issues and dangerous patterns. Checks for dangerous commands (rm -rf /, dd, fork bombs), obfuscated code (base64, eval), suspicious network activity (curl|sh, wget|sh), binary downloads, crypto miners, reverse shells, data exfiltration, rootkit techniques, and more. Returns risk score (0-100) and detailed findings. Use this tool to manually audit AUR packages before installation.

Input Schema

NameRequiredDescriptionDefault
pkgbuild_contentYesRaw PKGBUILD content to analyze

Input Schema (JSON Schema)

{ "properties": { "pkgbuild_content": { "description": "Raw PKGBUILD content to analyze", "type": "string" } }, "required": [ "pkgbuild_content" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/nihalxkumar/arch-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server