Terms of Service

Last updated: January 2025

1. How Rohkun Works

Rohkun uses AST (Abstract Syntax Tree) parsing to analyze your codebase and map its architecture. This allows us to identify endpoints, API calls, dependencies, and file locations with exact line numbers.

AST Parsing Limitations

While AST parsing is powerful, it has inherent limitations. Some code patterns cannot be definitively determined through static analysis alone. When Rohkun cannot find or determine something using AST parsing, we:

  • Use our best efforts to identify the location of the code in question
  • Provide you with the file path and approximate location so you or your AI can review it directly
  • Clearly mark uncertain detections in our reports

Some patterns are probabilistic or unknowable until runtime execution. We make every effort to be transparent about these limitations.

2. Usage and API Keys

Getting Started

To use Rohkun, you must:

  1. Create an account and sign up
  2. Generate an API key from your dashboard
  3. Install the CLI using pip install rohkun
  4. Configure your API key
  5. Run rohkun run to scan your codebase

API Key Security

You are responsible for keeping your API key secure. Do not share your API key publicly or commit it to version control. If your API key is compromised, revoke it immediately from your dashboard and generate a new one.

3. Credits and Billing

Free Tier

All users receive a base allocation of free credits each month. These credits are provided regardless of your subscription tier.

Subscription Tiers

Rohkun offers multiple subscription tiers with different credit allocations. When you subscribe to a paid tier, you receive additional credits on top of your free tier allocation. Your total available credits are calculated as:

Total Credits = Free Tier Credits + Subscription Tier Credits - Credits Used

Payment Processing

Payments are processed through DodoPayments. When you subscribe to a paid plan, your subscription will be automatically renewed according to your selected billing cycle (monthly or yearly).

Subscription Synchronization

If you make a payment directly through DodoPayments or use a different email address, you may need to manually sync your subscription status using the "Sync Status" button on your dashboard. You can link your account using your Payment ID, Subscription ID, or Customer ID from DodoPayments.

Credit Usage and Billing Periods

Credits are consumed when you run scans or generate reports. Credits reset at the beginning of each billing period. Unused credits from the previous period do not roll over to the next billing period.

Overage and Usage-Based Billing

Some subscription plans include usage-based billing for additional features. When you exceed your included credits, you may be charged for additional usage according to your plan's pricing structure. Free tier users cannot exceed their credit allocation.

4. Data Privacy and Processing

Code Analysis

Rohkun runs entirely on your local machine. We do not access, store, or process your source code. We only process structural metadata (endpoints, dependencies, file locations, API calls) for:

  • Authorization and authentication
  • Usage tracking and billing
  • Service improvement

Your code never leaves your machine. Only metadata is transmitted to our servers.

Account Information

We store your account information, including email address, subscription status, and usage history. This information is used to provide the service, process payments, and communicate with you about your account.

Payment Information

Payment processing is handled by DodoPayments. We do not store your payment card details. We only store your DodoPayments customer ID, subscription ID, and payment ID for account linking and subscription management.

5. Service Availability

We strive to maintain high availability but do not guarantee uninterrupted service. We reserve the right to perform maintenance, updates, or modifications that may temporarily affect service availability.

6. Limitation of Liability

Rohkun is provided "as is" without warranties of any kind. We are not liable for any decisions made based on Rohkun's analysis or reports. You are responsible for reviewing and validating all analysis results.

7. Changes to Terms

We reserve the right to modify these terms at any time. Material changes will be communicated via email or through our dashboard. Continued use of the service after changes constitutes acceptance of the new terms.

8. Contact

For questions about these terms, please contact us through your dashboard or visit our Help page.