Subscribe
Tag

Security

7 posts

Finding vulnerable dependencies in golang using govulncheck

govulncheck only reports vulnerabilities your code can actually reach, which makes the output short enough to act on. Here is how I run it, why I scan the built binary and how a fixed vulnerability came back because of the Go version in go.mod.

4 min read
AWS

Deregistering an ECS task definition does not delete it

If a password ever went into the environment block of an ECS task definition, it is still readable in every old revision, even after you deregister them. Here is how to find those revisions, the order to fix them in and how to stop it happening again.

4 min read

Comparing VAPT runs to catch security regressions

A single VAPT run tells you what is broken today. Comparing it with the previous run tells you which fixes did not hold. Here is the simple findings format and the small python script I use to diff two runs.

4 min read
AWS

Finding all Vulnerable Security groups in AWS using golang

Security is very important for any AWS infrastructure. Security groups are essential component for AWS security. Security group acts a virtual firewall for all instances and services (RDS, Elasticache etc.). Security groups provides ingress and egress permissions for an instance. Generally public access is provided to HTTP (80) and HTTPS

1 min read
AWS

Cleaning up unused security groups in AWS using golang

As the AWS infrastructure becomes bigger, maintaining security groups becomes harder. This is very hard to do manually. In this blog we will look at how to cleanup unused security groups using script in golang. Whenever a security group is applied to an EC2 instance, ElastiCache, RDS, Elastic Search Service

1 min read