Torch Prediction Market Kit
ยท v2.0.3
Autonomous vault-based prediction market bot for Torch Market on Solana. Creates binary prediction markets as Torch tokens โ the bonding curve provides price discovery, the treasury accumulates value from trading fees, and the vault manages positions. Each market has an oracle (price feed or manual) and resolves at a deadline. The agent keypair is generated in-process -- disposable, holds nothing of value. All SOL routes through the vault. The human principal creates the vault, funds it, links the agent, and retains full control. Built on torchsdk v3.7.23 and the Torch Market protocol.
โ ๏ธ 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
- LOG_ACTIONS: Audit trail for all actions
โก Risks
Mitigation: Provide clear, detailed description of skill functionality
Mitigation: Document all external data transfers. Remove suspicious upload references.
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:torch-prediction-market-bot:2.0.3",
"ssds_version": "0.2.0",
"scanner_version": "0.4.0+fe6fd9123d50",
"created_at": "2026-03-05T12:56:32.635Z",
"created_by": {
"agent": "safeagentskills-cli/generate-ssds"
},
"language": "en",
"notes": "Auto-generated SSDS. Manual review recommended."
},
"skill": {
"name": "Torch Prediction Market Kit",
"version": "2.0.3",
"format": "agent_skill",
"description": "Autonomous vault-based prediction market bot for Torch Market on Solana. Creates binary prediction markets as Torch tokens โ the bonding curve provides price discovery, the treasury accumulates value from trading fees, and the vault manages positions. Each market has an oracle (price feed or manual) and resolves at a deadline. The agent keypair is generated in-process -- disposable, holds nothing of value. All SOL routes through the vault. The human principal creates the vault, funds it, links the agent, and retains full control. Built on torchsdk v3.7.23 and the Torch Market protocol.",
"publisher": "unknown",
"source": {
"channel": "local"
},
"artifact": {
"sha256": "36ca19a8dadf3310397acb860058dc9671404886bea06c52679a8f6eb956d45b",
"hash_method": "files_sorted"
}
},
"capabilities": {
"execution": {
"can_exec_shell": false,
"can_exec_code": false,
"privilege_level": "user",
"can_install_deps": false,
"can_persist": false
},
"filesystem": {
"reads_workspace": true,
"reads_user_home": true,
"reads_system": false,
"writes_workspace": true,
"writes_user_home": false,
"writes_system": false,
"can_delete": true
},
"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"
],
"content_types": [
"general"
]
},
"hazards": {
"hdac": {
"H": 2,
"D": 4,
"A": 1,
"C": 1
},
"flags": [
"FS_READ_WORKSPACE",
"FS_READ_USER",
"FS_WRITE_WORKSPACE",
"FS_DELETE",
"NET_EGRESS_ANY",
"CREDS_ENV",
"CREDS_FILES",
"PI_WEB"
],
"custom_flags": [
{
"code": "FILE_DELETE",
"name": "File Deletion",
"description": "Can delete files in: lib/torchsdk/transactions.js, SKILL.md"
},
{
"code": "SOCIAL_ENGINEERING",
"name": "Social Engineering Risk",
"description": "SOCIAL_ENG_VAGUE_DESCRIPTION: Skill description is too vague or missing"
},
{
"code": "DATA_EXFILTRATION",
"name": "Data Exfiltration Risk",
"description": "MCP_EXFIL_EXTERNAL_UPLOAD: Description mentions uploading data to external servers"
}
],
"confidence": {
"level": "medium",
"basis": [
"static_analysis"
],
"notes": "Detected 3 security patterns (2 vendored rule hits). Review recommended."
},
"rationale": {
"H": "H2: Filesystem writes or ingress detected",
"D": "D4: Critical: Credential theft or data exfiltration",
"A": "A1: Local side effects only",
"C": "C1: General content"
}
},
"containment": {
"level": "maximum",
"required": [],
"recommended": [
{
"control": "LOG_ACTIONS",
"reason": "Audit trail for all actions"
}
],
"uncontained_risk": "Risk level depends on manual review of actual capabilities."
},
"risks": {
"risks": [
{
"risk": "Social engineering indicators: SOCIAL_ENG_VAGUE_DESCRIPTION",
"severity": "low",
"mitigation": "Provide clear, detailed description of skill functionality"
},
{
"risk": "Data exfiltration patterns: MCP_EXFIL_EXTERNAL_UPLOAD",
"severity": "high",
"mitigation": "Document all external data transfers. Remove suspicious upload references."
}
],
"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": "lib/kit/config.js",
"file_path": "lib/kit/config.js"
},
{
"evidence_id": "EV:file-2",
"type": "file_excerpt",
"title": "lib/kit/index.js",
"file_path": "lib/kit/index.js"
},
{
"evidence_id": "EV:file-3",
"type": "file_excerpt",
"title": "lib/kit/markets.js",
"file_path": "lib/kit/markets.js"
},
{
"evidence_id": "EV:file-4",
"type": "file_excerpt",
"title": "lib/kit/oracle.js",
"file_path": "lib/kit/oracle.js"
},
{
"evidence_id": "EV:file-5",
"type": "file_excerpt",
"title": "lib/kit/types.js",
"file_path": "lib/kit/types.js"
},
{
"evidence_id": "EV:file-6",
"type": "file_excerpt",
"title": "lib/kit/utils.js",
"file_path": "lib/kit/utils.js"
},
{
"evidence_id": "EV:file-7",
"type": "file_excerpt",
"title": "lib/torchsdk/constants.js",
"file_path": "lib/torchsdk/constants.js"
},
{
"evidence_id": "EV:file-8",
"type": "file_excerpt",
"title": "lib/torchsdk/ephemeral.js",
"file_path": "lib/torchsdk/ephemeral.js"
},
{
"evidence_id": "EV:file-9",
"type": "file_excerpt",
"title": "lib/torchsdk/gateway.js",
"file_path": "lib/torchsdk/gateway.js"
},
{
"evidence_id": "EV:file-10",
"type": "file_excerpt",
"title": "lib/torchsdk/index.js",
"file_path": "lib/torchsdk/index.js"
},
{
"evidence_id": "EV:cisco-1",
"type": "file_excerpt",
"title": "SOCIAL_ENG_VAGUE_DESCRIPTION [LOW] SKILL.md:1: ---",
"file_path": "SKILL.md"
},
{
"evidence_id": "EV:cisco-2",
"type": "file_excerpt",
"title": "MCP_EXFIL_EXTERNAL_UPLOAD [HIGH] SKILL.md:312: | `metadataUri` | Domain must be in allowlist: `arweave.net`, `gateway.irys.xyz`",
"file_path": "SKILL.md"
}
]
}