Back to skill

Security audit

Search Viewer

Security checks for vulnerabilities and agentic risk

Overview

This appears to be a legitimate security search tool, but it stores API keys insecurely and under-discloses credential and install risks.

Install only if you are comfortable with a reconnaissance tool that sends your searches and API credentials to third-party search services, stores API keys in a local plaintext config.ini file, and relies on unpinned external code/dependencies. Use restricted API keys, avoid shared machines, do not commit config.ini or exports, and prefer a reviewed/pinned installation path.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
Findings (3)

T09 · Insecure Skill Coding Practices

Warning
Location
Search_Viewer.py:87
Finding

API credentials are stored in a plaintext configuration file

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
Search_Viewer.py:312
Finding

FOFA and Hunter API credentials are transmitted in URL query strings

Content
View full analysis
Remediation
View remediation

T08 · Insecure Dependencies

Note
Location
SKILL.md:29
Finding

Third-party dependencies are unpinned and incompletely documented

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (14)

Missing User Warnings

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

The Hunter API key is embedded directly in the request URL query string. Secrets placed in URLs are more likely to be exposed through logs, browser/proxy history, debugging output, server access logs, and intermediary monitoring systems, increasing the chance of credential theft.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The README promotes API-key-based querying across multiple third-party platforms, plus history retention and export features, but does not disclose that user queries, API credentials, and discovered asset data may be transmitted to external services and stored locally. In a security-research tool, that omission can mislead users into exposing sensitive investigation targets, credentials, or collected intelligence without understanding the privacy and operational-security implications.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The file presents the skill instructions and usage guidance entirely in Chinese, including headings, operational notes, and examples, which effectively forces a specific language for users. The policy allows locale constraints only when users are given a choice or when the restriction is clearly justified, neither of which is stated here.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The application persists multiple API secrets to a local 'config.ini' file in plaintext without warning the user or applying any protection. On a shared system or compromised workstation, another local user or malware could read these credentials and abuse third-party search-service accounts.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The skill sends user-provided search terms and API credentials or auth headers to multiple external services such as FOFA, Hunter, Quake, ZoomEye, and Censys. While status logs say a search is running, they do not warn that user input and credentials are being transmitted to third-party services.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
80% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · Search_Viewer.py (reported line 775)May include surrounding context.

python
"end_time": "2090-12-02 00:00:00"
        }
        try:
            response = requests.post(url="https://quake.360.net/api/v3/search/quake_service", headers=headers, json=data)
            resp = response.json()
            print(json.dumps(resp).encode('utf-8'))
            print(search)

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · Search_Viewer.py (reported line 888)May include surrounding context.

python
headers = {'API-KEY': self.zoomeye_api}
        page = self.zoomeye_page.text()
        try:
            shengyu = requests.get('https://api.zoomeye.org/resources-info', headers=headers).json()['quota_info']['remain_total_quota']
        except:
            self.shuchu_4.append('请先配置zoomeye api' + '\n' + '-' * 29)
        print(shengyu)

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · Search_Viewer.py (reported line 893)May include surrounding context.

python
headers = {'API-KEY': self.zoomeye_api}
        page = self.zoomeye_page.text()
        try:
            shengyu = requests.get('https://api.zoomeye.org/resources-info', headers=headers).json()['quota_info']['remain_total_quota']
        except:
            self.shuchu_4.append('请先配置zoomeye api' + '\n' + '-' * 29)
        print(shengyu)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
86% confidence
Finding

This UI exposes input fields for Shodan, Hunter, FOFA, Quake, ZoomEye, and Censys credentials and provides save/modify actions, but the visible text around these controls only discusses overwrite behavior and not the sensitivity of the secrets. For code files, accessing or storing credentials should include some disclosure via comments, logs, prompts, or linked documentation; here there is no warning to users about protecting, storing, or transmitting these API keys.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
84% confidence
Finding

This markdown file contains substantial natural-language content in Chinese for feature descriptions and acknowledgements, but there is no indication that the skill is intentionally region-specific or that users may choose their preferred language. Under the stated policy, forcing a specific language without user opt-in can be a natural-language policy violation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
80% confidence
Finding

The natural-language documentation, headings, and usage instructions are presented in Chinese throughout the README. If organizational policy requires avoiding forced language constraints without user opt-in, this is a locale/language restriction that is not accompanied by an alternative language option or an explicit justification.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Low
Category
Not specified by scanner
Confidence
96% confidence
Finding

The function censys_xiugai_all updates Censys credentials in config.ini, but the confirmation dialog asks whether to modify FOFA configuration. This is an active contradiction in UI text/documentation that can mislead users about which service credentials are being changed.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
94% confidence
Finding

Natural-language content throughout the interface, help text, and README strings is predominantly fixed in Chinese, which effectively forces a specific language for users. The policy allows locale constraints only when users are offered a choice or when the constraint is clearly justified; neither is present in this file.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

The manifest description is written only in Chinese and does not indicate that language selection is optional or that the skill is intended exclusively for a Chinese-speaking audience. Under the policy, forcing a specific language without user opt-in can be a natural-language policy violation.

Content

No source excerpt is available for this finding.

Static analysis

Detected: suspicious.dynamic_code_execution, suspicious.obfuscated_code

Dynamic code execution detected.

Critical
Code
suspicious.dynamic_code_execution
Location
Search_Viewer.py:414

Potential obfuscated payload detected.

Warn
Code
suspicious.obfuscated_code
Location
resources_rc.py:13