T03 · Remote Payload Retrieval and Execution
- Location
invoice-reimbursement-assistant-install.md:56- Finding
Unauthenticated Remote Binary Retrieval and Execution
- Content
View full analysis
Vulnerability Details
File Location:
invoice-reimbursement-assistant-install.md:56-62, with execution requirements atinvoice-reimbursement-assistant-install.md:93-102
Vulnerability Type: Remote executable supply-chain risk
Risk Level: CriticalVulnerable Code Snippet
text | Windows amd64 | https://download.ningmengyun.com/Skills/invoice-reimbursement-assistant/bin/windows-amd64/invoice-reimbursement-assistant-0.1.0.exe | `bin/windows-amd64/invoice-reimbursement-assistant.exe` | `.\bin\windows-amd64\invoice-reimbursement-assistant.exe --help` | | Linux amd64 | https://download.ningmengyun.com/Skills/invoice-reimbursement-assistant/bin/linux-amd64/invoice-reimbursement-assistant-0.1.0 | `bin/linux-amd64/invoice-reimbursement-assistant` | `./bin/linux-amd64/invoice-reimbursement-assistant --help` | | Linux arm64 | https://download.ningmengyun.com/Skills/invoice-reimbursement-assistant/bin/linux-arm64/invoice-reimbursement-assistant-0.1.0 | `bin/linux-arm64/invoice-reimbursement-assistant` | `./bin/linux-arm64/invoice-reimbursement-assistant --help` | | macOS amd64 | https://download.ningmengyun.com/Skills/invoice-reimbursement-assistant/bin/darwin-amd64/invoice-reimbursement-assistant-0.1.0 | `bin/darwin-amd64/invoice-reimbursement-assistant` | `./bin/darwin-amd64/invoice-reimbursement-assistant --help` | | macOS arm64 | https://download.ningmengyun.com/Skills/invoice-reimbursement-assistant/bin/darwin-arm64/invoice-reimbursement-assistant-0.1.0 | `bin/darwin-arm64/invoice-reimbursement-assistant` | `./bin/darwin-arm64/invoice-reimbursement-assistant --help` |The installation procedure then requires the selected binary to be downloaded, made executable where necessary, and invoked using the listed availability-check command.
Technical Analysis
The reviewed package deliberately excludes the executable that implements the invoice workflow. Instead, the agent must retrieve an opaque, platform-specifi ...[truncated 2698 chars]
- Remediation
View remediation
Remediation Suggestions
- Publish a SHA-256 or stronger digest for every platform binary in a version-controlled, signed manifest.
- Require the installer to calculate the downloaded file's digest and compare it against the pinned value before granting execution permission or invoking the file.
- Digitally sign release manifests with an offline-controlled release key and verify the signature using a public key embedded in the audited package.
- Use platform-native code signing, including Authenticode for Windows and Developer ID signing and notarization for macOS.
- Treat any checksum, signature, certificate, or publisher-validation failure as fatal and delete the rejected artifact.
- Pin each skill release to immutable artifacts rather than mutable URL content.
- Publish auditable source code and reproducible build instructions so reviewers can establish correspondence between source and distributed binaries.
- Run the executable in a restricted sandbox with access limited to the required invoice directory and required network endpoints.
- Perform artifact verification before the first
--helpinvocation because even a help command executes native code.
