live · scanning repos
Scanrepo
github.com
github.com / PentesterFlow

PentesterFlow/agent

TypeScript·280 files·commit 0759d87·scanned 4m ago·cached ✓
25/100
LOW RISK
Minor findings consistent with the project type. Nothing reachable from install hooks.

score capped at 25 — 1,376 stars — findings likely legitimate code patterns

verdict accurate?
Research / educational context
CLI tool detected
threat-state: lowlive

FINDINGS ░▒▓

infoSuspicious files are not reachable from entry pointsFlagged files exist but are not imported by any entry point. They may be dead code, tests, or attack payloads triggered by another mechanism.+2
warningSSH/credential path accessAccessing .ssh, .aws/credentials, or .env files to steal authentication credentials.src/agent/mentions.ts
    // lexical `resolved` only normalizes `..`; a cwd symlink (e.g.
    // notes -> ~/.ssh/id_rsa) would otherwise slip past isSensitivePath and get
    // inlined into the prompt with no gate (H5). M...
+5
warningSSH/credential path accessAccessing .ssh, .aws/credentials, or .env files to steal authentication credentials.src/tools/file.sensitive.test.ts
// defense (#5) and write/edit gating (#2). homedir() is mocked to a temp
// dir so these tests never touch the real ~/.ssh.

import { mkdirSync, mkdtempSync, realpathSync, rmSync, symlinkSync, writeF...
+5
warningSSH/credential path accessAccessing .ssh, .aws/credentials, or .env files to steal authentication credentials.src/tools/file.ts
 * Resolve a path to its real on-disk location so a symlink (e.g.
 * ./notes -> ~/.ssh/id_rsa) can't smuggle a credential file past the
 * sensitive-path gate. `resolve()` only normalizes `..`; it doe...
+5
criticalBrowser credential store accessAccessing Chrome, Firefox, Edge, or Brave profile directories to steal cookies, passwords, and session tokens.src/tools/sensitive.ts
  // session hijacking against every site the operator is logged into.
  'Library/Application Support/Google/Chrome',
  'Library/Application Support/BraveSoftware/Brave-Browser',
  'Library/Applicatio...
+10
warningFlattened or dead control flowDetected switch(true), dead if branches, or deeply nested ternaries — patterns used by obfuscators to hide execution order.src/browser/server.ts+3
warningHigh-entropy string literalsFound 11 long strings with high Shannon entropy. This is common in obfuscated payloads that hide URLs, keys, or bytecode.src/cli/index.ts+3
warningFlattened or dead control flowDetected switch(true), dead if branches, or deeply nested ternaries — patterns used by obfuscators to hide execution order.src/cli/index.ts+3
warningHigh-entropy string literalsFound 3 long strings with high Shannon entropy. This is common in obfuscated payloads that hide URLs, keys, or bytecode.src/agent/agent.test.ts+3
warningFlattened or dead control flowDetected switch(true), dead if branches, or deeply nested ternaries — patterns used by obfuscators to hide execution order.src/agent/agent.test.ts+3
warningHigh-entropy string literalsFound 4 long strings with high Shannon entropy. This is common in obfuscated payloads that hide URLs, keys, or bytecode.src/agent/agent.ts+3
infoSuspicious file in repoExecutable file (install.ps1) in repositoryinstall.ps1+2

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.

248 files scanned @ 0759d87 | 9/25/2026 | heuristic scan — always review manually

risk by category
code execution2
network & exfiltration0
file system access20
obfuscation15
supply chain2
owasp / injection0
telemetry
files 248/280rules hit 12engine v6commit 0759d87

github

PentesterFlow/agent

Agentic offensive-security in your terminal

TypeScript
1376
248
117d
280 files
248 scanned(89%)
0759d87

architecture░▒▓

entry (0) flagged (51) pkg (23)
264 nodes · 779 edgesscroll to zoom · click node to jump to finding