Radar ยท Against an intrusion

Radar against an intrusion run by agents

Offensive agent frameworks (ARTEX is the one in the news in 2026) split an intrusion across several agents: one finds a way in, others log in with what was found, read every store that login can reach for more keys, and try those. Reported intrusions reach privileged access in hours, in bursts of dozens of calls in seconds.

Radar does not stop the way in. Patching, a firewall and endpoint protection do that. Radar is for the part that follows, where the intruder is a valid login behaving like a machine: it notices within seconds to a minute or two, says who and where, and asks your own responder to cut the credential.

Seven pieces. Each works without the others, except that a decoy identity in AWS, and the denial-burst and shared-source detectors there, see through the AWS connector.

PieceWhat it catchesWhat you set up
Decoy keysSomeone tried a key that only exists where your real keys are kept, at the address kept beside itPaste two lines. Nothing to instrument.
Decoy identitiesSomeone used a cloud identity that nothing of yours usesCreate an identity with no permissions, keep its key with your real ones, and tell Radar its id.
Sweep detectorOne identity reading its way through everything it can reachNothing. It runs on the events you already send.
Denial-burst detectorOne identity refused on many different calls: a stolen key finding out what it may doNothing, once refused calls reach Radar. The AWS connector sends them.
Shared-source detectorUnrelated identities asking whose key they hold, from one addressNothing, with the AWS connector.
AWS connectorAll of the above in an AWS account, from CloudTrailPoint a Firehose at one address.
Response stepNothing by itself: it gets the credential disabledSwitch it on, and run a small responder on your side.

1. Decoy keys

An intruder that reads a place where secrets are kept takes the keys it finds and tries them. A decoy key is one of those keys. It looks like a model gateway's address and key, and the address is one Overwing answers.

curl -X POST https://overwing.ai/api/v1/swarm/decoys \
  -H "Authorization: Bearer $OVERWING_API_KEY" -H "Content-Type: application/json" \
  -d '{"surface_id": "ci-secrets", "kind": "key", "label": "llm gateway"}'

The answer holds content, shown once and never stored, and the same two values apart as base_url and key:

OPENAI_BASE_URL=<base_url>
OPENAI_API_KEY=sk-...

Keep those lines where real keys are kept: an env file on a build machine, a CI variable, a secrets note, a parameter in the store. Keep the address directly above the key, as they come, and add no comment that says what they are: a tool that tries a key at the address beside it looks for the two together, and an intruder reads a comment too. surface_id is your own name for that place; it does not have to be a surface you send events for. Use one key per place, so an incident says which place was read.

format chooses the form the lines take. It is one of openai, anthropic, gateway, json:

formatcontent
openai (the default)OPENAI_BASE_URL directly above OPENAI_API_KEY.
anthropicANTHROPIC_BASE_URL above ANTHROPIC_API_KEY. The address stops before /v1: an Anthropic client adds /v1/messages itself.
gatewayLLM_GATEWAY_BASE_URL above LLM_GATEWAY_API_KEY, the names every decoy key had before formats.
json{ "base_url": ..., "api_key": ... }, for a config file.

The names are the ones that get taken. In one reported theft (Northflank), the scripts uploaded secret variables and files whose names start with an AI provider (OPENAI, ANTHROPIC and others) or a general key term (including LLM), and values in a credential format such as OpenAI sk-.

The first request that carries the key opens a critical incident: decoy_credential, naming the place, with the address the request came from as the actor (ip:203.0.113.7) and the user agent and path in the timeline. It is recorded whatever path and method the request used. The request's body is never read.

  • Nothing legitimate uses a decoy key, so there is no threshold and nothing to tune.
  • At most 30 uses of one key are recorded a minute. The incident is open after the first: the scan runs before the request is answered.
  • A key's uses are Overwing's own events. They are never counted against your month's events, and never refused for it or for the number of surfaces you have.
  • Retire a key like any decoy: DELETE https://overwing.ai/api/v1/swarm/decoys/{id}. A retired key is answered as a wrong key and records nothing.
  • A key is only seen when it is tried at its own address. An intruder that copies it and never tries it is not seen by this piece.
  • Only Overwing writes events at a decoy key's place. An event of your own that names an entry starting credential: is refused, and the AWS connector skips one. So a tried key is something Overwing saw, never something a sender claimed, whoever holds your ingest key.
  • A key minted before the shape of keys changed (it starts sk-gw-) keeps working where it is planted.

What the address answers

The address answers the way a model gateway does, to anyone, so that nothing about it says what it is:

  • It has a gateway's routes under /v1: GET /models and /models/{id}, POST /chat/completions, /completions, /embeddings, /responses, /messages, /images/generations, /audio/speech and /audio/transcriptions, and GET /key/info and /health.
  • On one of those, a request with no key or a wrong one is answered 401. The wrong method is 405 with Allow. Any other path is 404.
  • A decoy key gets a short list of models from GET /models, a model by its id (and 404, model not found, for an id that is not in the list), and 429 with Retry-After on everything else.

There is no model behind it and none is ever called. So an intruder that asks the address a question before relying on it gets a rate limit and no answer, and may drop the key as dead. Overwing has seen the request by then, which is all the decoy is for.

Where the address is

base_url in the answer says where your key points.

  • A deployment of Overwing can name a separate domain for decoy keys. On that domain the base is https://<domain>/v1, as a real gateway's is, and the domain serves nothing else: every other path is the gateway's own 404, with none of Overwing's site, API or response headers behind it.
  • Where no such domain is named, or the one named does not answer (the answer then carries a warning), the base is https://overwing.ai/api/gw/v1. It answers the same way, without the site's own headers, but anyone who looks at the host sees whose it is. A key planted with that address is a weaker decoy: it catches the tool that tries everything, not the intruder who looks first.

What cannot be hidden either way: the address is hosted on Vercel and its response headers say so, and a Vary header on each answer lists request headers of the Next.js framework. An intruder who inspects the headers before trying a key can see both.

A note that leads to a key

curl -X POST https://overwing.ai/api/v1/swarm/decoys \
  -H "Authorization: Bearer $OVERWING_API_KEY" -H "Content-Type: application/json" \
  -d '{"surface_id": "wiki", "kind": "notes", "with_key": true, "label": "on-call handover"}'

This mints a handover note whose text ends with the two lines of a decoy key minted with it. The answer holds the note's content, to write to artifact_id like any minted entry, and under key_decoy the key's own record. The two are separate decoys under one label: the one you send, or the note's name when you send none. format applies to the key's lines.

An agent that reads the note is seen where the note lies, if that surface sends events. One that then tries the key it found there is seen wherever it is. The pair counts as two toward your 500 decoys. Retire both when you remove the note.

What a decoy key is worth

A decoy key is taken more often than it is tried. Plan for that.

  • Most automated tools test a key shaped like a vendor's at the vendor's own address. They send nothing to the address kept beside it, so they never reach a decoy key. A decoy key is tried by the minority of tools and agents that honour the address beside a key.
  • In one study (THOR Collective, one honeypot server run for 124 days), fake AI endpoints received 45 requests in four months, while .env-family bait files were grabbed 2,978 times in three months. The two counts cover different periods and are not a ratio. They do show the order of things: bait is grabbed in the thousands, and a fake endpoint is tried in the dozens.
  • The first use is usually one cheap call: a list of models, or a completion of a few tokens. The incident opens on that call.
  • It can come late. In the same study, among 103 stolen keys that were used, the median time from theft to first use was 36 minutes 32 seconds; 92% were first used within a day; the slowest took 37.6 days. In another case (LiteLLM), a key committed to a public repository on 27 May 2026 was used by the attacker on 10 October, 136 days later by our count.
  • It usually comes from somewhere other than where the key was taken. In the THOR study, 16 of 137 keys with a known thief were first used from the thief's IP (12%).

So:

  • Keep a decoy key in place for months, not days.
  • Use one key per place. The key is what says which place was read.
  • Treat an incident as "this place was read", not as "this address is the intruder". rotate_secrets for the place is the action that matters; block_source names an address that may be a relay or a reseller's checker.
  • For a cloud account, use a decoy identity as well (next section): a cloud key is tried at the cloud, and in the study above those were the keys that got used.

2. Decoy identities

A decoy key is seen when it is tried at Overwing's address. A cloud key is tried at the cloud. So for a cloud account the decoy is an identity: one you create yourself, that may do nothing and that nothing of yours uses, with its access key kept where your real keys are kept. Overwing never sees the key.

This is the decoy that gets tried. In one study (THOR Collective), of at least 413 AWS canary keys handed out, 155 were used. Those were real keys with no permissions that alerted on use, which is what a decoy identity is. In the same study, fake AI endpoints received 45 requests in four months, while .env-family bait files were grabbed 2,978 times in three months (different periods: not a ratio).

For AWS, the steps:

  1. Create an IAM user with no policy at all. No attached policy, no inline policy, no group. Name it like the users your account already has.
aws iam create-user --user-name deploy-legacy
  1. Create one access key for it.
aws iam create-access-key --user-name deploy-legacy
  1. Keep the key where real keys are kept, in the form real ones have there. A profile with a believable name in ~/.aws/credentials:
[deploy-legacy]
aws_access_key_id = <AccessKeyId from step 2>
aws_secret_access_key = <SecretAccessKey from step 2>

Or the two lines AWS_ACCESS_KEY_ID=... and AWS_SECRET_ACCESS_KEY=... in an env file or a CI variable. No comment that says what it is.

  1. Register the user's ARN with kind: "identity":
curl -X POST https://overwing.ai/api/v1/swarm/decoys \
  -H "Authorization: Bearer $OVERWING_API_KEY" -H "Content-Type: application/json" \
  -d '{"surface_id": "ci-secrets", "kind": "identity", "actor_id": "arn:aws:iam::111122223333:user/deploy-legacy", "label": "old deploy user"}'

Or in the dashboard, at overwing.ai/dashboard/swarm: choose an identity of your own under "Looks like".

  1. Connect the account's CloudTrail with the AWS connector (section 6), if it is not connected yet.

Nothing is minted and Overwing never holds the key: you create the identity and its key in your own account. surface_id is your own name for the place the key is kept. actor_id is the identity as events name it: for an IAM user through the AWS connector, its ARN; for a role, the role's ARN, which is the principal of every session of it.

From then on the calls that key makes are recorded by CloudTrail in your own account, the connector reports them, and any event at all whose actor or principal is that id opens a critical incident, decoy_identity, on its own: nobody works as that identity, so one call means its key was taken and tried. The call is nearly always a refused one, and the connector sends refused calls. The incident names the place the key was kept, for rotate_secrets, and the addresses the calls came from, for block_source.

  • The events are your own senders', not Overwing's: they arrive with your ingest key, from the cloud's audit log. For the response step a decoy identity therefore counts under decoy, not observed (section 7).
  • A call CloudTrail does not record is not seen: reads of objects in a bucket whose data events are not logged, for one. The identity call a stolen key usually starts with, sts:GetCallerIdentity, is recorded.
  • An address is named only when it is one address. A call made through a cloud service carries the service's name as its source, and names none.
  • Past your month's allowance, events by a decoy identity are still stored and scanned, like events that touch any decoy.
  • Entry names starting identity: are reserved like credential:: an event that names one is refused, and the connector skips one.
  • It is not looked for in a fire drill.
  • Give the identity no permissions at all, and do not use it for anything, a test included: any use is an incident.
  • Only AWS has a connector. An identity in another cloud is a decoy only if you send that cloud's audit events yourself.

3. The sweep detector

The other detectors count strangers acting together. A logged-in intruder is one known identity. sweep fires when one actor reads or lists 20 or more distinct entries it did not write, within 60 seconds, on one surface or across several. It runs on the events you already send; there is nothing to switch on.

A sweep alone is a medium incident. With a decoy touched by the same actor it is critical. The incident recommends revoke_identity and names the actor.

It is built to be hard to walk around:

  • Counted for a principal too. The actors of one principal are counted together as well as each alone, so a role's sessions are one identity and a new session name does not start a new count. For a principal, what any of its actors wrote is its own: a team reading its own output is not a sweep. The finding is then named for the principal and lists the actors.
  • Only a write of content makes an entry one's own. A write labelled attribute (tagging an object, changing its access list) does not, and neither does a write that was refused.
  • A refused call is not counted. It read nothing. Refusals are counted by the denial-burst detector.
  • A read under a prefix counts as 2 entries (prefixWeight), each time it is made: a read of everything under a path, such as one page of Parameter Store's GetParametersByPath, returns many entries and names none.
  • Going slowly is still a sweep. 150 or more distinct entries (slowArtifacts) over the whole scan window is a sweep at any pace.
  • Secrets weigh more. A sweep of which at least half is on a surface where secrets are kept is high on its own. Those surfaces are the ones the AWS connector names secretsmanager:, ssm:, ec2-userdata:, lambda-config:, ecs-taskdef:, codebuild: and cloudformation:, and any surface you give the kind secrets.

In one intrusion Elastic Security Labs described, an EC2 instance role sent 56 user data requests (DescribeInstanceAttribute) in 141 milliseconds from one assumed-role session. Through the connector that is one sweep, flagged for secrets, in a high incident.

These rules also catch ordinary work that reads in bulk. A service that loads its configuration by path reads under a prefix: two such reads within 60 seconds reach the default threshold. A role whose sessions between them read 150 different objects in a window is a slow sweep. Exempt what you run on purpose, by the actor's name or by its principal's.

A crawler, an indexer or a backup job you run on purpose reads like a sweep. Exempt it by name, or change the numbers:

curl -X PUT https://overwing.ai/api/v1/swarm/config \
  -H "Authorization: Bearer $OVERWING_API_KEY" -H "Content-Type: application/json" \
  -d '{"sweep": {"exemptActors": ["svc-backup", "search-indexer"], "minArtifacts": 40}}'

Up to 50 names can be exempt. A name is an actor's or a principal's: a role's name exempts every session of it. An exempt actor still trips every other detector, decoys included. A PUT changes only what it names: this one leaves every other setting you have changed as it was, and exemptActors itself is replaced by the list you send.

4. The denial-burst detector

Whoever holds a stolen cloud key does not know what it may do. They ask: an identity call, then listings and descriptions across services. A key with few permissions is refused on most of them, and that comes before anything is read. Google reported, in at least one operation, 27 events in 23 seconds of active burst time, described as rapid probing of AWS permissions across different security groups.

denial_burst fires when one identity is refused on 10 or more different calls within 60 seconds. A call is an entry on a surface; the same call refused over and over counts once, so a job with a missing permission, retrying, is not a finding. It is counted for a principal when there is one, and otherwise for the actor. A dry run counts with the refusals.

The finding says how many calls were refused and over how long, and how many of the same identity's other calls in that span succeeded, naming up to five: the calls that were allowed are what the key can do. Alone it is a medium incident, and it recommends revoke_identity. It is high when the same identity also swept, and when it is about secrets: at least half the refused calls were on a surface where secrets are kept, or one of the calls that succeeded in between read from one.

It works on any event that says it was refused: the AWS connector marks them, and your own senders can, with an error_code label (overwing.ai/radar/quickstart). A person with few permissions clicking through a cloud console is refused on many calls too. Change the numbers if that is ordinary for you:

curl -X PUT https://overwing.ai/api/v1/swarm/config \
  -H "Authorization: Bearer $OVERWING_API_KEY" -H "Content-Type: application/json" \
  -d '{"denialBurst": {"minDenied": 20, "windowSeconds": 60}}'

5. The shared-source detector

shared_source fires when 3 or more identities with no principal in common make the identity call (sts:GetCallerIdentity) from one address within 10 minutes: someone sorting through keys that are not theirs. Only a source that is one address counts. Alone it is a low incident; in an incident with another finding it raises the severity one step, up to high.

Your own gateway, which all your workloads leave through, will look like this. Exempt it:

curl -X PUT https://overwing.ai/api/v1/swarm/config \
  -H "Authorization: Bearer $OVERWING_API_KEY" -H "Content-Type: application/json" \
  -d '{"sharedSource": {"exemptSources": ["203.0.113.10"]}}'

It is not run in a fire drill.

6. The AWS connector

An intruder with a cloud credential works where none of your own code runs. CloudTrail already records every call there. The connector reads those records as Radar events, so the detectors and your decoys cover an AWS account with nothing instrumented.

POST https://overwing.ai/api/v1/swarm/connectors/aws

It accepts, as they are:

  • a CloudTrail log file: {"Records": [...]}
  • an EventBridge event with a CloudTrail record in detail
  • a Firehose HTTP delivery of either, answered in the form Firehose requires

The key goes in Authorization: Bearer, or, from a Firehose, in X-Amz-Firehose-Access-Key. A key of scope swarm is enough, and is the one to use: it can send events and nothing else.

CloudTrailRadar
S3 GetObject, HeadObject, PutObject, CopyObject, DeleteObject, ListObjectsV2 and their relativessurface s3://bucket, the key (or the listed prefix) as the entry
Secrets Manager GetSecretValue, BatchGetSecretValue, ListSecrets, PutSecretValue, ...surface secretsmanager:account, the secret's id as the entry
Parameter Store GetParameter, GetParameters, GetParametersByPath, PutParameter, ...surface ssm:account, the parameter's name as the entry
Parameter Store GetParametersByPath; Secrets Manager BatchGetSecretValue with filtersa read of everything under a prefix: the path (or the name filter) as the entry, labelled read_scope: "prefix"
EC2 DescribeInstanceAttribute for userDatasurface ec2-userdata:account, the instance id as the entry
Lambda GetFunction, GetFunctionConfigurationsurface lambda-config:account, the function's name
ECS DescribeTaskDefinitionsurface ecs-taskdef:account, the task definition
CodeBuild BatchGetProjectssurface codebuild:account, one event for each project
CloudFormation GetTemplate, and DescribeStacks naming a stacksurface cloudformation:account, the stack's name
STS GetCallerIdentity, GetSessionToken, GetFederationTokensurface aws:account, the call as the entry (sts:GetCallerIdentity), a read
IAM List*, Get*, SimulatePrincipalPolicy, GenerateCredentialReport; Organizations List*, Describe*surface aws:account, the call as the entry (iam:ListUsers)
IAM CreateAccessKey, CreateUser, CreateLoginProfile, UpdateAssumeRolePolicy, AttachUserPolicy, AttachRolePolicy, PutUserPolicy, PutRolePolicy, CreateOpenIDConnectProvider; STS AssumeRoleWithWebIdentitysurface aws:account, the call as the entry, a write, with the user or role it was aimed at as the label target
any other call of any service that was refused for want of permission, or was a dry runsurface aws:account, the call as the entry (ec2:DescribeInstances); a name starting List or Describe is a list, Get, Head, BatchGet or Select a read, Delete, Remove or Terminate a delete, anything else a write
userIdentity.arnthe actor; for an assumed role, the role is the principal
a caller with no identity (an anonymous read of a public bucket)the actor is ip: and the source address, when that is one address
every other call, and calls AWS's own services makeskipped

A call that was refused is kept with its error code, on its own store when it has one. A call counts as refused when its code is AccessDenied, AccessDeniedException, UnauthorizedOperation, Client.UnauthorizedOperation, AuthorizationError or ForbiddenException, or holds AccessDenied or Unauthorized. A dry run (Client.DryRunOperation) is kept the same way, labelled dry_run.

Kept from each record: the names, the time, and short labels. Five as before: the API call, the region, the source address, the user agent, an error code. And where they apply: read_scope and recursive on a read under a prefix, attribute on S3 PutObjectTagging and PutObjectAcl (they change an object's labels, not its content), dry_run, session: "web_identity" on every call of a session opened with an identity provider's token, and target. A CloudTrail record has no contents, and nothing of a call's answer is stored.

A session opened by web identity that then creates an access key (a CI job's token turned into a lasting key) is stored and shown in a timeline with those labels. It is not a finding of its own yet.

Calls on the account are recorded under the name of the call, so two identities that made the same call do not land in one incident for that alone.

To set it up on AWS: a trail that logs data events for the buckets you care about (object-level calls are not logged by default), an EventBridge rule, and a Firehose delivery stream with an HTTP endpoint destination pointing at the address above, buffering 60 seconds or 1 MiB. The rule matches CloudTrail API calls on S3, Secrets Manager, Parameter Store, IAM and Organizations, four STS calls, the five kinds of configuration read above, and any call with an access-denied error. A CloudFormation template for the rule and the stream is at overwing.ai/radar/aws-connector.yaml; its comments say what each part of the pattern is for. Read it before you deploy it: it is a starting point, written from AWS's documentation and not run in an account of ours. Each call Radar reads is one event against your month, refused calls included; the rest of what the rule matches is skipped and not counted.

Limits: 5,000 records and 4,000,000 bytes a request, 120 requests a minute. Events count against the month like any others. Past the month's allowance a delivery is refused with 402 and the Firehose shows it failing, but the events in it that touch a decoy are still stored and scanned; a swarm.allowance webhook tells you once at 80% and once at the first refusal. A call on a bucket past your 200 surfaces is left out and the rest of the delivery is stored. With a 60 second buffer, a finding follows the call by one to two minutes; a delivery that arrives late is still scanned.

To plant a decoy in a bucket, mint one, write its content to the key it names, and Radar will see any read of it through the connector:

curl -X POST https://overwing.ai/api/v1/swarm/decoys \
  -H "Authorization: Bearer $OVERWING_API_KEY" -H "Content-Type: application/json" \
  -d '{"surface_id": "s3://acme-build-artifacts", "kind": "credentials"}'

7. The response step

Overwing acts on nobody's systems. It holds none of your credentials and runs nothing. What it can do is ask, and it asks only when you switch this on:

curl -X PUT https://overwing.ai/api/v1/swarm/config \
  -H "Authorization: Bearer $OVERWING_API_KEY" -H "Content-Type: application/json" \
  -d '{"response": {"enabled": true, "minSeverity": "critical", "evidence": "observed"}}'

evidence says whose word is enough for your responder to act on with no person in between. It is observed unless you change it.

evidenceAsks for the actions that come from
observedA decoy key being tried. Overwing sees that itself, at its own address. Nobody can report it.
decoyAlso a touch of a decoy on a surface you send events for, and a use of a decoy identity.
anyEvery finding, a sweep and a denial burst included.

With decoy or any, anyone holding a key that can send events can make your responder act. An event is a claim by whoever sent it, and the key that sends events sits in the infrastructure being watched: an intruder who finds it can report a decoy touched, a decoy identity used from any address, or a sweep, by any identity it likes. So before you choose either, protect the identities that must never be disabled, with the responder's protect list below. With observed, the other findings still open incidents and still reach you in the webhook's recommended_actions, for a person to weigh.

From then on, the webhook of an incident at or above that severity carries:

"response": {
  "requested": true,
  "actions": [
    { "action": "rotate_secrets", "surface": "ci-secrets", "reason": "...", "detectors": ["decoy_credential"] },
    { "action": "block_source", "surface": null, "actors": ["ip:203.0.113.7"], "reason": "...", "detectors": ["decoy_credential"] }
  ],
  "report_to": "https://overwing.ai/api/v1/swarm/incidents/swi_.../responses"
}

Each action says in detectors which kinds of evidence it comes from. An identity to disable is listed once for each kind that named it: revoke_identity from a touched decoy and revoke_identity from a sweep are two actions, and a name that only the sweep gave is never listed under the decoy's. block_source names single addresses only, each as ip: and one IPv4 or IPv6 address.

The actions a responder can be asked for are revoke_identity, block_source, rotate_secrets, quarantine_surface. A fire drill's incidents never ask. Without the switch, response is {"requested": false} and the webhook is what it always was: a notice.

An open incident that comes to name something new to act on (a second identity touches the same decoy, the key is tried from another address) sends swarm.incident.updated with the whole list again, even when its severity has not changed. A webhook your endpoint does not take is sent again by a later scan, up to 5 times in all, while the incident is open.

The responder

overwing-responder is a small program you run on your side, with your own credentials. Its source is public so you can read all of it: github.com/frod27/overwing-responder. It needs Node 22.18 or later and has no dependencies.

git clone --branch v0.2.0 --depth 1 https://github.com/frod27/overwing-responder
cd overwing-responder
node src/cli.ts check --config config.json
OVERWING_WEBHOOK_SECRET=... OVERWING_API_KEY=... node src/cli.ts serve --config config.json

Clone a release tag, as above, not the main branch: this program runs beside your cloud credentials, and a tag is what was released. Set your Overwing webhook to the address the responder is reachable at. OVERWING_API_KEY is used only to report back: give the responder a key of scope respond, which can report on an incident and can do nothing else. A key of scope swarm cannot report: it sits in the infrastructure being watched, and whoever finds it there must not be able to write that an incident was contained. The responder's config says which of your own commands answers which request. The rule in this example answers revoke_identity, which is asked for only with evidence set to decoy or any; with observed, the requests to write rules for are block_source and rotate_secrets:

{
  "dry_run": true,
  "min_severity": "critical",
  "max_actions_per_hour": 10,
  "protect": ["arn:aws:iam::\\d{12}:user/break-glass"],
  "rules": [
    {
      "name": "quarantine an IAM user",
      "action": "revoke_identity",
      "match": "arn:aws:iam::\\d{12}:user/([A-Za-z0-9+=,.@_-]{1,64})",
      "run": ["aws", "iam", "put-user-policy", "--user-name", "{1}", "--policy-name", "overwing-quarantine", "--policy-document", "file://deny-all.json"]
    }
  ]
}

What it will and will not do:

  • It refuses any request whose signature does not match your webhook secret, and any older than five minutes.
  • It runs nothing unless a rule matches the target in full. No rule, no action.
  • A command is a list of arguments, run with no shell. A target can fill an argument and can never choose the program.
  • A target in protect is never acted on.
  • A target is acted on once for an incident, and there is a cap on actions an hour.
  • dry_run is on until you turn it off: it logs and reports what it would have run.

It reports each step back, and the incident keeps the record:

POST https://overwing.ai/api/v1/swarm/incidents/{id}/responses
{ "action": "revoke_identity", "target": "arn:aws:iam::111122223333:user/svc-reports", "status": "done", "detail": "rule: quarantine an IAM user; exit 0", "by": "responder-east" }

status is done, failed, skipped or dry_run. A report is kept only for an action and a target the incident itself names: one of its actions that a responder can carry out, with a target that is one of that action's actors, or its surface. Anything else is refused with 422. The incident then shows responses and contained_in_seconds: the time from the incident opening to the first action carried out. An incident keeps 50 reports. You can write your own responder instead: verify X-Overwing-Signature (t=<unix seconds>,v1=<hex HMAC-SHA256 of "t.body">), act, and post to report_to.

What this does not do

  • It does not stop the first way in.
  • It does not see a store you neither send events for nor connect.
  • It reads AWS's audit log only. Azure, Google Cloud, Kubernetes and GitHub audit logs are not read by a connector; you can send their events yourself.
  • A refusal is seen only if it reaches Radar. A call the cloud does not log, or a trail that is not delivering, shows nothing.
  • It does not act. Disabling a credential is done by your responder, with your credentials, under your rules.
  • A decoy key that is copied and never tried is not seen. Neither is one taken by a tool that tests keys only at a vendor's own address, which is most of them: a decoy key shaped like a gateway's is tried by the tools and agents that honour the address beside it.
  • A decoy key's address runs no model. An intruder that checks for a real answer before using an endpoint gets none.