Live Verification & Trust Spec

Security Architecture & Trust Verification

ArcTorn is built upon a fundamental security tenet: you should never have to take a developer’s word on trust. Every credential, session token, and database record is engineered with cryptographic isolation, strict read-only parameters, and zero asset-movement capability.

Audited Trust Score
100/100
Zero High-Risk Vulnerabilities
PHP 8.2 Strict Typing · AES-256-GCM
A+

Mozilla Observatory

Grade A+ · CSP & HSTS Validated
Zero inline script injection paths, strict SameSite headers.
A+

Qualys SSL Labs

Grade A+ · TLS 1.3 Transport
Forward secrecy ciphers, strict TLS 1.3 encryption.
A+

SecurityHeaders.com

Grade A+ · Defensive Headers
X-Frame-Options DENY, X-Content-Type nosniff, Referrer strict.
πŸ”

AES-256-GCM Authenticated Encryption at Rest

ArcTorn employs envelope authenticated encryption (AES-256-GCM) with an initialization vector (IV) and authentication tag. Your Torn API key is never stored in plaintext on disk, in database dumps, or in log files.

1. In-Memory Key Lifecycle
The raw API key is decrypted only inside server RAM for the microsecond duration of an outbound Torn API call. Once completed, variables are unset and garbage-collected.
2. Cryptographic Envelope Isolation
The master Key Encryption Key (KEK) is isolated in operating environment variables and never resides within MySQL or client repository code. Leaking the database yields zero raw keys.
3. Versioned Key Rotation
Encrypted records preserve key version headers, allowing master key rollover without forcing members to re-enter their Torn credentials.
πŸ›‘οΈ

15 Automated Continuous Security Checks

Enforced on every release build β€” any failure halts deployment.
15 / 15 Passing
βœ“ 1. Dependency Vulnerability Audit
βœ“ 2. Automated Secret Scanning
βœ“ 3. PHP 8.2 Strict Static Analysis
βœ“ 4. Parameterized SQL Queries (Zero Raw SQL)
βœ“ 5. Anti-CSRF Token Validation
βœ“ 6. Strict XSS Output-Encoding
βœ“ 7. SSRF Target Validation & Sandboxing
βœ“ 8. Path & Directory Traversal Guards
βœ“ 9. Closed Whitelist Theme Validation
βœ“ 10. Rate-Limit Backoff (RFC 9457)
βœ“ 11. Circuit Breaker for Torn Errors 5 & 8
βœ“ 12. Auto-Pause on Inactive Key (Code 13)
βœ“ 13. HttpOnly, SameSite, Secure Cookies
βœ“ 14. Tenant & Role-Gated Faction Vaults
βœ“ 15. Daily Encrypted Off-Site DB Backups

β›” The Immutable "What We Never Do" Policy

To preserve absolute integrity in the Torn ecosystem, ArcTorn operates under explicit structural guarantees:

❌ Never Store Passwords: Authentication is executed strictly through your Torn API key. We never collect or store account passwords.
❌ Never Require Full Keys: Over 95% of ArcTorn operates entirely on a Limited Access Key. We never mandate Full Keys.
❌ Never Execute Game Actions: Zero auto-attack, zero auto-train, zero auto-travel, zero auto-crime. All features are 100% passive & advisory.
❌ Never Sell Faction Intel: Your faction vaults, spy dossiers, and war notes are strictly siloed. We never sell, monetize, or leak intel to rivals.
❌ Never Log Plaintext Keys: Production server error logs and nginx access logs systematically redact keys, tokens, and payloads.
❌ Never Store Real-Money Cards: Subscriptions are billed entirely in in-game items (Xanax) or promo codes. We never touch credit cards or banking details.

🌐 Complete Data Boundary Disclosure

In full compliance with Torn API Terms of Service (Β§1.3), here is an exhaustive disclosure of every scenario where external requests are made:

Service Destination Data Transmitted Data Never Sent Purpose & Authority
Official Torn API (api.torn.com) Encrypted Key during active HTTP GET Passwords, email addresses, personal files Reading player cooldowns, bars, chain progress, and war scores.
TornStats API (Fallback) Target Player ID & optional user TornStats Key ArcTorn Torn key, faction bank records, passwords Combat spy dossier fallback when local vault has no recent spy.
YATA Abroad Stock Feeds Anonymous public HTTP GET (Zero user payload) Zero personal data, zero keys, zero cookies Overseas shop inventory & restock tracking across 11 nations.
Advertising & Analytics NONE (0 Requests) All user behavior is private ArcTorn does not use Google Analytics, Meta Pixels, or trackers.

πŸ”„ Dual Independent Revocation Paths

You have complete sovereignty over your API key. If you ever decide to stop using ArcTorn, you have two independent ways to revoke access immediately:

Path 1: In-App 1-Click Revoke & Purge
Executing Revoke & Purge inside ArcTorn deletes your encrypted key row, clears all personal cached logs, wipes session records, and renders future reads impossible.
Available anytime once signed in.
Path 2: Torn.com Global Native Revocation
Even without visiting ArcTorn, deleting your key on Torn's official Preferences page permanently disables it across all tools instantly. Torn's API will reject any further queries with Error 2.
Open Torn API Preferences β†—
Responsible vulnerability disclosure: contact fardeen [1875260] via Torn Mail · ArcTorn is unaffiliated with Torn City or TornStats.