audit_package_security
Scan PKGBUILD files for 50+ security red flags and evaluate AUR package trustworthiness based on votes, maintainer, and age.
Instructions
[SECURITY] Comprehensive security audit for AUR packages. Actions: pkgbuild_analysis (scan PKGBUILD for 50+ red flags), metadata_risk (evaluate trustworthiness via votes/maintainer/age). Examples: audit_package_security(action='pkgbuild_analysis', pkgbuild_content='...'), audit_package_security(action='metadata_risk', package_name='yay'). ⚠️ Always audit AUR packages before installing.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>"
},
"name": "audit_package_security"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Type of security audit | |
| pkgbuild_content | No | PKGBUILD content for analysis | |
| package_name | No | Package name for metadata analysis | |
| package_info | No | Pre-fetched package metadata |