skillfed

aws-sns-message-validator

Validator for AWS SNS messages.

aws-sns-message-validator v0.0.5 111.4K downloads/30d#12,415 on PyPI18
License unclear DORMANT released

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-validator

uv

uv add aws-sns-message-validator

poetry

poetry add aws-sns-message-validator

Installing 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

AWS SNS message validationSNS signature verificationAWS SNS HTTP endpointSNS message authenticationvalidate SNS messages python
aws-integrationmessage-validation

More Cryptography packages