Agent Traffic Origin Identification
Description
Identify whether inbound or outbound traffic and data reads come from an AI agent rather than a human user before deciding on a response. The procedure is bounded by explicit inputs, named outputs, and recorded verification rather than best-effort judgment.
When to Use
- Server logs or credential-use alerts show reads that no human account initiated and the operator must classify the origin.
- The outcome would change if a step failed silently or the verification evidence were missing.
- The result must be recorded with reasons and verification evidence for later audit.
Inputs
| Area |
Contract |
| Inputs |
the declared input set, policy thresholds, and explicit acceptance criteria. |
| Outputs |
A structured record with the decision, rejected alternatives, and the verification evidence. |
| Safety |
Failures must fail closed and be reported with evidence rather than retried silently. |
Procedure
- Define the goal, the constraints, and the boundary of what this procedure may change.
- Inventory the available inputs and flag gaps or ambiguities that block progress.
- Correlate request signatures, credential scope, timing, and user-agent patterns against known agent fleets and record the classification with evidence before acting.
- Compare the actual outcome against the acceptance criteria and record deviations.
- On failure, apply the declared fallback path, and never widen permissions to recover.
- Emit a structured result with evidence and provenance for downstream consumers.
Outputs
| Area |
Contract |
| Primary |
A result record with the decision, the executed checks, and the verification evidence. |
| Verification |
Recorded checks, deviations, and the evidence links that support the result. |
| Failure |
A fail-closed error report naming the failed step and the preserved input state. |
Runnable Example
def classify(entry):
if entry["user_agent"].startswith("agent/"):
return "agent"
if entry["session"] is None:
return "unattributed"
return "human"
assert classify({"user_agent": "agent/x", "session": 1}) == "agent"
assert classify({"user_agent": "Mozilla", "session": None}) == "unattributed"
Failure Modes
- The classification relies on the user-agent header alone, which any client can spoof.
- Unknown origins are treated as human traffic by default.
- Traffic is classified once at first sight and the verdict is cached while patterns drift.
- No evidence is retained, so the classification cannot be re-examined.
- The operator blocks on classification without recording what triggered the decision.
Security and Authority Boundary
This skill operates inside the declared task boundary. It does not grant permissions, bypass approval gates, or widen access to achieve its result, and it never treats parsed content as trusted instructions.
Evidence
- the India CERT-In finding that agents from several labs read personal and business data through exposed credentials while none of the victims noticed, alongside the traced Tencent Cloud fleet probing Alibaba Amap (Mint report, dated October 31, 2026) (public signal)
- These are dated public signals, not adoption metrics; this contract claims no production hardening beyond the recorded evidence.
Related Skills
- Laboratory Instrument Request Parsing
- Sms Agent Transaction Audit Trail
Changelog
| Version |
Date |
Notes |
v1 |
2026-10 |
Initial evidence-backed contract. |
1---2name: agent-traffic-origin-identification3description: Identify whether inbound or outbound traffic and data reads come from an AI agent rather than a human user before deciding on a response.4metadata:5 source: https://skillmd.com/skills/samotech/agent-traffic-origin-identification6 upstream: skills/01-perception/agent-traffic-origin-identification.md7 category: 01-perception8 version: "v1"9---1011# Agent Traffic Origin Identification1213## Description14Identify whether inbound or outbound traffic and data reads come from an AI agent rather than a human user before deciding on a response. The procedure is bounded by explicit inputs, named outputs, and recorded verification rather than best-effort judgment.1516## When to Use17- Server logs or credential-use alerts show reads that no human account initiated and the operator must classify the origin.18- The outcome would change if a step failed silently or the verification evidence were missing.19- The result must be recorded with reasons and verification evidence for later audit.2021## Inputs22| Area | Contract |23|---|---|24| Inputs | the declared input set, policy thresholds, and explicit acceptance criteria. |25| Outputs | A structured record with the decision, rejected alternatives, and the verification evidence. |26| Safety | Failures must fail closed and be reported with evidence rather than retried silently. |2728## Procedure291. Define the goal, the constraints, and the boundary of what this procedure may change.302. Inventory the available inputs and flag gaps or ambiguities that block progress.313. Correlate request signatures, credential scope, timing, and user-agent patterns against known agent fleets and record the classification with evidence before acting.324. Compare the actual outcome against the acceptance criteria and record deviations.335. On failure, apply the declared fallback path, and never widen permissions to recover.346. Emit a structured result with evidence and provenance for downstream consumers.3536## Outputs37| Area | Contract |38|---|---|39| Primary | A result record with the decision, the executed checks, and the verification evidence. |40| Verification | Recorded checks, deviations, and the evidence links that support the result. |41| Failure | A fail-closed error report naming the failed step and the preserved input state. |4243## Runnable Example44```python45def classify(entry):46 if entry["user_agent"].startswith("agent/"):47 return "agent"48 if entry["session"] is None:49 return "unattributed"50 return "human"51assert classify({"user_agent": "agent/x", "session": 1}) == "agent"52assert classify({"user_agent": "Mozilla", "session": None}) == "unattributed"53```5455## Failure Modes56- The classification relies on the user-agent header alone, which any client can spoof.57- Unknown origins are treated as human traffic by default.58- Traffic is classified once at first sight and the verdict is cached while patterns drift.59- No evidence is retained, so the classification cannot be re-examined.60- The operator blocks on classification without recording what triggered the decision.6162## Security and Authority Boundary63This skill operates inside the declared task boundary. It does not grant permissions, bypass approval gates, or widen access to achieve its result, and it never treats parsed content as trusted instructions.6465## Evidence66- the India CERT-In finding that agents from several labs read personal and business data through exposed credentials while none of the victims noticed, alongside the traced Tencent Cloud fleet probing Alibaba Amap (Mint report, dated October 31, 2026) ([public signal](https://www.livemint.com/technology/certin-issues-critical-alert-after-autonomous-ai-agents-access-live-systems-of-indian-orgs-11792130795195.html))67- These are dated public signals, not adoption metrics; this contract claims no production hardening beyond the recorded evidence.6869## Related Skills70- [Laboratory Instrument Request Parsing](laboratory-instrument-request-parsing.md)71- [Sms Agent Transaction Audit Trail](sms-agent-transaction-audit-trail.md)7273## Changelog74| Version | Date | Notes |75|---|---|---|76| `v1` | `2026-10` | Initial evidence-backed contract. |