AI Security Review
scanned 9d ago · by lpm-firewall-aiLPM blocks this version under the AI-agent control-surface policy. Install-time lifecycle code mutates AivibeClaw plugin registry/state outside the package. This is an AI-agent control surface change during npm install rather than an explicit runtime command.
Decision evidence
public snapshot- package.json defines preinstall and postinstall lifecycle hooks
- scripts/postinstall-bundled-plugins.mjs runs on direct postinstall invocation
- postinstall imports dist/commands/doctor/shared/plugin-registry-migration.js and calls migratePluginRegistryForInstall
- dist/plugin-registry-migration-CfNMVte7.js persists a migrated installed plugin index
- postinstall also deletes legacy plugin-runtime-deps under AIVIBECLAW_HOME/state-derived roots
- preinstall only emits a package-manager warning
- postinstall has symlink/path containment checks around dist pruning and Baileys patching
- No install-time network fetch or credential exfiltration endpoint found
- CLI/systemd/service behavior appears user-invoked runtime functionality
Source & flagged code
19 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgPackage contains a critical-looking secret pattern.
dist/dist-CdD4a7gg.jsView on unpkg · L5588Hardcoded password in dist/dist-CdD4a7gg.js
dist/dist-CdD4a7gg.jsView on unpkg · L13656Hardcoded password in dist/dist-CdD4a7gg.js
dist/dist-CdD4a7gg.jsView on unpkg · L21205Package source references dynamic require/import behavior.
scripts/postinstall-bundled-plugins.mjsView on unpkg · L818Package source references weak cryptographic algorithms.
dist/clawhub-D9h8o5bB.jsView on unpkg · L13Source writes installer persistence such as shell profile or service configuration.
dist/systemd-D1cMFGus.jsView on unpkg · L104Source contains bidi control or invisible Unicode characters associated with Trojan Source attacks.
dist/control-ui/assets/config-runtime-Chws_C6h.jsView on unpkg · L2Package ships non-JavaScript build or shell helper files.
skills/model-usage/scripts/test_model_usage.pyView on unpkgHardcoded password in dist/proxy-cli.runtime-DARm2C1E.js
dist/proxy-cli.runtime-DARm2C1E.jsView on unpkg · L856Hardcoded password in docs/gateway/tailscale.md
docs/gateway/tailscale.mdView on unpkg · L118Hardcoded password in docs/gateway/configuration-reference.md
docs/gateway/configuration-reference.mdView on unpkg · L515Hardcoded password in docs/gateway/configuration-reference.md
docs/gateway/configuration-reference.mdView on unpkg · L545Hardcoded password in docs/gateway/config-channels.md
docs/gateway/config-channels.mdView on unpkg · L756Hardcoded password in docs/channels/matrix.md
docs/channels/matrix.mdView on unpkg · L74