Desktop app for AWS IAM security · macOS, Windows, Linux

IAM risk across all your AWS accounts, from your desktop.

AccessLens finds risky IAM in your AWS accounts, maps who can assume what across them, and watches CloudTrail for risky changes, using your own IAM Identity Center sign-in or access keys. No backend, no account to create, and your findings stay on your machine.

  • Read-only
  • SSO or access keys
  • One IAM role
  • No telemetry
What you get

From one sign-in to every account's IAM risk.

Trust relationships, findings, the role it needs, risk over time and the reports to share, without a server anywhere but AWS's.

See who can reach your admin roles

AccessLens draws accounts, users, roles, external accounts, AWS services and federated identity providers as one graph, then highlights the paths from public, external or federated entry points to admin.

  • Can-assume, trusted-by and passes-role edges, resolved across your accounts
  • Every path from one principal to another, or everything a principal can reach
  • Search, and filter by account, risk and edge type
  • Export as SVG, PNG or JSON
Read the trust graph docs
Optional AI remediation

From finding to fix, written by the model you choose.

Turn on the AI assistant and any finding can get a remediation script: AWS CLI commands in a Bash script, or Python with boto3. Use your own Claude, OpenAI, Gemini or Amazon Bedrock account, a local model through Ollama, or, with no API key at all, Claude Code, Codex CLI or Gemini CLI if you're already signed in.

Careful by default.

Scripts are asked to check which account they're in, read the current state first, and change nothing unless you run them with --apply. No deleting data, no widening access, placeholders instead of invented IDs.

You see what's sent.

It's off until you pick a provider and agree to exactly which finding fields are sent; notes and status stay on your computer. The finding drawer shows the full prompt first, and Network activity lists the provider.

No warranty, said twice.

The app warns you before and beside every script, and AccessLens writes its own no-warranty header at the top of the script. AccessLens never runs it: you review it, then copy or save it.

Your keys, your sign-in.

API keys go to your OS keychain. Bedrock uses your own IAM Identity Center permission set, never the AccessLens role. Local CLIs run in an empty folder with their tools turned off where the CLI allows it.

A finding's details with the optional AI assistant: a No warranty warning, a choice of AWS CLI or Python, a link to see what will be sent to Claude Code, and a Bash script of AWS CLI commands that Claude Code wrote, starting with AccessLens's AI-generated, no-warranty header.
AI remediation script. The optional AI assistant writes a remediation script for a finding, with a no-warranty header. AccessLens never runs it. (Real Claude Code output for a fictitious finding.)
Settings, AI assistant: Claude Code found on this computer and chosen with no API key, an optional model, what AccessLens turns off when it runs Claude Code, and the confirmation of exactly which finding details are sent to Anthropic.
AI assistant settings. Off by default. Choose a provider, or an AI CLI you're already signed in to, and confirm exactly what is sent.
What it checks

Paths to admin, not just settings.

Best-practice checkers tell you a setting is wrong. AccessLens also reads every trust policy and follows who can assume what, across accounts, to show how someone outside could get in and how far they could get.

IAM, trust and escalation

Trust policy analysis

Roles anyone can assume, cross-account trusts without an ExternalId, outside accounts, confused-deputy service trusts, loose OIDC/SAML trusts and IAM Roles Anywhere trusts without certificate conditions.

13 rules, including

  • criticalRole can be assumed by anyone
  • highCross-account trust without ExternalId or conditions
  • highOIDC trust without an audience condition

Policy analysis

Wildcard grants, NotAction and NotResource, AWS-managed admin attachments and 56 privilege-escalation methods, plus who can read secrets, change resource policies or delete infrastructure everywhere, with service control policies and conditions taken into account.

19 rules, including

  • highPolicy grants full administrative access (*:*)
  • highPolicy grants a whole sensitive service
  • highAllow statement uses NotAction

IAM identity hygiene

MFA, root-user use, access-key age and usage, keys AWS found exposed in public code, unused users, roles, services and actions (with trimmed policies), policies attached straight to users, hardware MFA on root and long-term Bedrock API keys.

26 rules, including

  • criticalRoot user without MFA
  • criticalRoot user has access keys
  • criticalAccess key exposed in public code

Resource policies

Public and cross-account exposure in S3 (including directory buckets), KMS, Lambda, SQS, SNS, Secrets Manager, EventBridge, ECR, DynamoDB (tables and streams) and EFS policies, S3 ACLs and Block Public Access, Lambda function URLs, and CloudWatch cross-account observability sinks and links.

35 rules, including

  • criticalS3 bucket is public
  • criticalSecret readable by any principal
  • criticalBackup vault policy allows any principal

Credential and session posture

Password policy, MFA enforcement, IAM Identity Center permission sets, SAML metadata expiry and organization membership.

9 rules, including

  • mediumNo account password policy
  • mediumWeak account password policy
  • mediumMFA isn't enforced by policy

IAM Access Analyzer import

Imports active findings from IAM Access Analyzers you already run. It never creates one.

3 rules, including

  • highAccess Analyzer reports external access
  • mediumIAM Access Analyzer isn't enabled
  • mediumIAM Access Analyzer isn't active

Service access controls

Authentication and access controls on API Gateway, AppSync, Cognito, ElastiCache, MemoryDB, Backup, Transfer Family and VPC endpoints.

25 rules, including

  • highAPI Gateway method without authorization
  • highCognito user pool has MFA off
  • highIdentity pool allows unauthenticated identities

Attack chains

Exposed entry points joined with the role behind them: internet-reachable EC2 instances (critical with IMDSv1) and public Lambda functions whose role is an administrator or can escalate.

2 rules, including

  • highInternet-reachable instance with a role that can reach admin
  • highPublicly invocable Lambda function with a role that can reach admin

Supporting posture checks

Data protection, network exposure and logging, plus active findings imported from AWS Security Hub where you already run it, so one report covers the account. These overlap with Security Hub and Trusted Advisor; if you already act on those, start with the IAM analyzers above. See AccessLens and Trusted Advisor.

Data protection

Encryption at rest, backups, versioning and deletion protection, public EBS and database snapshots and AMIs, key and secret rotation, ECR image scanning, and guardrails and keys for Amazon Bedrock.

79 rules, including

  • criticalPublic EBS snapshot
  • criticalPublic database snapshot
  • highPublic AMI

Network exposure

Security groups and network ACLs open to the internet, IMDSv1, publicly accessible databases and endpoints, and TLS at load balancers and CloudFront.

64 rules, including

  • criticalOpenSearch domain open to anyone
  • criticalPrivate CA policy open to anyone
  • criticalEMR block public access is off

Logging and threat detection

CloudTrail coverage and integrity; Config, GuardDuty, Security Hub and Macie in every scanned region; VPC flow logs, access logs and log retention; the CIS monitoring alarms; and Bedrock invocation logging.

57 rules, including

  • highNo multi-region CloudTrail trail is logging
  • highCloudTrail trail has stopped logging
  • mediumCloudTrail log file validation is off

AWS Security Hub import

Imports active AWS Security Hub findings where you already run it, including GuardDuty and Inspector findings sent to it. It never turns Security Hub on or writes back.

1 rule, including

  • mediumSecurity Hub reports an active finding

Each analyzer is independent. If AWS denies a read, that analyzer's rules are marked as not evaluated and the rest of the scan carries on; findings are never resolved by a missing permission.

What AccessLens installs in your account

One read-only role. That's all.

AccessLens creates nothing in AWS except an IAM role named AccessLensReadOnly with one inline policy: no Lambda functions, buckets, trails, EventBridge rules, Config recorders or Access Analyzers. Monitoring reads the CloudTrail event history your accounts already keep.

  • 187 read actions, each listed. No wildcards, and none of the AWS-managed ReadOnlyAccess or SecurityAudit policies.
  • Trusts only you. Your hub account's Identity Center role for the permission set you chose, with a random ExternalId per account, and your organization ID when it's known.
  • Never reads your data. No s3:GetObject, secretsmanager:GetSecretValue, kms:Decrypt or similar; a test fails if one is added.
  • Easy to remove. Delete the role and nothing else remains.
Read the role line by line
56

Escalation methods

Known IAM privilege-escalation methods, after Rhino Security Labs and Bishop Fox.

187

Read actions

Every permission the role has, listed one by one in 47 explained groups.

1

IAM role

The only thing AccessLens ever creates in an account, and only if you ask it to.

333

Rules

Across 12 independent analyzers, from identity hygiene to logging.

Local-first

No SaaS backend, no account and no telemetry. Findings live in a local database, and the app talks only to AWS endpoints unless you turn on the optional AI assistant. Settings → Network activity lists every host it has contacted.

Read-only, enforced in code

Every AWS call passes an operation allowlist before the request is built, and tests fail if code uses anything else. The one write it can make is creating its own role, after you preview it and type the account ID.

Your sign-in, your choice

IAM Identity Center device sign-in, sharing the AWS CLI's SSO cache, or access keys from an AWS CLI profile, your environment or typed in. Nothing is used until you choose it, and credentials live only in memory.

Auditable

A least-privilege role you can read line by line, with every action listed and no wildcards. Sessions are named accesslens, so they're easy to find in your own CloudTrail.

Local by design

Check every host it talks to.

The same component that enforces the read-only allowlist records every AWS endpoint as each request is sent, and the AI provider if you turn the assistant on. Settings → Network activity shows the list, and keeps it across restarts, so your security team can audit it.

  • AWS endpoints only, unless you turn on the optional AI assistant. No telemetry, no analytics and no update checks. Your browser opens the AWS sign-in page; the app never does.
  • Nothing secret on disk. Role credentials stay in memory and are wiped on sign-out. The SSO token sits in the AWS CLI's own cache, as it would for aws sso login.
  • Your data, your file. Findings live in one SQLite file you can export or wipe, with optional SQLCipher encryption.
How AccessLens protects you
How it works

Four steps to your first scan.

You need IAM Identity Center and a permission set you can sign in with. Nothing else to set up.

  1. Sign in

    Pick an IAM Identity Center profile from ~/.aws/config, or enter your start URL, and approve the code in your browser. An existing aws sso login session is reused. Or sign in with access keys.

  2. Pick the hub

    With SSO, choose the account and permission set AccessLens works from; with access keys, their identity is the hub. Its credentials assume the read-only role in each account you add.

  3. Create the role

    Deploy AccessLensReadOnly with the generated CloudFormation, Terraform or CLI, or let AccessLens create it after you review the exact policies.

  4. Scan

    Progress streams per collector and analyzer. Anything AWS denies is recorded as skipped and the rest of the scan carries on.

FAQ

Questions security teams ask.

Does AccessLens send my data anywhere?

Not to us. There's no AccessLens backend, account or telemetry. Scan results are stored in a SQLite file on your computer, and the app's only network traffic is to AWS API endpoints. Settings → Network activity lists every host it has contacted, and it doesn't check for updates.

The one exception is the optional AI assistant, which is off by default. If you turn it on, generating a script sends that finding's details to the AI provider you chose, after you've agreed to exactly which fields, and the provider shows up in Network activity.

Can AccessLens write the fix for me?

Yes, if you turn on the optional AI assistant. Any finding can get a remediation script, as AWS CLI commands in a Bash script or as Python with boto3, written by the model you choose. Scripts are asked to check the account, read before they change anything, and change nothing without --apply.

The script comes with no warranty, and says so at its top. AccessLens never runs it: read it, test it in a non-production account, and run it yourself if it's right.

Do I need an API key for the AI assistant?

No. If Claude Code, Codex CLI or Gemini CLI is installed and signed in, AccessLens finds it and can use it with your existing subscription. It also finds a local Ollama. You can use Amazon Bedrock with your own IAM Identity Center sign-in, or an Anthropic, OpenAI or Google Gemini API key, kept in your OS keychain.

What does AccessLens install in my AWS accounts?

One IAM role, AccessLensReadOnly, with one inline policy that lists 187 read actions and no wildcards. Nothing else: no Lambda functions, S3 buckets, trails, EventBridge rules, Config recorders or Access Analyzers. The What it installs page shows the exact policies and templates.

Can AccessLens change anything in my accounts?

Only one thing, and only if you ask: it can create its own read-only role. Before it does, you see the exact trust and permissions policies, choose the permission set to use, tick a confirmation and type the account ID. It never modifies or deletes an existing role, and every other AWS call is checked against a read-only allowlist before it's sent.

If you'd rather it never write at all, deploy the role yourself with the CloudFormation, Terraform or AWS CLI it generates.

Can I sign in with access keys instead of IAM Identity Center?

Yes. IAM Identity Center is recommended, but you can also sign in with an AWS CLI profile (static keys, credential_process or a role it assumes), keys in AccessLens's environment, or keys you type in. Nothing is used until you choose it, and keys you type in are kept in your OS keychain only if you ask.

Long-lived keys don't expire, so they're riskier: if you use them, use keys for an IAM user that can only assume the AccessLens role. With keys, one-click role creation isn't available; deploy the role with the generated CloudFormation, Terraform or AWS CLI.

Does it replace IAM Access Analyzer?

No, it works alongside it. If you already run IAM Access Analyzer, AccessLens imports its active findings next to its own. If you don't, it reports that, and never creates an analyzer for you.

Doesn't AWS Trusted Advisor already do this?

Partly, and you should keep using it. Trusted Advisor, especially on paid Support plans and with Security Hub, covers a broad range of best-practice checks, and only AWS can warn you about access keys exposed on the internet.

AccessLens goes deeper on IAM: it checks every role's trust policy, follows chains of role assumption across accounts to find paths to admin, and checks principals against 56 privilege-escalation methods. Its IAM checks don't depend on your Support plan.

Will AccessLens make us compliant with SOC 2 or CIS?

No tool can do that. AccessLens maps its findings to subsets of the CIS AWS Foundations Benchmark (3.0.0 and 5.0.0), SOC 2, ISO 27001, NIST 800-53, PCI DSS 4.0.1 and the HIPAA Security Rule, so you can see which controls have open findings and export the evidence. It doesn't certify or attest anything; check the mapping against the official texts before relying on it in an audit.

Does it watch my accounts when it's closed?

No. Scheduled scans and CloudTrail alerts run only while AccessLens is open or in the tray, and CloudTrail events can take about 15 minutes to appear. You can set it to launch at login. Nothing is installed in AWS to watch for changes.

How much does it cost?

AccessLens is free for personal use. Licences for work use are coming; the pricing page will have the details.

Which platforms does it run on?

macOS 11 or later (Apple silicon and Intel), Windows (x64 and Arm64) and Linux (x64 and arm64; .deb, .rpm and AppImage). Builds aren't code-signed or notarized yet, so your OS will ask you to confirm the first launch; the download page explains how.

See your IAM risk without handing anyone your keys.

Sign in with IAM Identity Center, create one read-only role, and scan. Your findings stay on your machine.