Skip to content

fix: fix security issue in pluginManager.service.ts - #11675

Open
anupamme wants to merge 1 commit into
Eugeny:masterfrom
anupamme:fix-repo-tabby-v-005-plugin-install-validation
Open

fix: fix security issue in pluginManager.service.ts#11675
anupamme wants to merge 1 commit into
Eugeny:masterfrom
anupamme:fix-repo-tabby-v-005-plugin-install-validation

Conversation

@anupamme

Copy link
Copy Markdown
Contributor

Summary

Fix critical severity security issue in tabby-plugin-manager/src/services/pluginManager.service.ts.

Vulnerability

Field Value
ID V-005
Severity CRITICAL
Scanner multi_agent_ai
Rule V-005
File tabby-plugin-manager/src/services/pluginManager.service.ts:75
Assessment Likely exploitable

Description: The plugin system executes npm install without any sandboxing, permission restrictions, or code review. Malicious plugins run with full Electron/Node.js privileges including filesystem access, shell execution, and network capabilities. No plugin signing, permission model, or runtime isolation exists.

Evidence

Exploitation scenario: Attacker publishes typosquatted or seemingly useful plugin to npm registry.

Scanner confirmation: multi_agent_ai rule V-005 flagged this pattern.

Production code: This file is in the production codebase, not test-only code.

Threat Model Context

This is a desktop application - exploitation requires the user to open a crafted file or interact with malicious content.

Changes

  • tabby-plugin-manager/src/services/pluginManager.service.ts

Behavior Preservation

The change is scoped to 1 file on the vulnerable path.


Automated security fix by OrbisAI Security

Automated security fix generated by OrbisAI Security
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant