@minonl/dia@0.0.44
dia (嗲) — lightweight agent framework: knowledge index, audit, session ingest
AI security review
scanned · by lpm-firewall-aiA global, non-CI install automatically forces the bundled dia-msg kit installation, which adds a skill and plugin under user-level agent configuration paths. This matches the warning-only agent extension lifecycle risk; no unrelated data collection or network contact was identified in this path.
Decision evidence
public snapshot- package.json declares a postinstall hook that runs scripts/postinstall.mjs.
- The hook skips CI and local installs, but runs for global installs unless DIA_NO_POSTINSTALL=1.
- The postinstall command invokes the CLI handler, which calls ensure with force enabled; ensure installs the bundled kit.
- The dia-msg kit manifest links its skill into OpenCode, Agents, and DSH skill directories.
- The same manifest declares a file and directory under OpenCode's plugin configuration.
- The automatic setup is gated to global, non-CI installs and has an opt-out environment variable.
- The installed kit and agent files are part of this package; the reviewed install path does not download or contact a network host.
- 127.0.0.1
Findings
4 high · 5 medium · 6 lowWhere they are, most severe file first. Code opens a file's flagged lines, with their evidence, below.
package.json1 high · 1 mediumdist/cli.js2 high · 1 lowpackages/job/tests/p2.test.sh1 highpackages/job/install.sh1 mediumShow all 15 findings
package.json2 findingsdist/cli.js3 findingspackages/job/tests/p2.test.sh1 findingpackages/job/install.sh1 findingSource & flagged code
7 flaggedPackage defines install-time lifecycle scripts.
package.jsonView on unpkgInstall-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgShared scanner record · 2 findings · 1 line
Code excerpt · 3 lines
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/cli.jsView on unpkg · L18Shared code excerpt · 2 findings · 12 lines
Cross-file remote execution chain: dist/cli.js spawns packages/graph-web/dist/main.js; helper contains network access plus dynamic code execution.
Package ships non-JavaScript build or shell helper files.
packages/job/install.shView on unpkgScanner record · 4 lines
Package hides binary, compressed, or executable-looking payloads in test/fixture/hidden paths.
packages/job/tests/p2.test.shView on unpkgScanner record · 4 lines
Affected versions and remediation
This report applies to @minonl/dia@0.0.44.
See all versions of @minonl/dia for other recorded verdicts.
- Review the evidence and your use of @minonl/dia@0.0.44 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.