Your AI agents stop repeating the same tool mistakes. No rules to write – it learns by itself.
Flagged as agent extension risk
Allowed by default with warning: install-time first-party agent extension setup was detected.
AI security review
scanned · by lpm-firewall-ai
The global postinstall automatically configures Scarwise’s own agent integrations and invokes lesson sharing. This is disclosed and no malicious credential theft or agent control hijack was identified, but install-time agent integration warrants a warning.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review
Trigger
Global npm installation; the postinstall exits early for non-global installs.
Impact
Agent configuration files may be updated and lesson data may leave the machine. This is disclosed product behavior, but the install-time setup merits a warning.
Mechanism
Runs `init`, which configures the package’s agent integrations and calls `shareTick`; queued reports are POSTed to the Scarwise relay.
The postinstall script invokes `scarwise init --postinstall`.
That init path proceeds during global npm installs and runs agent setup.
Setup connects supported agents and calls `shareTick`, which can send queued lessons to Scarwise’s relay.
The package documents automatic agent connections during installation and says cleaned, reusable lessons are shared by default.
Evidence against
The setup is limited to the package’s own agent integrations; the source does not show it changing agent permissions or installing other publishers’ extensions.
The sharing is disclosed, and the README says shared lessons are cleaned to remove paths, usernames, secrets, whole commands and call arguments.
2import{spawn as Fs}from"node:child_process";import{watchFile as Js,statSync as Ws}from"node:fs";import Ks from"node:net";import{fileURLToPath as zs}from"node:url";import Pe from"no...
2import{spawn as Fs}from"node:child_process";import{watchFile as Js,statSync as Ws}from"node:fs";import Ks from"node:net";import{fileURLToPath as zs}from"node:url";import Pe from"no...
2import{spawn as Fs}from"node:child_process";import{watchFile as Js,statSync as Ws}from"node:fs";import Ks from"node:net";import{fileURLToPath as zs}from"node:url";import Pe from"no...
1var kn=Object.defineProperty;var B=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(r){throw n=[r],r}};var We=(e,t)=>{for(var n in t)kn(e,n,{get:t[n],enumerable:!0})}...
1import{existsSync as y,readFileSync as J,writeFileSync as A,rmSync as u,readdirSync as k}from"node:fs";import{homedir b};{join i,dirname p,basename h...
2var Bo=Object.defineProperty;var x=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(s){throw n=[s],s}};var I=(e,t)=>{for(var n in t)Bo(e,n,{get:t[n],enumerable:!0})};...