This repository was archived by the owner on Jul 31, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathNOTICE
More file actions
75 lines (64 loc) · 3.25 KB
/
Copy pathNOTICE
File metadata and controls
75 lines (64 loc) · 3.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
Cancer CLI
Copyright 2026 n4igme
This project is a derivative work of Google Gemini CLI.
Copyright 2024 Google LLC
Licensed under the Apache License, Version 2.0 (the "License").
Original source: https://github.com/google-gemini/gemini-cli
Fork point commit: c392b0a (squashed history)
========================================================================
Modifications by n4igme:
Major Changes:
- Replaced Google OAuth authentication with local/open-first providers
(Ollama, OpenRouter, OpenCode, OpenAI-compatible APIs)
- Added 40+ module security scanner for penetration testing
- Added C2 operations toolkit for security engagements
New packages (entirely new code, Copyright 2026 n4igme):
- packages/kali-tools/ — Native security scanner (40+ modules), privesc engine,
bug bounty pipeline, Kali Linux tool integration, MCP scanner server
- .gemini/ — System prompt, skills, configuration
- scripts/cancer-*.py/.js — C2 tools, privesc, reverse shells, listeners
Modified files (Google Gemini CLI source with modifications by n4igme):
See individual file headers for `Modifications Copyright 2026 n4igme` notices.
Authentication system overhaul (packages/core/src/ and packages/cli/src/):
- core/contentGenerator.ts — New AuthType enum, provider helpers
- code_assist/oauth2.ts — Disabled Google OAuth
- code_assist/codeAssist.ts — Updated for new auth types
- config/config.ts — New auth configuration
- telemetry/metrics.ts, telemetry/types.ts — Updated provider tracking
Modified packages/core/src/:
- agents/: auto-recon, bug-bounty, cli-help-agent, define-subagent-tool,
generalist-agent, local-executor, local-invocation, local-session-invocation,
local-subagent-protocol, network-scanner, security-analyst,
security-orchestrator, remote-invocation, remote-session-invocation,
remote-subagent-protocol, web-security, browser/browserAgentFactory.ts
- core/: client.ts, contentGenerator.ts, geminiChat.ts, prompts.ts
- hooks/hookEventHandler.ts
- prompts/: promptProvider.ts, snippets.ts, snippets.legacy.ts, utils.ts
- safety/: conseca/*, context-builder.ts, registry.ts
- scheduler/: policy.ts, scheduler.ts
- services/: chatRecordingService.ts, loopDetectionService.ts, memoryService.ts
- tools/: kali-autodetect.ts, list-mcp-resources.ts, read-mcp-resource.ts,
searxng-search.ts, shell.ts, shellBackgroundTools.ts, tavily-search.ts,
web-fetch.ts, web-search.ts
- knowledge-graph/extractor.ts
- utils/errorParsing.ts
Modified packages/cli/src/:
- config/auth.ts, config/settings.ts — New provider validation
- ui/auth/AuthDialog.tsx, ApiAuthDialog.tsx, useAuth.ts — New auth UI
- ui/components/ModelDialog.tsx — Dynamic model fetching from providers
- ui/commands/upgradeCommand.ts, authCommand.ts
- ui/hooks/useQuotaAndFallback.ts
- acp/acpRpcDispatcher.ts, acpSessionManager.ts, acpUtils.ts
- utils/sandbox.ts — Provider env var forwarding
- gemini.tsx
- generated/git-commit.ts
- ui/commands/kaliCommand.ts
- ui/components/ApprovalModeIndicator.tsx
- ui/components/ContextSummaryDisplay.tsx
- ui/components/FolderTrustDialog.tsx
Modified packages/sdk/src/:
- session.ts — Default to Ollama auth
- tool.ts
Modified packages/a2a-server/src/:
- config/config.ts — New auth type detection
========================================================================