AI Security Review
scanned 4h ago · by lpm-firewall-aiLPM treats this as warn-only first-party agent extension lifecycle risk. The explicit multi-agent CLI can execute package publishing and project test installation. Its plugin command dynamically imports user-local agent files, but no install-time or covert package-triggered execution is present.
Decision evidence
public snapshot- `dist/agents/agents/package-agent.js` runs `npm publish` and edits the current project's `package.json` when a `package` task is executed.
- `dist/agents/orchestrator.js` accepts planner-produced agent types without an allowlist and maps `package` to `PackageAgent`.
- `dist/plugins/agent-plugin.js` imports every `.js` file in `~/.buff/agents/` when the explicit plugins command is used.
- `dist/agents/agents/tester.js` copies a project and runs `npm install` plus its test script in a temporary sandbox.
- `package.json` has no `preinstall`, `install`, or `postinstall` hook; importing `dist/index.js` only starts the CLI parser.
- Publishing, testing, and plugin discovery require explicit CLI/agent-task execution; no automatic invocation was found.
- Network adapters send inference requests only to configured model providers or local Ollama; no covert collector endpoint was found.
- `README.md` API-key strings are documented placeholders, not embedded live credentials.
Source & flagged code
10 flagged · loading sourcePackage source references child process execution.
dist/agents/agents/git-agent.jsView on unpkg · L17Package source references dynamic require/import behavior.
dist/plugins/agent-plugin.jsView on unpkg · L47Package source references weak cryptographic algorithms.
dist/memory/embedder.jsView on unpkg · L111Source mutates package metadata and republishes itself to npm.
dist/agents/agents/package-agent.jsView on unpkg · L16A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
dist/agents/agents/package-agent.jsView on unpkg · L16Package source invokes a package manager install command at runtime.
dist/agents/agents/tester.jsView on unpkg · L198This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/inference/local-adapter.jsView on unpkg