gitelectron@1.0.12
An elegant, completely silent auto-syncing Git client. Works as a desktop app and npm CLI tool.
AI Security Review
scanned 1mo ago · by lpm-firewall-aiThis is a real Electron Git client, but it still has dangerous dual-use behavior: a postinstall hook that launches setup, unconstrained execSync of AI-returned commands, and a global install of gitquickpush-cli on update. There is no third-party token drop or the full obfuscated self-dependency install chain, so this is a warning rather than a publish block.
Decision evidence
public snapshot- postinstall runs npx electron-builder on local installs and, on global installs, tries to launch Electron for GitHub login.
- The CLI runs every command string returned by the AI fixer through execSync with no allowlist.
- Gemini API keys are hardcoded as fallbacks in the CLI and desktop main process.
- The in-app updater runs npm i -g gitelectron@latest gitquickpush-cli@latest.
- Auto-sync is on unless locally disabled and will stage, commit, and push watched files.
- GitHub device-flow login requests repo and user scopes and stores access tokens locally.
- GitHub tokens are used against GitHub and Azure inference APIs and stored with Electron safeStorage when available; no third-party drop host appears.
- Electron is only a devDependency, so the global postinstall auto-launch usually exits after a missing-binary check.
- Source is readable Electron/React/CLI code with no obfuscation, eval, or AI-agent config writes.
- package.json does not declare a runtime self-dependency that would nest another install lifecycle.
- Auto-sync and the updater run only after the desktop app is launched and the user opens a repo or clicks update.
Source & flagged code
10 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgInstall-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgThis package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
bin/postinstall.jsFindings
Affected versions and remediation
This report applies to gitelectron@1.0.12.
See all versions of gitelectron for other recorded verdicts.
- Review the evidence and your use of gitelectron@1.0.12 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.