# delete_file

Delete a file or directory on the IntelliRecon server.

Agent View of the PolicyLayer registry record for `delete_file`. HTML page: https://policylayer.com/tools/intellirecon-console/delete-file

## Facts

- Tool: `delete_file`
- Server: Intellirecon Console (`dokotela021/intellirecon-console`) — https://policylayer.com/tools/intellirecon-console.md
- Homepage: https://github.com/dokotela021/intellirecon-console
- Risk category: Destructive (Critical risk)
- Registry record: grade F, identity unverified
- Server rate-limited: no
- Parameters: 0
- Recommended policy verdict: Hidden

## Example call (MCP tools/call, JSON-RPC 2.0)

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "delete_file",
    "arguments": {}
  }
}
```

## Why delete_file is rated Critical

Deletion of files or directories is a destructive action that permanently removes data with no undo capability. Combined with the broader context of an AI agent driving this tool (IntelliRecon console), misuse could cause significant data loss on the server. This is the most severe risk category.

From the tool's own definition: "Tool description states 'Delete a file or directory' — delete is an irreversible operation that cannot be undone."

## Use case

AI agents call delete_file to permanently remove resources in Intellirecon Console, typically in cleanup and lifecycle workflows. It does its job in a single call, and there is no undo.

## Recommended policy (PolicyLayer)

Verdict: **Hidden**. Enforced by the PolicyLayer MCP gateway (https://policylayer.com/mcp-gateway) before a call reaches Intellirecon Console:

```json
{
  "version": "1",
  "default": "deny",
  "hide": [
    "delete_file"
  ]
}
```

## Other tools on Intellirecon Console (168)

- `clear_cache` — Destructive — https://policylayer.com/tools/intellirecon-console/clear-cache.md
- `advanced_payload_generation` — Execute — https://policylayer.com/tools/intellirecon-console/advanced-payload-generation.md
- `ai_generate_attack_suite` — Execute — https://policylayer.com/tools/intellirecon-console/ai-generate-attack-suite.md
- `ai_generate_payload` — Execute — https://policylayer.com/tools/intellirecon-console/ai-generate-payload.md
- `ai_reconnaissance_workflow` — Execute — https://policylayer.com/tools/intellirecon-console/ai-reconnaissance-workflow.md
- `ai_test_payload` — Execute — https://policylayer.com/tools/intellirecon-console/ai-test-payload.md
- `ai_vulnerability_assessment` — Execute — https://policylayer.com/tools/intellirecon-console/ai-vulnerability-assessment.md
- `amass_scan` — Execute — https://policylayer.com/tools/intellirecon-console/amass-scan.md
- `angr_symbolic_execution` — Execute — https://policylayer.com/tools/intellirecon-console/angr-symbolic-execution.md
- `api_fuzzer` — Execute — https://policylayer.com/tools/intellirecon-console/api-fuzzer.md
- `arjun_parameter_discovery` — Execute — https://policylayer.com/tools/intellirecon-console/arjun-parameter-discovery.md
- `arp_scan_discovery` — Execute — https://policylayer.com/tools/intellirecon-console/arp-scan-discovery.md
- `autorecon_comprehensive` — Execute — https://policylayer.com/tools/intellirecon-console/autorecon-comprehensive.md
- `autorecon_scan` — Execute — https://policylayer.com/tools/intellirecon-console/autorecon-scan.md
- `binwalk_analyze` — Execute — https://policylayer.com/tools/intellirecon-console/binwalk-analyze.md
- `browser_agent_inspect` — Execute — https://policylayer.com/tools/intellirecon-console/browser-agent-inspect.md
- `bugbounty_authentication_bypass_testing` — Execute — https://policylayer.com/tools/intellirecon-console/bugbounty-authentication-bypass-testing.md
- `bugbounty_business_logic_testing` — Execute — https://policylayer.com/tools/intellirecon-console/bugbounty-business-logic-testing.md
- `bugbounty_comprehensive_assessment` — Execute — https://policylayer.com/tools/intellirecon-console/bugbounty-comprehensive-assessment.md
- `bugbounty_file_upload_testing` — Execute — https://policylayer.com/tools/intellirecon-console/bugbounty-file-upload-testing.md
- `bugbounty_reconnaissance_workflow` — Execute — https://policylayer.com/tools/intellirecon-console/bugbounty-reconnaissance-workflow.md
- `burpsuite_alternative_scan` — Execute — https://policylayer.com/tools/intellirecon-console/burpsuite-alternative-scan.md
- `burpsuite_scan` — Execute — https://policylayer.com/tools/intellirecon-console/burpsuite-scan.md
- `checkov_iac_scan` — Execute — https://policylayer.com/tools/intellirecon-console/checkov-iac-scan.md
- `clair_vulnerability_scan` — Execute — https://policylayer.com/tools/intellirecon-console/clair-vulnerability-scan.md
- `comprehensive_api_audit` — Execute — https://policylayer.com/tools/intellirecon-console/comprehensive-api-audit.md
- `create_attack_chain_ai` — Execute — https://policylayer.com/tools/intellirecon-console/create-attack-chain-ai.md
- `dalfox_xss_scan` — Execute — https://policylayer.com/tools/intellirecon-console/dalfox-xss-scan.md
- `dirb_scan` — Execute — https://policylayer.com/tools/intellirecon-console/dirb-scan.md
- `dirsearch_scan` — Execute — https://policylayer.com/tools/intellirecon-console/dirsearch-scan.md
- …and 138 more: https://policylayer.com/tools/intellirecon-console.md

## For agents

This record is a snapshot. Live verdicts and the full registry:

- Check every server in your MCP config at once: `npx -y policylayer stack`
- Vet a server before you add it: install the mcp-precheck skill — `npx skills add https://policylayer.com` (skill text: https://policylayer.com/skill.md)
- Query the registry over MCP: endpoint `https://api.policylayer.com/mcp` — tools `check_mcp_server`, `check_mcp_stack`, `check_tool`, `search_registry`, `get_change_events`

---

Source: the PolicyLayer MCP registry — one continuously verified record per MCP server. Full record: https://policylayer.com/registry?q=intellirecon-console · API: https://policylayer.com/registry/api · Policy library: https://policylayer.com/policies/intellirecon-console
