clawback
ยท v1.1.1
Mirror congressional stock trades with automated broker execution and risk management. Use when you want to track and automatically trade based on congressional disclosures from House Clerk and Senate eFD sources.
โ ๏ธ Hazard Flags
๐ Capabilities
Execution
- โ Shell execution
- โ Code execution
- โ Install dependencies
- โ Persistence
- Privilege: admin
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
- APPROVE_SEND: Can send messages
- SANDBOX_CONTAINER: Code execution capability
- LOG_ACTIONS: Audit trail for all actions
โก Risks
Mitigation: Deobfuscate and review code before use.
Mitigation: Review SKILL.md for hidden instructions. Do not use with untrusted input.
Mitigation: Add proper exit conditions or limits to loops
Mitigation: Avoid accessing system directories unless absolutely necessary.
Mitigation: Validate and sanitize all user inputs before using in commands
Mitigation: Provide clear, detailed description of skill functionality
Mitigation: Ensure network access is necessary and documented
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:clawback:1.1.1",
"ssds_version": "0.2.0",
"scanner_version": "0.4.0+fe6fd9123d50",
"created_at": "2026-03-05T01:43:08.910Z",
"created_by": {
"agent": "safeagentskills-cli/generate-ssds"
},
"language": "en",
"notes": "Auto-generated SSDS. Manual review recommended."
},
"skill": {
"name": "clawback",
"version": "1.1.1",
"format": "agent_skill",
"description": "Mirror congressional stock trades with automated broker execution and risk management. Use when you want to track and automatically trade based on congressional disclosures from House Clerk and Senate eFD sources.",
"publisher": "ClawHub",
"source": {
"channel": "local"
},
"artifact": {
"sha256": "0695beda2422f03e9fb3bf4d9a99a9c674ef1a2d943542ac86d82f052f228af6",
"hash_method": "files_sorted"
}
},
"capabilities": {
"execution": {
"can_exec_shell": true,
"can_exec_code": false,
"privilege_level": "admin",
"can_install_deps": false,
"can_persist": true
},
"filesystem": {
"reads_workspace": true,
"reads_user_home": true,
"reads_system": false,
"writes_workspace": true,
"writes_user_home": true,
"writes_system": true,
"can_delete": true
},
"network": {
"egress": "any",
"ingress": false
},
"credentials": {
"reads_env_vars": true,
"reads_credential_files": true,
"reads_browser_data": true,
"reads_keychain": false
},
"services": [
{
"service": "email",
"operations": [
"read",
"write"
]
},
{
"service": "messaging",
"operations": [
"read",
"write"
]
}
],
"actions": {
"can_send_messages": true,
"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": 4,
"A": 3,
"C": 1
},
"flags": [
"EXEC",
"PRIVILEGED",
"PERSISTENCE",
"FS_READ_WORKSPACE",
"FS_READ_USER",
"FS_WRITE_WORKSPACE",
"FS_WRITE_USER",
"FS_WRITE_SYSTEM",
"FS_DELETE",
"NET_EGRESS_ANY",
"CREDS_ENV",
"CREDS_FILES",
"CREDS_BROWSER",
"ACT_SEND_MESSAGE",
"PI_WEB",
"PI_DOCUMENTS"
],
"custom_flags": [
{
"code": "OBFUSCATED_CODE",
"name": "Obfuscated Code",
"description": "Contains obfuscated code patterns in: src/clawback/telegram_notifier.py"
},
{
"code": "PROMPT_INJECTION",
"name": "Prompt Injection Risk",
"description": "Contains prompt injection patterns in: pyproject.toml, src/clawback/telegram_notifier.py"
},
{
"code": "PERSISTENCE",
"name": "Persistence Mechanism",
"description": "Creates scheduled tasks or startup entries in: scripts/setup_cron.sh, src/clawback/congress_data/setup_cron.py"
},
{
"code": "PRIVILEGE_ESCALATION",
"name": "Privilege Escalation",
"description": "Uses elevated privileges (sudo/root) in: setup.sh"
},
{
"code": "FILE_DELETE",
"name": "File Deletion",
"description": "Can delete files in: fix_auth.py, src/clawback/congress_data/cron_manager.py, src/clawback/congress_data/cron_scheduler.py"
},
{
"code": "RESOURCE_ABUSE",
"name": "Resource Abuse Risk",
"description": "RESOURCE_ABUSE_INFINITE_LOOP detected: Infinite loop without clear exit condition"
},
{
"code": "TOOL_ABUSE",
"name": "Unauthorized Tool Use",
"description": "MCP_SYS_CRITICAL_ACCESS, INSTRUCTED_BINARY_INSTALL, INSTRUCTED_GIT_CLONE_AND_BUILD, MCP_SYS_PRIVILEGE_ESCALATION, MCP_SYS_FILE_DESTRUCTION: Access to critical system directories"
},
{
"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": "COMMAND_INJECTION_USER_INPUT, TIRITH_DOTFILE_OVERWRITE, MCP_SQL_BLIND: User input used in command substitution - potential injection risk"
},
{
"code": "DATA_EXFILTRATION",
"name": "Data Exfiltration Risk",
"description": "DATA_EXFIL_NETWORK_REQUESTS, DATA_EXFIL_HTTP_POST, DATA_EXFIL_SENSITIVE_FILES: HTTP client library imports that enable external communication"
}
],
"confidence": {
"level": "medium",
"basis": [
"static_analysis"
],
"notes": "Detected 10 security patterns (43 vendored rule hits). Review recommended."
},
"rationale": {
"H": "H4: Critical: Privilege escalation or malware detected",
"D": "D4: Critical: Credential theft or data exfiltration",
"A": "A3: External actions (deploy/message/post)",
"C": "C1: General content"
}
},
"containment": {
"level": "maximum",
"required": [
{
"control": "APPROVE_SEND",
"reason": "Can send messages"
},
{
"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": "Code obfuscation detected in: src/clawback/telegram_notifier.py",
"severity": "medium",
"mitigation": "Deobfuscate and review code before use."
},
{
"risk": "Prompt injection patterns detected in: pyproject.toml, src/clawback/telegram_notifier.py",
"severity": "high",
"mitigation": "Review SKILL.md for hidden instructions. Do not use with untrusted input."
},
{
"risk": "Resource abuse detected: RESOURCE_ABUSE_INFINITE_LOOP",
"severity": "high",
"mitigation": "Add proper exit conditions or limits to loops"
},
{
"risk": "Unauthorized tool use: MCP_SYS_CRITICAL_ACCESS, INSTRUCTED_BINARY_INSTALL, INSTRUCTED_GIT_CLONE_AND_BUILD, MCP_SYS_PRIVILEGE_ESCALATION, MCP_SYS_FILE_DESTRUCTION",
"severity": "critical",
"mitigation": "Avoid accessing system directories unless absolutely necessary."
},
{
"risk": "Command injection risk: COMMAND_INJECTION_USER_INPUT, TIRITH_DOTFILE_OVERWRITE, MCP_SQL_BLIND",
"severity": "high",
"mitigation": "Validate and sanitize all user inputs before using in commands"
},
{
"risk": "Social engineering indicators: SOCIAL_ENG_VAGUE_DESCRIPTION",
"severity": "low",
"mitigation": "Provide clear, detailed description of skill functionality"
},
{
"risk": "Data exfiltration patterns: DATA_EXFIL_NETWORK_REQUESTS, DATA_EXFIL_HTTP_POST, DATA_EXFIL_SENSITIVE_FILES",
"severity": "critical",
"mitigation": "Ensure network access is necessary and documented"
}
],
"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/clawback.py",
"file_path": "bin/clawback.py"
},
{
"evidence_id": "EV:file-2",
"type": "file_excerpt",
"title": "complete_auth.py",
"file_path": "complete_auth.py"
},
{
"evidence_id": "EV:file-3",
"type": "file_excerpt",
"title": "debug_auth.py",
"file_path": "debug_auth.py"
},
{
"evidence_id": "EV:file-4",
"type": "file_excerpt",
"title": "fix_auth.py",
"file_path": "fix_auth.py"
},
{
"evidence_id": "EV:file-5",
"type": "file_excerpt",
"title": "install.sh",
"file_path": "install.sh"
},
{
"evidence_id": "EV:file-6",
"type": "file_excerpt",
"title": "_meta.json",
"file_path": "_meta.json"
},
{
"evidence_id": "EV:file-7",
"type": "file_excerpt",
"title": "pyproject.toml",
"file_path": "pyproject.toml"
},
{
"evidence_id": "EV:file-8",
"type": "file_excerpt",
"title": "README.md",
"file_path": "README.md"
},
{
"evidence_id": "EV:file-9",
"type": "file_excerpt",
"title": "scripts/auth_script.py",
"file_path": "scripts/auth_script.py"
},
{
"evidence_id": "EV:file-10",
"type": "file_excerpt",
"title": "scripts/auth_utility.py",
"file_path": "scripts/auth_utility.py"
},
{
"evidence_id": "EV:cisco-1",
"type": "file_excerpt",
"title": "MCP_SYS_CRITICAL_ACCESS [HIGH] install.sh:1: #!/bin/bash",
"file_path": "install.sh"
},
{
"evidence_id": "EV:cisco-2",
"type": "file_excerpt",
"title": "INSTRUCTED_BINARY_INSTALL [HIGH] README.md:31: pip install -e .",
"file_path": "README.md"
},
{
"evidence_id": "EV:cisco-3",
"type": "file_excerpt",
"title": "INSTRUCTED_GIT_CLONE_AND_BUILD [MEDIUM] README.md:27: git clone https://github.com/mainfraame/clawback.git",
"file_path": "README.md"
},
{
"evidence_id": "EV:cisco-4",
"type": "file_excerpt",
"title": "RESOURCE_ABUSE_INFINITE_LOOP [HIGH] scripts/auth_utility.py:271: while True:",
"file_path": "scripts/auth_utility.py"
},
{
"evidence_id": "EV:cisco-5",
"type": "file_excerpt",
"title": "COMMAND_INJECTION_USER_INPUT [MEDIUM] scripts/run_bot.sh:17: BOT_DIR=\"$(cd \"$(dirname \"$0\")/..\" && pwd)\"",
"file_path": "scripts/run_bot.sh"
},
{
"evidence_id": "EV:cisco-6",
"type": "file_excerpt",
"title": "MCP_SYS_CRITICAL_ACCESS [HIGH] scripts/run_bot.sh:1: #!/bin/bash",
"file_path": "scripts/run_bot.sh"
},
{
"evidence_id": "EV:cisco-7",
"type": "file_excerpt",
"title": "COMMAND_INJECTION_USER_INPUT [MEDIUM] scripts/setup_cron.sh:10: BOT_DIR=\"$(cd \"$(dirname \"$0\")/..\" && pwd)\"",
"file_path": "scripts/setup_cron.sh"
},
{
"evidence_id": "EV:cisco-8",
"type": "file_excerpt",
"title": "MCP_SYS_CRITICAL_ACCESS [HIGH] scripts/setup_cron.sh:1: #!/bin/bash",
"file_path": "scripts/setup_cron.sh"
},
{
"evidence_id": "EV:cisco-9",
"type": "file_excerpt",
"title": "MCP_SYS_CRITICAL_ACCESS [HIGH] setup.sh:1: #!/bin/bash",
"file_path": "setup.sh"
},
{
"evidence_id": "EV:cisco-10",
"type": "file_excerpt",
"title": "MCP_SYS_PRIVILEGE_ESCALATION [CRITICAL] setup.sh:75: sudo ln -sf \"$(pwd)/bin/clawback.py\" /usr/local/bin/clawback 2>/dev/null || true",
"file_path": "setup.sh"
}
]
}