[KongchangAI]
· 3 min read· 1,526 words

DeepSeek Harness Pentest Mode: AI Bug Hunting from Deployment to SRC in Practice

DeepSeek Harness Pentest Mode: AI Bug Hunting from Deployment to SRC in Practice

Breaking down the DeepSeek Harness pentest workflow and the full chain of AI Agent bug hunting on authorized ranges.

Based on a Bilibili creator's DeepSeek Harness (DSH) workflow, this article explains how to turn an AI Agent into a penetration testing execution hand. It compares general-purpose Agents' guardrail limits in security scenarios and why DSH was chosen, covers desktop installation and installing pentest mode from a GitHub repo with a required restart, then demonstrates on an online trading teaching range (internal 192.168.10.140) how a narrowed instruction leads DSH to spawn two sub-Agents for parallel reconnaissance and an aggregated report. Because the authorization scope was deliberately narrowed, the report showed no vulnerabilities, confirming the boundary constraints worked. It closes by stressing that authorization is a hard prerequisite, AI is only the execution hand, and tool popularity does not equal capability, plus two monetization paths: SRC and corporate security roles.

AI-assisted vulnerability discovery is moving from concept to hands-on practice. This workflow shared by a Bilibili creator turns AI Agents into the "execution hands" of penetration testing, letting even beginners run the full chain from target reconnaissance to vulnerability submission within authorized scope. Based on that video, this article breaks down the feasible path of AI bug hunting and its key boundaries.

AI Agent Selection: Why DeepSeek Harness

There is no shortage of general-purpose AI Agents on the market—Claude Code, Codex, OpenClawAd, Hermes Agent, Mills, plus domestic options like WorkBuddy and Tongyi Qianwen Office—all capable of handling everyday tasks. But cybersecurity scenarios are special: the built-in safety guardrails of large models refuse to generate offensive testing content, so using a general-purpose Agent directly for penetration testing often doesn't work.

The creator's core reason for choosing DSH is "fewer cybersecurity restrictions," which combined with prompt engineering allows smoother entry into pentest mode. It must be emphasized that the prerequisite for this kind of "armor-breaking" operation is to act only within authorized scope—a bottom line the video stresses repeatedly. Testing without authorization is illegal, regardless of the tool.

Safety Guardrails are policy-level restrictions that LLM vendors set at both the model layer and product layer, typically including refusal rules, content filtering, and tool-call whitelists. In "offensive" scenarios like penetration testing, a general-purpose Agent may refuse to execute or demand extra confirmation once it detects intent such as port scanning or exploit use. Guardrail strength varies widely across vendors, which explains why the same prompt produces very different results on different Agents—some tools allow system prompts to override default behavior (commonly called "armor-breaking"), but such operations must be built on legitimate authorization.

Deploying DSH: Desktop Installation and Configuration

First, we click the desktop version of Harness

DSH offers Windows 64-bit and macOS versions; after downloading, double-click to install and choose the install location. First-time users receive a 6.00 yuan credit balance, with top-ups available when it runs out. Login uses a phone number verification code, the same flow as typical desktop apps.

After entering the main interface, you can adjust permissions in general settings (such as "full permissions" or "view-only modifications within the workspace"), along with language, appearance, and font size. The default model is DeepSeekAd V4.1 Flash, and you can add or edit models yourself. Agent presets offer four modes—Standard, PTC, Minimal, and Creative. Standard mode suffices for everyday tasks, but penetration testing requires installing a dedicated mode.

Now for the general settings

Installing Pentest Mode

Pentest mode comes from an open-source repository on GitHub. The repository is currently read-only, but the reference project remains usable. There are three installation methods: local npm install, install from a release URL, or download and install from a local file. The creator demonstrates the release URL approach—simply handing the link to DSH and letting it execute the installation automatically.

DSH must be restarted after installation. Once restarted, the "Pentest Mode" option appears in Agent presets on the settings page; select it to enter the working state. Note that if you choose the web version installation command, the desktop version cannot share it—the desktop version requires the corresponding command.

Live Demo: Vulnerability Discovery on a Teaching Range

What kinds of vulnerabilities might exist

The creator uses an online trading teaching range (internal address 192.168.10.140) for the demo. After creating a new session, the instruction entered is: "Help me check this server and stop after finding the first vulnerability." This instruction is deliberately narrowed—it does not demand exhaustive enumeration of all vulnerabilities, nor does it grant deep-testing permissions such as creating users.

The reason lies in security boundaries: if the AI is allowed to dig without constraints, extra users may appear in the system or user permissions may be unexpectedly changed, causing real impact. The creator recommends always constraining boundaries during SRC hunting and performing only necessary verification.

After sending the instruction, DSH automatically enters pentest mode, first recording the target and authorization, then creating two sub-Agents working in parallel: one handles host port scanning and service fingerprinting, the other handles external asset enumeration and weak-point verification. This "Deep Agent"-style multithreaded delegation mechanism is what sets DSH apart from ordinary conversational AI—it can decompose tasks, assign execution, and aggregate results.

After both sub-Agents wrapped up, DSH output the final report. Because the authorization scope was very small this time, the report showed vulnerability discovery as "none." The creator explains that this precisely proves the boundary constraints took effect; with sufficient authorization later, the results would differ.

Including the vulnerability-related views

Visualized Chain and Reports

A major advantage of pentest mode is visualization: the exploration chain, vulnerability view, and asset view are presented graphically, with hosts, objectives, intent, facts, vulnerabilities, and assets listed item by item, and a test report can ultimately be exported. For manual pentesters, this amounts to automatically organizing scattered reconnaissance notes into submittable material.

Teaching ranges are isolated practice environments built specifically for security learning. Common forms include virtual machines with pre-installed vulnerabilities (such as DVWA or VulnHub images), online platforms (such as HackTheBox or TryHackMe), or simulated business systems built on internal networks. The core value of a range is that all attack behavior occurs within an authorized and controllable scope, never touching real production data or third-party systems. The 192.168.10.140 demonstrated in this article is a private internal address (an RFC 1918 reserved block), naturally isolated from the public internet—one of the preconditions that allows teaching demos to be conducted freely.

Sub-Agent delegation is the core design of the Deep Agent architecture: after the main Agent receives a complex task, it first decomposes it, then dispatches subtasks to multiple sub-Agents with independent contexts for parallel execution, and finally aggregates each sub-Agent's observations into a unified conclusion. Compared with single-threaded conversational Agents, this mode significantly shortens the reconnaissance phase and lets each sub-Agent focus on a single responsibility (such as only port scanning or only asset enumeration). The trade-off is that the main Agent needs strong task orchestration and result-deduplication capabilities, otherwise duplicate scans or conflicting conclusions become likely.

The Boundaries of AI Bug Hunting and a Rational Perspective

The video offers two monetization paths: SRC platforms (such as Vulbox) and corporate security roles at major companies. Bounties range from tens to hundreds of yuan for low-severity issues up to four figures for high-severity ones. But a few points deserve clear-eyed recognition:

Authorization is a hard prerequisite. No matter how capable the AI, targets without written authorization are off-limits. Even the range demo in the video constrains permissions, and real SRC scenarios require even stricter adherence to platform rules.

AI is the execution hand, not a replacement. DSH's pentest mode lowers the operational barrier, but target selection, authorization confirmation, result verification, and report writing still require human oversight. Sub-Agent scan results must be judged by a person as to whether they are real vulnerabilities rather than false positives.

Tool popularity does not equal capability. The video's saying that "running it once is familiarity, running it ten times is habit" has some truth, but what truly determines output is depth of understanding of the target system, not the number of times a tool is used. The repository's read-only status also reminds us that this tool ecosystem is still changing rapidly.

For developers wanting to get started in security testing, DSH offers a low-barrier practice path—running the full workflow on authorized ranges and understanding how AI Agents collaborate is more valuable than simply collecting tutorials.

SRC (Security Response Center) is the official channel through which enterprises receive vulnerability reports from external security researchers. Representative platforms include Vulbox, Butian, and self-built SRCs at major vendors. Submitting vulnerabilities requires following platform rules: targets must fall within authorized testing scope, reports must include reproducible verification steps, and no substantive impact on business operations is permitted. Bounty tiers are typically based on CVSS scores or platform-defined levels—low-severity issues may earn only points or tens of yuan, while high-severity ones (such as remote code execution or unauthorized access to core data) can reach thousands. The advantage of starting through SRC is transparent rules and timely feedback, but never overstep testing boundaries in pursuit of bounties.

One-line Summary

Breaking down the DeepSeek Harness pentest workflow and demonstrating the full chain and security boundaries of AI Agent bug hunting on authorized ranges.

Paragraph Summary

Based on a Bilibili creator's DeepSeek Harness (DSH) workflow, this article explains how to turn an AI Agent into the execution hand of penetration testing. It first compares general-purpose Agents' guardrail limitations in security scenarios and explains why DSH was chosen; then covers desktop installation and installing pentest mode from a GitHub repository with the required restart; finally, using an online trading teaching range (internal 192.168.10.140), it demonstrates how DSH creates two sub-Agents for parallel reconnaissance and aggregates a report after a narrowed instruction. Because the authorization scope was deliberately narrowed, the report showed no vulnerabilities—precisely confirming that boundary constraints took effect. The article closes by stressing that authorization is a hard prerequisite, AI is only the execution hand, and tool popularity does not equal capability, while outlining two monetization paths: SRC and corporate security roles.

#DeepSeek Harness#AI penetration testing#AI bug hunting#SRC vulnerability discovery#AI Agent security#pentest mode deployment#sub-Agent delegation#authorized testing
Share:

Related articles