Lint an AWS IAM policy (identity, resource or trust policy): grammar errors, ful...
https://code.halowerk.com/v1/iam-policy-lintOverview
Lint an AWS IAM policy (identity, resource or trust policy): grammar errors, full-admin and service wildcards, Allow with NotAction/NotResource, iam:PassRole on any role, public principals and privilege-escalation action combinations.
Protocol
x402 (POST)
Price
$0.0030
Payment Asset
USD Coin
Payment Network
Base
Category
uncategorized
Provider
code
Source
bazaar
Indexed
2026-11-20 13:10:04
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
x402 Payment Validation
Payment Requirements
—
Asset Verified
—
Facilitator
—
Input Schema
{
"body": {
"policy": {
"Statement": [
{
"Action": [
"iam:PassRole",
"ec2:RunInstances"
],
"Effect": "Allow",
"Resource": "*"
}
],
"Version": "2012-10-17"
}
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"limitations": [
"Without the full IAM action catalogue, wildcards are only resolved against the escalation-relevant actions; resource-level support of each action is not checked.",
"Service control policies, permission boundaries and session policies are not evaluated."
],
"result": {
"findings": [
{
"message": "iam:PassRole is allowed for any role (\"*\"): the principal can hand any role, including admin roles, to AWS services.",
"rule": "passrole_any_role",
"severity": "high",
"sid": null,
"source": "https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_passrole.html",
"statement": 0
},
{
"message": "Privilege escalation path \"CreateEC2WithExistingIP\" is possible; allowed actions: iam:passrole, ec2:runinstances (resource scope not considered).",
"rule": "privilege_escalation",
"severity": "high",
"sid": null,
"source": "https://github.com/duo-labs/parliament/blob/574ea45079fadfc5f4559ee8934b818d9066761c/parliament/community_auditors/privilege_escalation.py",
"statement": null
}
],
"policy_type": "identity",
"sensitive_actions_allowed": [
"ec2:runinstances",
"iam:passrole"
],
"statements": 1,
"summary": {
"critical": 0,
"high": 2,
"info": 0,
"low": 0,
"medium": 0
},
"version": "2012-10-17"
},
"service": "iam-policy-lint",
"status": "success"
},
"type": "json"
}