Security Guides
In-depth guides and analysis on security guides from the Safeguard engineering team.
5115 articles
Is Python pickle safe? What to use for untrusted data
Python pickle is not safe for untrusted data because loading it can run code. Here is what the docs recommend: JSON, signing, and restricted unpicklers.
The Pyramid of Pain explained for defenders
The Pyramid of Pain ranks indicators by how much it hurts an attacker when you detect them. See the six levels and how to aim your detections higher.
Push protection vs scanning after the fact for secrets
Push protection blocks a credential before it reaches the repository. Scanning finds ones already there. Learn why prevention and detection both matter.
GitHub push protection bypass: reasons, alerts and audit trail
When a push is blocked for a secret, a developer can often bypass it with a reason. Here is what each reason does and how admins can limit bypass rights.
Push approval fatigue: how to stop tapping Approve on your phone
Why push based MFA prompts get approved by mistake and what to do about it: number matching now, phishing resistant methods like FIDO or passkeys next.
pull_request versus pull_request_target: which is safe for forks
pull_request runs fork code without secrets. pull_request_target runs in the base repo context. Learn when each is safe and the one pattern to avoid.
How big should a pull request be for a real security review?
Small pull requests get faster, more careful review and are easier to roll back. Here is a practical size rule and how to split risky changes.
Google Pub/Sub IAM: publisher and subscriber roles at least privilege
Which Pub/Sub roles to give a producer service and a consumer service, why Editor is too broad, and where to grant them for least privilege.
Should you publish a penetration test summary for buyers?
What a shareable penetration test summary should contain, what to withhold, and how to answer buyers who ask for the full report.
Publishing a GitHub security advisory: a pre-publish checklist
Before you publish a GitHub security advisory, confirm the fix version, ranges, credits and CVE status. A checklist based on what GitHub documents.
Public API launch security checklist: 10 checks before go live
Ten checks before you open an API to the public: auth, object level access, rate limits, input limits, errors, logging, keys, versions and an inventory.
PSD2 SCA when the phone is both the app and the second factor
The PSD2 technical standards require authentication factors to be independent. Here is what that means when one phone runs the banking app and holds the factor.
Self-healing security runs on Safeguard.
Your first fix PR is minutes away.
No sales call required, even your agent can complete the purchase over MCP.