
Research
/Security News
Malicious npm Packages Target WhatsApp Developers with Remote Kill Switch
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
sqs-list-filled-queues
Advanced tools
A Python script to monitor and list Amazon SQS queues with messages, featuring real-time updates and AWS console links.
A Python script that lists Amazon SQS queues containing messages and updates the display periodically. This tool leverages the boto3
library to interact with AWS SQS, making it easy to monitor your message queues.
You can run the script directly from the command line. Here are some usage examples:
To list queues and display results once:
sqs-list-filled-queues
To include messages in flight (being processed):
sqs-list-filled-queues --include-in-flight
To watch the queues and refresh every 60 seconds:
sqs-list-filled-queues --watch
To specify a custom refresh interval (e.g., 30 seconds):
sqs-list-filled-queues --watch 30
To adjust the number of worker threads (e.g., 8):
sqs-list-filled-queues --workers 8
To filter queues by name pattern (case-insensitive regex):
sqs-list-filled-queues --pattern "prod" sqs-list-filled-queues --pattern "^test-" sqs-list-filled-queues --pattern "queue$"
To combine options (watch with in-flight messages and pattern filtering):
sqs-list-filled-queues --watch 30 --include-in-flight --pattern "production"
R
to force a refresh.Q
to quit the program.The --pattern
option allows you to filter queues by name using regular expressions. The pattern is applied to the queue name only (not the full URL) and is case-insensitive.
Examples:
--pattern "test"
- matches queues containing "test" anywhere in the name--pattern "^prod-"
- matches queues starting with "prod-"--pattern "queue$"
- matches queues ending with "queue"--pattern "(dev|test|staging)"
- matches queues containing "dev", "test", or "staging"Reading list of queues...Processed 5 out of 10 queues...
QueueName1: 12 msgs
https://console.aws.amazon.com/sqs/v2/home?region=us-west-2#/queues/QueueName1
QueueName2: 5 msgs
https://console.aws.amazon.com/sqs/v2/home?region=us-west-2#/queues/QueueName2
Reading list of queues...Processed 5 out of 10 queues...
QueueName1: 12 msgs, 3 in-flight, 15 total
https://console.aws.amazon.com/sqs/v2/home?region=us-west-2#/queues/QueueName1
QueueName2: 5 msgs, 0 in-flight, 5 total
https://console.aws.amazon.com/sqs/v2/home?region=us-west-2#/queues/QueueName2
Reading list of queues...Filtered 10 queues to 3 matching pattern 'prod'
Processed 3 out of 3 queues...
production-queue: 25 msgs
https://console.aws.amazon.com/sqs/v2/home?region=us-west-2#/queues/production-queue
user-actions-prod: 8 msgs
https://console.aws.amazon.com/sqs/v2/home?region=us-west-2#/queues/user-actions-prod
This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
A Python script to monitor and list Amazon SQS queues with messages, featuring real-time updates and AWS console links.
We found that sqs-list-filled-queues demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Research
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.