Agentic X402
ยท v0.2.6
Make x402 payments to access gated APIs and content. Fetch paid resources, check wallet balance, and create payment links. Use when encountering 402 Payment Required responses or when the user wants to pay for web resources with crypto.
โ ๏ธ Hazard Flags
๐ Capabilities
Execution
- โ Shell execution
- โ Code execution
- โ Install dependencies
- โ Persistence
- Privilege: user
Filesystem
- โ Read workspace
- โ Write workspace
- โ Read home
- โ Write home
- โ Read system
- โ Delete
Network
- Egress: any
- โ Ingress
Credentials
- โ Environment vars
- โ Credential files
- โ Browser data
- โ Keychain
Actions
๐ Containment
Level: maximum
- SANDBOX_CONTAINER: Code execution capability
- LOG_ACTIONS: Audit trail for all actions
โก Risks
Mitigation: Decode and review obfuscated content before use.
Mitigation: Review SKILL.md for hidden instructions. Do not use with untrusted input.
Mitigation: Remove system modification commands
Mitigation: Provide clear, detailed description of skill functionality
Want a deeper analysis?
This report was generated by static analysis. Get an LLM-powered deep review with behavioral reasoning and attack surface mapping.
๐ง Deep Analysis โ $5.00๐จ Incident Response
Kill switch: Stop the agent process
Containment: Review logs for unexpected actions
Recovery: Depends on skill capabilities
๐ Raw SSDS JSON click to expand
{
"meta": {
"document_id": "ssds:auto:agentic-x402:0.2.6",
"ssds_version": "0.2.0",
"scanner_version": "0.4.0+fe6fd9123d50",
"created_at": "2026-03-05T02:56:06.024Z",
"created_by": {
"agent": "safeagentskills-cli/generate-ssds"
},
"language": "en",
"notes": "Auto-generated SSDS. Manual review recommended."
},
"skill": {
"name": "Agentic X402",
"version": "0.2.6",
"format": "agent_skill",
"description": "Make x402 payments to access gated APIs and content. Fetch paid resources, check wallet balance, and create payment links. Use when encountering 402 Payment Required responses or when the user wants to pay for web resources with crypto.",
"publisher": "unknown",
"source": {
"channel": "local"
},
"artifact": {
"sha256": "2792d22ae0cbf464a1f19a71cbf8dbd8a07f49d6428664c1060d5430b5c073ab",
"hash_method": "files_sorted"
}
},
"capabilities": {
"execution": {
"can_exec_shell": true,
"can_exec_code": false,
"privilege_level": "user",
"can_install_deps": true,
"can_persist": false
},
"filesystem": {
"reads_workspace": true,
"reads_user_home": true,
"reads_system": false,
"writes_workspace": true,
"writes_user_home": true,
"writes_system": false,
"can_delete": false
},
"network": {
"egress": "any",
"ingress": false
},
"credentials": {
"reads_env_vars": true,
"reads_credential_files": true,
"reads_browser_data": false,
"reads_keychain": false
},
"services": [],
"actions": {
"can_send_messages": false,
"can_post_public": false,
"can_purchase": false,
"can_transfer_money": false,
"can_deploy": false,
"can_delete_external": false
},
"prompt_injection_surfaces": [
"web",
"documents"
],
"content_types": [
"general"
]
},
"hazards": {
"hdac": {
"H": 4,
"D": 3,
"A": 1,
"C": 1
},
"flags": [
"EXEC",
"FS_READ_WORKSPACE",
"FS_READ_USER",
"FS_WRITE_WORKSPACE",
"FS_WRITE_USER",
"NET_EGRESS_ANY",
"CREDS_ENV",
"CREDS_FILES",
"PI_WEB",
"PI_DOCUMENTS"
],
"custom_flags": [
{
"code": "BASE64_EXEC",
"name": "Base64 Execute",
"description": "Decodes and executes obfuscated code in: scripts/core/utils.ts"
},
{
"code": "PROMPT_INJECTION",
"name": "Prompt Injection Risk",
"description": "Contains prompt injection patterns in: scripts/core/config.ts"
},
{
"code": "TOOL_ABUSE",
"name": "Unauthorized Tool Use",
"description": "TOOL_ABUSE_SYSTEM_MODIFICATION, INSTRUCTED_GIT_CLONE_AND_BUILD: Modifying system permissions or configuration"
},
{
"code": "SOCIAL_ENGINEERING",
"name": "Social Engineering Risk",
"description": "SOCIAL_ENG_VAGUE_DESCRIPTION: Skill description is too vague or missing"
},
{
"code": "COMMAND_INJECTION",
"name": "Command Injection Risk",
"description": "TIRITH_DOTFILE_OVERWRITE, MCP_SQL_BLIND: Redirecting output to home directory dotfiles (shell config, SSH keys, etc.)"
}
],
"confidence": {
"level": "medium",
"basis": [
"static_analysis"
],
"notes": "Detected 5 security patterns (7 vendored rule hits). Review recommended."
},
"rationale": {
"H": "H4: Critical: Privilege escalation or malware detected",
"D": "D3: Credential access detected",
"A": "A1: Local side effects only",
"C": "C1: General content"
}
},
"containment": {
"level": "maximum",
"required": [
{
"control": "SANDBOX_CONTAINER",
"reason": "Code execution capability"
}
],
"recommended": [
{
"control": "LOG_ACTIONS",
"reason": "Audit trail for all actions"
}
],
"uncontained_risk": "Risk level depends on manual review of actual capabilities."
},
"risks": {
"risks": [
{
"risk": "Base64 decode + execute pattern in: scripts/core/utils.ts",
"severity": "critical",
"mitigation": "Decode and review obfuscated content before use."
},
{
"risk": "Prompt injection patterns detected in: scripts/core/config.ts",
"severity": "high",
"mitigation": "Review SKILL.md for hidden instructions. Do not use with untrusted input."
},
{
"risk": "Unauthorized tool use: TOOL_ABUSE_SYSTEM_MODIFICATION, INSTRUCTED_GIT_CLONE_AND_BUILD",
"severity": "critical",
"mitigation": "Remove system modification commands"
},
{
"risk": "Command injection risk: TIRITH_DOTFILE_OVERWRITE, MCP_SQL_BLIND",
"severity": "high"
},
{
"risk": "Social engineering indicators: SOCIAL_ENG_VAGUE_DESCRIPTION",
"severity": "low",
"mitigation": "Provide clear, detailed description of skill functionality"
}
],
"limitations": [
"Static analysis only - runtime behavior not verified"
]
},
"incident_response": {
"kill_switch": [
"Stop the agent process"
],
"containment": [
"Review logs for unexpected actions"
],
"recovery": [
"Depends on skill capabilities"
]
},
"evidence": [
{
"evidence_id": "EV:file-1",
"type": "file_excerpt",
"title": "bin/cli.ts",
"file_path": "bin/cli.ts"
},
{
"evidence_id": "EV:file-2",
"type": "file_excerpt",
"title": "bin/x402.js",
"file_path": "bin/x402.js"
},
{
"evidence_id": "EV:file-3",
"type": "file_excerpt",
"title": "package.json",
"file_path": "package.json"
},
{
"evidence_id": "EV:file-4",
"type": "file_excerpt",
"title": "README.md",
"file_path": "README.md"
},
{
"evidence_id": "EV:file-5",
"type": "file_excerpt",
"title": "scripts/commands/balance.ts",
"file_path": "scripts/commands/balance.ts"
},
{
"evidence_id": "EV:file-6",
"type": "file_excerpt",
"title": "scripts/commands/create-link.ts",
"file_path": "scripts/commands/create-link.ts"
},
{
"evidence_id": "EV:file-7",
"type": "file_excerpt",
"title": "scripts/commands/distribute.ts",
"file_path": "scripts/commands/distribute.ts"
},
{
"evidence_id": "EV:file-8",
"type": "file_excerpt",
"title": "scripts/commands/fetch-paid.ts",
"file_path": "scripts/commands/fetch-paid.ts"
},
{
"evidence_id": "EV:file-9",
"type": "file_excerpt",
"title": "scripts/commands/link-info.ts",
"file_path": "scripts/commands/link-info.ts"
},
{
"evidence_id": "EV:file-10",
"type": "file_excerpt",
"title": "scripts/commands/pay.ts",
"file_path": "scripts/commands/pay.ts"
},
{
"evidence_id": "EV:cisco-1",
"type": "file_excerpt",
"title": "TOOL_ABUSE_SYSTEM_MODIFICATION [CRITICAL] README.md:298: chmod 600 ~/.x402/.env",
"file_path": "README.md"
},
{
"evidence_id": "EV:cisco-2",
"type": "file_excerpt",
"title": "INSTRUCTED_GIT_CLONE_AND_BUILD [MEDIUM] README.md:55: git clone https://github.com/monemetrics/agentic-x402.git",
"file_path": "README.md"
},
{
"evidence_id": "EV:cisco-3",
"type": "file_excerpt",
"title": "TIRITH_DOTFILE_OVERWRITE [HIGH] README.md:297: echo \"EVM_PRIVATE_KEY=0x...your_backed_up_key...\" > ~/.x402/.env",
"file_path": "README.md"
},
{
"evidence_id": "EV:cisco-4",
"type": "file_excerpt",
"title": "MCP_SQL_BLIND [HIGH] scripts/core/utils.ts:59: export function sleep(ms: number): Promise<void> {",
"file_path": "scripts/core/utils.ts"
},
{
"evidence_id": "EV:cisco-5",
"type": "file_excerpt",
"title": "TOOL_ABUSE_SYSTEM_MODIFICATION [CRITICAL] SKILL.md:67: chmod 600 ~/.x402/.env",
"file_path": "SKILL.md"
},
{
"evidence_id": "EV:cisco-6",
"type": "file_excerpt",
"title": "SOCIAL_ENG_VAGUE_DESCRIPTION [LOW] SKILL.md:1: ---",
"file_path": "SKILL.md"
},
{
"evidence_id": "EV:cisco-7",
"type": "file_excerpt",
"title": "TIRITH_DOTFILE_OVERWRITE [HIGH] SKILL.md:66: echo \"EVM_PRIVATE_KEY=0x...\" > ~/.x402/.env",
"file_path": "SKILL.md"
}
]
}