lightning
Fail
Audited by Gen Agent Trust Hub on Feb 16, 2026
Risk Level: HIGHCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSCREDENTIALS_UNSAFEPROMPT_INJECTION
Full Analysis
- Unverifiable Dependencies (HIGH): The skill relies on an external subagent called
lightning-auditor. This is not a standard tool in the LND ecosystem (likelncli), and its source code and security posture cannot be verified, creating a risk of executing untrusted code on financial infrastructure. - Command Execution & Privilege Escalation (HIGH): The skill executes powerful shell commands via
lnclito manage channels and execute payments. It also explicitly instructs the agent to modifysystemdservice files and environment variables, operations that typically require root or administrative privileges and can lead to full system compromise. - Credential Exposure (HIGH): The process involves searching for and 'fixing'
lnd.confandLND_*environment variables. These files and variables are standard locations for sensitive credentials, including administrative macaroons and TLS certificates, which could be exposed to the agent context or accidentally logged during the 'Audit' and 'Execute' phases. - Indirect Prompt Injection (HIGH):
- Ingestion points: The skill is triggered by and processes external data from files containing
bolt11invoices, channel handlers, and terminal output fromlistchannels. - Boundary markers: No delimiters or isolation protocols are used when processing untrusted invoice memos or external channel data.
- Capability inventory: The agent has the capability to pay invoices (
payinvoice), modify node configurations, and close/open channels. - Sanitization: There is no evidence of sanitization for strings like invoice memos, which could contain malicious instructions to divert funds or alter the audit logic.
- Persistence Mechanisms (MEDIUM): The instructions to modify
systemdandlnd.confallow the skill to establish persistent changes to how the node and its associated services start and operate on the host system.
Recommendations
- AI detected serious security threats
Audit Metadata