Scan Report
15 /100
mia-trust
MIA-Trust Pipeline - Memory-Intelligent Assistant Trust Guard + Memory Evolution
MIA-Trust is a legitimate security guard pipeline that performs prompt injection detection, plan evaluation, and memory management. The skill has minor documentation gaps (undeclared execSync usage) but no malicious behavior detected.
Safe to install
Add explicit documentation of execSync child process spawning and API key environment variable usage in SKILL.md. No blocking actions needed.
Findings 3 items
| Severity | Finding | Location |
|---|---|---|
| Low | Undeclared child process execution | run.mjs:42 |
| Info | API key environment variable access | run.mjs, trust/mia-trust.mjs:28 |
| Info | Query injection in execSync (mitigated) | run.mjs:45 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Shell | NONE | WRITE | ✗ Violation | run.mjs:42 - execSync spawns child node processes |
| Network | NONE | READ | ✓ Aligned | planner/mia-planner.mjs:65, trust/mia-trust.mjs - API calls to external endpoint… |
| Filesystem | NONE | WRITE | ✓ Aligned | memory/mia-memory.mjs:appendFileSync, trust/mia-trust.mjs - writes to memory.jso… |
| Environment | NONE | READ | ✗ Violation | run.mjs:28-36, trust/mia-trust.mjs:10-14 - reads API keys from process.env |
3 findings
Medium External URL 外部 URL
https://your-api-endpoint/v1/chat/completions PIPELINE.md:134 Medium External URL 外部 URL
https://paypal.me/jimmywarting package-lock.json:35 Medium External URL 外部 URL
https://opencollective.com/node-fetch package-lock.json:94 File Tree
11 files · 211.5 KB · 3056 lines JavaScript 6f · 2064L
JSON 3f · 716L
Markdown 2f · 276L
├─
▾
feedback
│ └─
mia-feedback.mjs
JavaScript
├─
▾
memory
│ └─
mia-memory.mjs
JavaScript
├─
▾
planner
│ └─
mia-planner.mjs
JavaScript
├─
▾
trust
│ ├─
mia-trust.mjs
JavaScript
│ └─
trust_experience.json
JSON
├─
_sync_trust_exp.mjs
JavaScript
├─
package-lock.json
JSON
├─
package.json
JSON
├─
PIPELINE.md
Markdown
├─
run.mjs
JavaScript
└─
SKILL.md
Markdown
Dependencies 1 items
| Package | Version | Source | Known Vulns | Notes |
|---|---|---|---|---|
node-fetch | ^3.3.2 | npm | No | Modern fetch implementation, no known vulnerabilities |
Security Positives
✓ Purpose is clearly legitimate: prompt injection detection and plan security evaluation
✓ Implements multi-layer security: regex scanning + LLM deep analysis + historical experience
✓ Uses constitutional principles for safety evaluation (Authenticity, Safety, Privacy, Robustness, Fairness)
✓ Memory storage is for legitimate experience tracking, not credential harvesting
✓ No base64 decoding, direct IP connections, or C2 communication patterns
✓ API calls are to user-configured endpoints only (no hardcoded exfiltration URLs)
✓ Includes anti-bypass patterns for common prompt injection techniques
✓ No access to sensitive paths like ~/.ssh, ~/.aws, or .env files outside normal config