Authorization evidence

API authorization lab

{{ apk_name }} · {{ scan_id }}

Manual comparison · no outbound requests

Select one saved HTTPS route, name its authorized host, and paste four GET responses captured in your test setup. Apkhunt compares them locally. Pasted headers and bodies are not saved; a matching marker is a candidate until independently replayed and reviewed.

{% if error %}{% endif %} {% if result %}

Comparison saved

{{ result.decision | replace('_', ' ') | title }}

{{ result.summary }}

{% if result.unauthenticated_candidate %}

Anonymous access candidate: the pasted anonymous response contains the owner marker. This is not a confirmed unauthenticated finding.

{% endif %} {% if result.object_authorization_candidate %}

Other-user object access candidate: the pasted other-user response contains the owner marker. This is not a confirmed object authorization finding.

{% endif %}

Anonymous marker: {{ 'present' if result.comparison.anonymous.owner_marker_present else 'absent' }} · Other-user marker: {{ 'present' if result.comparison.other.owner_marker_present else 'absent' }} · Negative control: {{ 'passed' if result.negative_control_passed else 'failed' }} · Confirmed findings: 0

{% endif %} {% if routes %}

01 · Choose a route

Scope and protected data

The inventory is a lead; confirm the live request separately.
Separate multiple names with commas. Wildcards are not accepted.
Use a unique value present in the owner's private response. Its SHA-256 digest is saved; the value is discarded.

02 · Compare the same resource

Paste captured GET requests and responses

Owner, other-user, and anonymous URLs must be identical. Use an invalid or inaccessible resource on the same host as the negative control. Enter only authentication headers; leave anonymous headers blank. Response bodies are limited to 128 KiB each.

{% for role, label, help_text in [('owner', 'Owner', 'Authorized account for the target resource.'), ('other', 'Other user', 'A different signed-in account requesting the owner resource.'), ('anonymous', 'Anonymous', 'The same URL without any credential.'), ('control', 'Negative control', 'A different resource URL using the owner credentials; the owner marker must be absent.')] %}
{{ label }}

{{ help_text }}

{% if role != 'anonymous' %}
{% else %}{% endif %}
{% endfor %}
Pasted credentials and bodies are discarded after comparison.
{% else %}

No eligible HTTPS route

This scan has no saved absolute HTTPS URL to select. Retrofit paths without a host need a confirmed deployment host before comparison. Return to API evidence.

{% endif %}

Saved comparisons

The most recent 100 comparisons are retained per scan.

{% if cases %}
    {% for case in cases %}
  1. {{ case.route_path }} · {{ case.decision | replace('_', ' ') }} · {{ case.created_at }} (manual evidence; confirmed findings: 0)
  2. {% endfor %}
{% else %}

No comparison has been saved for this scan.

{% endif %}
{% include '_scan_status.html' %}