aws-sns-message-validator
Validator for AWS SNS messages.
What it is and what it does
This package solves a specific gap in the AWS SDK for Python: validating and verifying the authenticity of messages received at an HTTP endpoint subscribed to an SNS topic. AWS SNS sends HTTP POST requests to subscriber endpoints, and each message includes a cryptographic signature that must be verified before processing. The package implements this verification logic according to the official AWS documentation, which AWS itself does not provide in the Python SDK (though example code exists for Java).
The package depends on requests, requests-cache, and cryptography to handle HTTP operations and signature verification. It is designed to be integrated into a web framework like Flask to validate incoming SNS notifications before your application processes them. The repository includes a Flask example showing typical usage patterns.
Use it for:
- Validate SNS messages at an HTTP endpoint before processing them in a web application.
- Verify the authenticity of SNS notifications to prevent processing forged or tampered messages.
- Implement a secure SNS HTTP subscriber without duplicating signature verification logic.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Validates AWS SNS HTTP endpoint messages by verifying their cryptographic signatures according to AWS documentation, handling the non-trivial logic that the AWS SDK does not provide.
Yes, if you need SNS message validation and can accept dormant maintenance. The package solves a real gap in the AWS SDK and has no known vulnerabilities. However, verify the license terms first, and be aware that the last release was in February 2022 and the repository has not been updated since October 2023—you will not receive security patches or compatibility updates if AWS SNS specifications change.
Install
aws-sns-message-validator on PyPI
pip
pip install aws-sns-message-validatoruv
uv add aws-sns-message-validatorpoetry
poetry add aws-sns-message-validatorInstalling aws-sns-message-validator
Before you install
Low install friction with three common runtime dependencies. Maintenance is dormant—last release was in February 2022 and the repository has not received commits since October 2023, so security patches or compatibility updates are unlikely.
License in practice
License status is unclear; the package declares no SPDX identifier or raw license text. Verify the actual license terms in the repository before use in proprietary or GPL-sensitive contexts.
Quickstart
pip install aws-sns-message-validator
from aws_sns_message_validator import validate_message
# Validate an SNS message received at your HTTP endpoint
validate_message(message_dict)
Requires Python >= 3.6; the package is dormant and may not be tested against modern Python versions.
Verify before relying
- Whether the package works correctly with Python versions released after October 2023.
- Whether the cryptographic signature verification logic remains compliant with current AWS SNS specifications.
- Actual license terms, since the package metadata does not declare a license.
Package facts
| License | not declared (unclear) |
| Python support | supports the current Python release (>=3.6) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 3 — requests, requests-cache, cryptography |
| Maintenance | dormant — 1,641 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 111,428/month — #12,415 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: aws_sns_message_validator-0.0.5-py3-none-any.whl
Tags
More Cryptography packages
Certifi provides Mozilla's curated collection…
copyleft · top 100 on PyPI
cryptographycryptography provides cryptographic recipes and…
permissive · top 100 on PyPI
rsaPure-Python RSA encryption, decryption,…
permissive · top 1,000 on PyPI
pyOpenSSLpyOpenSSL wraps OpenSSL's SSL/TLS functionality…
permissive · top 1,000 on PyPI
azure-identityProvides Microsoft Entra ID token-based…
unclear · top 1,000 on PyPI
PyNaClPyNaCl provides Python bindings to libsodium…
permissive · top 1,000 on PyPI
aws-cdk.aws-sns-subscriptionsProvides AWS CDK constructs for subscribing SNS…
permissive · top 15,000 on PyPI
cursiveCursive validates digital signatures using…
permissive · top 15,000 on PyPI
amazon-sns-extended-clientExtends boto3's SNS client to publish messages…
permissive · top 15,000 on PyPI
snsSNS utils provides utilities related to AWS…
unclear · top 15,000 on PyPI
standardwebhooksProvides webhook payload verification and…
permissive · top 5,000 on PyPI
requests-sigv4Adds AWS Signature Version 4 signing to…
permissive · top 5,000 on PyPI
requests-aws4authAdds AWS Signature Version 4 authentication to…
permissive · top 1,000 on PyPI
aws-cdk.aws-snsProvides AWS CDK constructs for defining Amazon…
permissive · top 15,000 on PyPI
endesiveEndesive signs and verifies digital signatures…
unclear · top 15,000 on PyPI
rfc3339-validatorValidates whether a string conforms to the…
permissive · top 1,000 on PyPI