AI Security Review
scanned 15h ago · by lpm-firewall-aiLPM treats this as warn-only first-party agent extension lifecycle risk. Install-time code mutates the package-owned ~/.natureco namespace and runs the package doctor, creating audit/config data without explicit user action. This is agent platform lifecycle risk, but no confirmed foreign agent hijack, persistence, or exfiltration was established.
Decision evidence
public snapshot- package.json runs postinstall: node scripts/postinstall.js
- scripts/postinstall.js creates ~/.natureco/{memory,soul,sessions,personal} during install
- scripts/postinstall.js executes bin/natureco.js doctor at install time
- src/commands/doctor.js writes ~/.natureco/audit via audit.logSync and may create ~/.natureco data dirs
- src/tools/phone_control_enhanced.js exposes ADB camera/SMS/contacts actions and push/SMS APIs when user-invoked
- No lifecycle write to CLAUDE.md, .mcp.json, Cursor/Codex/Claude settings, shell startup, VCS hooks, or foreign agent surfaces found
- Lifecycle network exfiltration not found; doctor only validates configured provider URL format
- Credential-looking env use in phone_control_enhanced.js is for configured Pushover/ntfy/Twilio actions, not automatic harvesting
- Runtime npm/git installs in plugin-registry.js are explicit plugin install/update paths and use --ignore-scripts for npm
- Shell and ADB capabilities are CLI/agent tools, not import-time execution
Source & flagged code
10 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgInstall-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgPackage source references child process execution.
scripts/postinstall.jsView on unpkg · L11Package source references dynamic require/import behavior.
bin/natureco.jsView on unpkg · L2Package source references weak cryptographic algorithms.
src/commands/gateway-server.jsView on unpkg · L4Source writes installer persistence such as shell profile or service configuration.
src/tools/cron_create.jsView on unpkg · L10A single source file combines environment access, network access, and code or shell execution; review context before blocking.
src/tools/voice_chat.jsView on unpkg · L15Source appears to send environment or credential material to an external endpoint.
src/tools/phone_control_enhanced.jsView on unpkg · L1Package source invokes a package manager install command at runtime.
src/utils/plugin-registry.jsView on unpkg · L124