github.com / mksglu
mksglu/ context-mode
TypeScript·599 files·commit a502d80·scanned 4d ago·cached ✓
15/100
LOW RISK
Minor findings consistent with the project type. Nothing reachable from install hooks.
score capped at 15 — 32,136+ stars — findings likely false positives
verdict accurate?
32,136 stars
Crypto/Web3 project
Partial architecture graph
CLI tool detected
threat-state: lowlive
FINDINGS ░▒▓
criticalchild_process / exec usageExecuting shell commands can be used to download and run malware, exfiltrate data, or modify system files.hooks/core/codex-caps.mjs
return process.platform === "win32"
? execFileSync("cmd.exe", ["/d", "/s", "/c", "codex --version"], opts)
: execFileSync("codex", ["--version"], opts);
}+8warningSSH/credential path accessAccessing .ssh, .aws/credentials, or .env files to steal authentication credentials.tests/security.test.ts
test("evaluateFilePath: traversal does not bypass absolute deny glob when projectRoot is supplied", () => {
// An absolute deny rule for ~/.ssh/** should still match when the caller
// passe...+5infoMinified code in source directoryMinified/obfuscated code in source directories (not dist/) makes code review impossible.tests/fixtures/github-issues.json+3
warningFlattened or dead control flowDetected switch(true), dead if branches, or deeply nested ternaries — patterns used by obfuscators to hide execution order.hooks/core/routing.mjs+3
Scores are heuristics. A “safe” verdict means no known-malicious patterns were found — clever malware can look boring. Wrong verdict? Flag it above; confirmed false positives become regression tests.
470 files scanned @ a502d80 | 10/25/2026 | heuristic scan — always review manually
risk by category
code execution10
network & exfiltration0
file system access5
obfuscation6
supply chain2
owasp / injection0
telemetry
files 470/599rules hit 6engine v7commit a502d80
github
mksglu/context-mode
Context window optimization for AI coding agents. Sandboxes tool output (98% reduction), persists session memory, and enforces routing across 17 platforms via MCP + hooks.
32136
2220
249d
599 files
470 scanned(78%)
a502d80
architecture░▒▓
entry (0) flagged (3) pkg (42)
442 nodes · 980 edgesscroll to zoom · click node to jump to finding