By NHI Mgmt Group Editorial TeamBased on GreyNoise: “Threat Actors Are Posing as OpenAI, Anthropic and DeepSeek to Target Credentials and Secrets” (August 23, 2026)

TL;DR: Automated scanners are impersonating AI crawlers from OpenAI, Anthropic, DeepSeek and other companies while requesting .env files, cloud access keys, private keys and password stores, according to GreyNoise, showing that user-agent checks alone cannot establish crawler identity or prevent secret harvesting.


At a glance

What this is: GreyNoise found forged AI crawler traffic that masquerades as legitimate bot names while probing for exposed secrets such as .env files, cloud keys and password stores.

Why it matters: This matters because identity checks based only on user-agent strings can be bypassed, so IAM and security teams need address validation, secret exposure reduction and crawler allowlisting controls.


Context

A forged crawler is a client that claims to be a legitimate automated bot while behaving like a secret-harvesting scanner. The governance gap is simple: a self-declared name in a request header is not identity, and exposure controls that trust it can be bypassed.

In identity and access terms, this is a machine-identity problem as much as a web-scraping problem. Where crawler names are used to waive controls, defenders need to validate the source address and reduce the web exposure of secrets before the request reaches them.


Key questions

Q: What breaks when crawler access is based only on user-agent strings?

A: User-agent-only controls fail because the header is self-declared and easy to forge. A scanner can copy a legitimate bot name while coming from unrelated infrastructure, so the control has no authenticated basis. Teams should treat the claimed name as advisory and require a match to published address ranges before allowing any crawler-specific exemption.

Q: Why do forged crawlers create a secret-exposure risk even without a breach?

A: They create risk because the scanner's objective is to discover files that already contain usable secrets. If .env files, cloud keys or password stores are reachable from the web, the exposure exists before any account is used. That is why reducing file exposure is a preventive control, not just an incident response step.

Q: What are the signs that crawler impersonation is failing your controls?

A: Repeated requests for /robots.txt are a positive crawler signal, while direct requests for credential files are not. If the claimed crawler name appears across many addresses but never behaves like a real crawler, your allowlisting logic is too shallow. Behavioural drift and missing address verification are the clearest warning signs.

Q: How should security teams respond when a vulnerability can expose cloud credentials?

A: Treat it as a cross-domain incident, not just an application bug. Contain the workload, rotate every credential the service could access, review downstream automation and trust links, and verify whether instance metadata or environment files were reachable. If the platform brokers identity, response must include identity cleanup.


Technical breakdown

Why user-agent strings cannot prove crawler identity

User-agent headers are client-controlled metadata, not authenticated assertions. A scanner can claim to be ClaudeBot, GPTBot or any other crawler name without possessing the operator's published source ranges. That means controls keyed only to the string are brittle, because the trust decision is detached from the network identity that should support it. In practice, the control boundary belongs at the combination of claimed name, source address and allowlisted behaviour, not at the header alone.

Practical implication: Treat the user-agent as a hint and require address-based verification before granting crawler exceptions.

How secret-harvesting scanners find exposed credentials

These scanners target files that developers and deployment tools frequently leave in or near web roots, including .env files, credentials directories and private key stores. Those files often contain API tokens, cloud access keys and password material, making them high-value discovery targets. The issue is not only secret leakage after compromise, but secret exposure before compromise, when ordinary internet-facing requests can still retrieve them. That is why secret placement and web-root hygiene matter as much as detection.

Practical implication: Move secrets out of web-accessible paths and assume any readable credential file has already become an exposure event.

Why crawler allowlists must combine name and address

Legitimate crawlers usually publish both a name and the IP ranges they use. GreyNoise's finding shows why either signal alone is insufficient: the same string can appear in both real and forged traffic, and the same crawler family can be imitated from unrelated networks. Strong governance therefore requires a two-factor check for automated access, with the claimed crawler identity validated against the published address list and behaviour tested over time, including whether /robots.txt is requested first.

Practical implication: Build crawler allowlists from both publisher address ranges and observed behaviour, then refresh them on a schedule.


Threat narrative

Attacker objective: The attacker aims to discover and harvest reusable secrets from publicly reachable web paths while blending in as crawler traffic.

  1. Entry occurs when scanners send forged crawler names in ordinary HTTP requests to internet-facing sites, making them look like legitimate bot traffic at first glance.
  2. Credential harvesting follows as the same traffic probes .env files, cloud access keys, private keys and password stores that commonly sit in misconfigured or exposed web locations.
  3. Impact is the exposure of secrets that can be reused for cloud access, API abuse or later intrusion if the files are reachable and not remediated.
  • Hugging Face Spaces breach 2024: Unauthorised access to Hugging Face Spaces may have exposed secrets users stored for AI apps; tokens were revoked and org tokens removed.

Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

Crawler impersonation is now a machine-identity problem, not just a bot-detection problem. GreyNoise's finding shows that a claimed crawler name is only a label until it is paired with a trusted source address and expected behaviour. That shifts the control question from 'is this a bot?' to 'is this the bot it claims to be?', which is a machine-authentication and trust-governance issue. Practitioners should treat crawler exceptions as identity assertions that require verification, not convenience settings.

Secret exposure is the real control failure here, and the crawler disguise simply makes it visible. The scanners were looking for .env files, cloud access keys and password stores because those paths often still contain live credentials. The deeper governance gap is that organisations leave secrets in web-reachable locations and then depend on detection to compensate. In identity terms, this is a standing-secret problem, and it remains a common source of downstream compromise.

Verification trust gaps will keep widening as AI providers add crawler ecosystems faster than defenders can govern them. GreyNoise notes multiple AI crawler names across multiple companies, but each brand's published address list is only useful if teams actually enforce it. That creates a governance burden across security, platform and IAM teams: maintain authoritative allowlists, review who can waive controls, and ensure crawler identity is not treated as self-attested truth.

Secret sprawl and crawler spoofing reinforce each other. The more secrets are copied into environment files, backup files and ad hoc password stores, the more profitable forged scanning becomes. That makes secret lifecycle discipline, not just network filtering, the primary risk reducer. Practitioners should view this as a governance signal to reduce secret footprint and formalise machine-access verification across public-facing services.

From our research library:

What this signals

Secret exposure is outpacing traditional crawler trust models. Once teams let a bot name waive a control, they are turning identity into a string comparison instead of an authenticated decision. The practical response is to move trust to publisher address lists, path restrictions and secret hygiene, not to the user-agent header.

Machine-identity governance now sits at the intersection of web access, secrets management and IAM. If a crawler exception can unlock access to sensitive paths, then the exception itself is part of the identity perimeter. Teams should review where automated clients are implicitly trusted and close the gap before leaked credentials become reusable access.

For defenders, the named concept here is the verification trust gap. It describes the space between a claimed automated identity and the evidence required to trust it. Closing that gap means validating source addresses, constraining secret exposure and treating every public credential path as a governance failure, not just a scanning event.


For practitioners

  • Verify crawler identity against published address ranges Require a match between the claimed crawler name and the operator's published source IP ranges before granting any access exception or control waiver.
  • Remove secrets from web-accessible paths Audit web roots, build artefacts and application directories for .env files, credentials directories and backup files, then relocate or remove anything that contains live secrets.
  • Alert on credential file requests Create detections for requests to /.env, /.aws/credentials, /.git/config and similar high-risk paths because legitimate crawlers have no reason to request them.
  • Refresh crawler allowlists on a schedule Assign ownership for each vendor address list and refetch it routinely so stale ranges do not create false trust in outdated crawler identities.
  • Rotate any key exposed through a web path Treat every cloud key or API token reachable from a public URL as compromised until it is rotated and its downstream access has been reviewed.

Key takeaways

  • Forged AI crawler traffic turns ordinary web requests into a credential-discovery channel when secret files remain publicly reachable.
  • GreyNoise showed that claimed bot names are not proof of identity, especially when the traffic does not come from published crawler address ranges.
  • Defenders should pair name verification with source-address validation, remove secrets from web roots and rotate any exposed credentials immediately.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST CSF 2.0 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Non-Human Identity Top 10NHI-04 — Insecure AuthenticationForged crawler names exploit weak authentication of machine identity at the request boundary.
NHI-02 — Secret LeakageThe scanners specifically probe for exposed .env files and credential stores.
NHI-07 — Long-Lived SecretsWeb-exposed keys become persistent reuse risks if they are not rotated after exposure.
Recommendation — Validate automated clients with authenticated evidence, not self-declared user-agent strings. Remove secrets from web-reachable paths and revoke any credentials exposed to public traffic. Rotate any long-lived secret that has been reachable from a public URL.
MITRE ATT&CKTA0006;TA0010 — Credential Access; ExfiltrationThe observed traffic is credential discovery leading toward credential acquisition and theft.
Recommendation — Map secret-harvesting scans to TA0006 and TA0010, then prioritise exposed credential paths for detection.
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsCrawler allowlists are access decisions that must be tied to verified entitlements.
Recommendation — Enforce verified access decisions for crawler exceptions under PR.AA-05.
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementThe article focuses on secret and key exposure, which falls under authenticator lifecycle control.
Recommendation — Apply IA-5 to manage, rotate and revoke exposed API keys and other authenticators.

Key terms

  • Crawler impersonation: Crawler impersonation is the practice of sending web requests that claim to come from a legitimate automated bot while using different infrastructure or behaviour. The technique exploits trust in request metadata, especially user-agent strings, and can be used to bypass allowlists or reach sensitive paths.
  • Secrets Leakage: Secrets leakage is the exposure of credentials such as API keys, tokens, or certificates in places where they can be discovered and reused. The risk is not just disclosure, but unauthorized authentication that turns a coding or pipeline mistake into active access.
  • Machine identity verification: Machine identity verification is the process of proving that an automated client is the entity it claims to be, using stronger evidence than a self-reported name. For crawlers and services, this usually means validating source addresses, certificates, tokens or other trusted assertions before granting access.
  • Web-root secret exposure: Web-root secret exposure means sensitive files containing credentials or keys are stored in locations reachable from the public web. Once those paths are exposed, routine scanning can become credential discovery, which is why placement and access control are part of the security boundary.

Deepen your knowledge

NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, machine identity security and secrets management. It helps practitioners connect identity controls to the wider security programme that protects public-facing services.
NHIMG Editorial Note
Published by the NHIMG editorial team on October 16, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org