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 / 15 Passing
15 Automated Continuous Security Checks
Enforced on every release build β any failure halts deployment.
β 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.