Loading npm security reports…
Loading npm security reports…
fraim-hub@2.0.276: AI-agent capability abuse – flagged | LPM Firewall
Flagged as AI-agent capability risk
Allowed by default with warning: agent-facing configuration or capability changes need review before use.
AI security reviewscanned on Aug 22, 2026, 07:20 UTC · by lpm-firewall-ai No malicious npm lifecycle chain or confirmed exfiltration was found. The package nonetheless has real, user-triggered AI-agent configuration and persistence capabilities that warrant a warning.
Static reason
High-risk behavior combination matched malicious policy.; source matched previously finalized malicious package; routed for review; previous stored version diff introduced dangerous source
Trigger
User runs fraim add-ide for Claude Code or fraim-hub install.
Impact
Future Claude Code sessions send OTLP telemetry to a local receiver; installed launchers resolve the latest package on launch.
Mechanism
Explicit IDE telemetry/configuration and OS launcher setup.
Evidence
package.json dist/src/cli/commands/add-ide.js dist/src/cli/setup/claude-code-telemetry.js dist/src/ai-hub/hub-install.js dist/src/ai-hub/hub-launcher.js dist/src/ai-hub/ui-manifest-client.js ~/.claude/settings.json ~/.fraim/bin/fraim-hub-electron/ ~/Library/LaunchAgents/ai.fraim.hub.plist
Decision evidencepublic snapshot Evidence for warning
Explicit add-ide configuration writes IDE/MCP settings and enables Claude telemetry. Claude Code setup adds OTLP telemetry variables to ~/.claude/settings.json. Explicit fraim-hub install creates OS launch artifacts and a launcher resolving fraim-hub@latest. Evidence against
package.json has no preinstall, install, or postinstall hook. Telemetry target is localhost:4318; no credential harvesting or external exfiltration was found in inspected paths. Remote UI assets require a signed manifest, trusted origin, and SHA-256 verification. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Filesystem · Network
Supply chain High entropy strings · URL strings
Manifest No license
Scanned 117 files · 2.19 MB of source
29 external domains referenced
127.0.0.1 ai.google.dev antigravity.google api.dicebear.com api.github.com api.githubcopilot.com app.seekout.com claude.ai code.visualstudio.com cursor.com docs.github.com docs.gitlab.com docs.microsoft.com fraim.wellnessatwork.me fraimworks.ai github.com gitlab.com kiro.dev nodejs.org openai.com registry.npmjs.org support.atlassian.com windsurf.com www.anthropic.com www.apple.com www.indeed.com www.linkedin.com www.w3.org x.ai Findings2 critical · 7 high · 5 medium · 5 low Source & flagged code11 flagged High Child process
Package source references child process execution.
dist/src/core/utils/git-utils.js View on unpkg · L9 Code excerpt · 3 lines 9 exports.sanitizeRepoIdentifier = sanitizeRepoIdentifier;
10 const child_process_1 = require ("child_process" );
11 function extractLocalFolderLabel (rawPath) {
Medium Dynamic require
Package source references dynamic require/import behavior.
bin/fraim-hub.js View on unpkg · L3 Code excerpt · 3 lines 3 try {
4 const { createFraimHubProgram } = require ('../dist/src/cli/fraim-hub.js' );
5 createFraimHubProgram ().parseAsync (process.argv).catch ((error) => {
Medium Install persistence
Source writes installer persistence such as shell profile or service configuration.
dist/src/ai-hub/word-sideload.js View on unpkg · L21 Code excerpt · 12 lines 21 const os_1 = __importDefault (require ("os" ));
22 const child_process_1 = require ("child_process" );
23 const MANIFEST_GUID = 'd1090951-50cf-4cf2-9d12-b0f8541d265c' ;
⋯
26 path_1.default .resolve (projectPath, 'extensions/office-word/manifest.xml' ),
27 path_1.default .resolve (__dirname, '..' , '..' , 'extensions/office-word/manifest.xml' ),
High Same file environment network execution
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/src/ai-hub/managed-browser.js View on unpkg · L27 Code excerpt · 7 lines 27 */
28 const child_process_1 = require ("child_process" );
29 const http_1 = __importDefault (require ("http" ));
30 const os_1 = __importDefault (require ("os" ));
⋯
36 */
37 function browserExecutableCandidates (platform = process.platform, env = process.env) {
38 if (platform === ) {
Critical Credential exfiltration
Source appears to send environment or credential material to an external endpoint.
public/ai-hub/script.js View on unpkg · L170 Code excerpt · 12 lines 170 }
171 const response = await fetch (url, options);
172 let payload = null ;
173 try { payload = await response.json (); } catch { /* may be empty */ }
174 if (!response.ok) {
⋯
330 const projectName = friendlyProjectName (bootstrap.project.path);
331 const resolvedDocUrl = docUrl || new URLSearchParams (window.location.search).get ( ) || ;
Critical Previous version dangerous delta
This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/src/ai-hub/hub-install.js View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = fraim-hub@2.0.271
matchedIdentity = npm:ZnJhaW0taHVi:2.0.271
similarity = 0.835
summary = stored previous version shares package body but lacks this dangerous source file
High Trigger reachable persistence
A manifest entrypoint or package-local install chain reaches persistence behavior.
dist/src/ai-hub/hub-install.js View on unpkg · L17 Code excerpt · 9 lines Trigger-reachable persistence chain: manifest.bin -> bin/fraim-hub.js -> dist/src/cli/fraim-hub.js -> dist/src/ai-hub/hub-install.js
17 // latest GitHub Release and pointed the shortcut at it. That never worked. The lookup is
18
High Runtime package install
Package source invokes a package manager install command at runtime.
dist/src/ai-hub/server.js View on unpkg · L5553 Code excerpt · 3 lines 5553 try {
5554 const syncChild = (0 , child_process_1.spawn)('npx' , ['fraim' , 'sync' ], { cwd: projectPath, detached: true , stdio: 'ignore' });
5555 syncChild.on ('error' , () => { });
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
index.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = fraim@2.0.183
matchedPath = index.js
matchedIdentity = npm:ZnJhaW0:2.0.183
similarity = 1.000
summary = normalized source hash matched finalized malicious source
dist/src/cli/setup/claude-code-telemetry.js View file High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/src/cli/setup/claude-code-telemetry.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = fraim@2.0.183
matchedPath = dist/src/cli/setup/claude-code-telemetry.js
matchedIdentity = npm:ZnJhaW0:2.0.183
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Runtime package install Code↓
Package metadata 8 findings
Medium Network
Medium Environment variables
Medium Structural risk force deep review
28 path_1.default .resolve (__dirname, '..' , '..' , '..' , 'extensions/office-word/manifest.xml' ),
32 function isSideloaded () {
33 if (process.platform === 'win32' ) {
34 const result = (0 , child_process_1.spawnSync)('reg' , [
38 ], { encoding: 'utf8' });
39 return result.status === 0 && result.stdout.includes (MANIFEST_GUID);
'win32'
High Known malware source similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/src/ai-hub/managed-browser.js View on unpkg Scanner record · 6 lines matchType = normalized_sha256
matchedPackage = fraim@2.0.183
matchedPath = dist/src/ai-hub/managed-browser.js
matchedIdentity = npm:ZnJhaW0:2.0.183
similarity = 1.000
summary = normalized source hash matched finalized malicious source
'docUrl'
''
506 target.searchParams.set ('redirect_to' , redirectTo);
507 window.location.href = target.toString ();
1097 if (!conv || baseHostIdForAgent (conversationAgentName (conv)) !== 'gemini' || !Array.isArray (conv.messages)) return false ;
// unauthenticated and `mathursrus/FRAIM` is private (GitHub answers 404, not 403), and no release
19 // has ever been published, so every run ended in `GitHub release lookup failed with HTTP 404`.
29 const os_1 = __importDefault (require ("os" ));
30 const child_process_1 = require ("child_process" );
31 const project_fraim_paths_1 = require ("../core/utils/project-fraim-paths" );
43 function getOsShortcutPaths (home) {
44 if (process.platform === 'win32' ) {
45 const appData = process.env.APPDATA || path_1.default .join (home, 'AppData' , 'Roaming' )