AI Security Review
scanned 16h ago · by lpm-firewall-aiNo confirmed malicious attack surface is established. Networked and filesystem-capable behavior is exposed as named runtime tools for this agent harness, not as install-time behavior.
Static reason
High-risk behavior combination matched malicious policy.
Trigger
User runs the Freddie CLI or enables and invokes a registered agent tool.
Impact
Configured integrations can perform their documented actions, but no unconsented malicious chain is present.
Mechanism
User-configured agent tools, local credential storage, and fixed-list platform adapters.
Rationale
Scanner findings map to documented, runtime-invoked agent functionality. Direct inspection finds no lifecycle execution or concrete exfiltration, persistence, or foreign control-surface mutation.
Evidence
package.jsonbin/freddie.jssrc/auth.jssrc/host/index.jsplugins/homeassistant_tool/handler.jsplugins/send_message/handler.jsplugins/skills_sync/handler.jsplugins/gm-skill/plugin.js~/.freddie/auth/*.json~/.freddie/skills/
Network endpoints2
homeassistant.local:8123raw.githubusercontent.com/AnEntrypoint/freddie-skills/main/index.json
Decision evidence
public snapshotAI called this Clean at 93.0% confidence as Benign with medium false-positive risk.
Evidence for block
- `plugins/skills_sync/handler.js` can clone or pull a caller-supplied Git repository into `~/.freddie/skills`.
- `plugins/homeassistant_tool/handler.js` sends the configured `HASS_TOKEN` only to the configured Home Assistant URL.
- `src/host/index.js` discovers plugins from user-controlled Freddie and working-directory plugin folders at runtime.
Evidence against
- `package.json` has no `preinstall`, `install`, `postinstall`, `prepare`, or other lifecycle hook.
- `bin/freddie.js` only boots the CLI host and parses explicit command-line input.
- `plugins/send_message/handler.js` dynamically imports only from a fixed platform-module allowlist.
- `src/auth.js` stores credentials locally under the package-owned Freddie home with mode `0600`; no blanket credential upload is present.
- `plugins/gm-skill/plugin.js` only reads optional existing `.agents`/`.claude` skill files and does not modify them.
- No source evidence shows stealth execution, foreign AI-agent config writes, payload staging, or unconsented exfiltration.
Behavioral surface
ChildProcessCryptoDynamicRequireEnvironmentVarsFilesystemNetworkShellWebSocket
HighEntropyStringsUrlStrings
WildcardDependency
Source & flagged code
3 flagged · loading sourceplugins/send_message/handler.jsView file
19if (!mod) return { error: 'unknown platform: ' + platform }
L20: const m = await import(mod)
L21: const cls = Object.values(m)[0]
Medium
Dynamic Require
Package source references dynamic require/import behavior.
plugins/send_message/handler.jsView on unpkg · L19plugins/platform-wecom_crypto/handler.jsView file
6export function decryptMsg(encryptedB64, encodingAesKey) {
L7: const aesKey = Buffer.from(encodingAesKey + '=', 'base64')
L8: const iv = aesKey.slice(0, 16)
Low
Weak Crypto
Package source references weak cryptographic algorithms.
plugins/platform-wecom_crypto/handler.jsView on unpkg · L6plugins/homeassistant_tool/handler.jsView file
3toolset: 'core',
L4: schema: { name: 'homeassistant_tool', description: 'Read state or call a service on Home Assistant.', parameters: { type: 'object', properties: { action: { type: 'string', enum: ['...
L5: requiresEnv: ['HASS_TOKEN', 'HASS_URL'],
L6: checkFn: () => Boolean(process.env.HASS_TOKEN),
L7: handler: async ({ action, entity_id, domain, service, data = {} }) => {
L8: const url = process.env.HASS_URL || 'http://homeassistant.local:8123'
L9: const auth = { authorization: `Bearer ${process.env.HASS_TOKEN}` }
L10: if (action === 'state') return await (await fetch(`${url}/api/states/${entity_id}`, { headers: auth })).json()
L11: if (action === 'service') return await (await fetch(`${url}/api/services/${domain}/${service}`, { method: 'POST', headers: { ...auth, 'content-type': 'application/json' }, body: JS...
Critical
Credential Exfiltration
Source appears to send environment or credential material to an external endpoint.
plugins/homeassistant_tool/handler.jsView on unpkg · L3Findings
1 Critical4 Medium5 Low
CriticalCredential Exfiltrationplugins/homeassistant_tool/handler.js
MediumDynamic Requireplugins/send_message/handler.js
MediumNetwork
MediumEnvironment Vars
MediumWildcard Dependency
LowScripts Present
LowWeak Cryptoplugins/platform-wecom_crypto/handler.js
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings