# A practical security guide for developers

DevFeed: [A practical security guide for developers](<https://devfeed.tech/articles/a-practical-security-guide-for-developers-121168.md>)

Original publisher: [Read original article](<https://1password.com/blog/developer-guide-to-exposed-credentials>)

Author: info@1password.com (Mariane Bekker)

Published: 2026-11-05T00:00:00Z

Content type: tutorial

Language: en

Sources: [1Password](<https://devfeed.tech/sources/blog-on-1password-blog.md>)

Topics: [Security](<https://devfeed.tech/topics/security.md>), [Access Control](<https://devfeed.tech/topics/access-control.md>), [Secret Scanning](<https://devfeed.tech/topics/secret-scanning.md>), [LLM security](<https://devfeed.tech/topics/llm-security.md>), [Tool](<https://devfeed.tech/topics/tool.md>), [MSP MCP](<https://devfeed.tech/topics/msp-mcp.md>), [Threat monitoring](<https://devfeed.tech/topics/threat-monitoring.md>)

Tags: [1password](<https://devfeed.tech/tags/1password.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai](<https://devfeed.tech/tags/ai.md>), [ai-developer](<https://devfeed.tech/tags/ai-developer.md>), [application](<https://devfeed.tech/tags/application.md>), [apps](<https://devfeed.tech/tags/apps.md>), [attack](<https://devfeed.tech/tags/attack.md>), [attack-paths](<https://devfeed.tech/tags/attack-paths.md>), [ci](<https://devfeed.tech/tags/ci.md>), [cli](<https://devfeed.tech/tags/cli.md>), [configuration](<https://devfeed.tech/tags/configuration.md>), [credentials](<https://devfeed.tech/tags/credentials.md>), [cryptocurrency](<https://devfeed.tech/tags/cryptocurrency.md>), [delivery](<https://devfeed.tech/tags/delivery.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [developer](<https://devfeed.tech/tags/developer.md>), [developers](<https://devfeed.tech/tags/developers.md>), [guide](<https://devfeed.tech/tags/guide.md>), [practical](<https://devfeed.tech/tags/practical.md>), [security](<https://devfeed.tech/tags/security.md>)

## AI overview

The checklist recommends reviewing credentials one project at a time: find secrets in repositories and configuration, remove hardcoded copies, narrow access, restrict agent and tool permissions, and rehearse replacing credentials. Track each active credential's owner and consumers without recording its value. 1Password Developer Watchtower can find plaintext secrets in local .env files, while repository history requires a separate scanner. The CLI and SDKs deliver real secret values to applications, and Environments and CLI can supply them to local MCP servers; these methods reduce hardcoded copies but do not hide values from receiving software. Service Accounts separate automation identity from a person, but API key permissions and spending limits remain provider settings. For supported personal-agent sign-ins, 1Password for Agents can fill approved credentials outside the agent's view, though the account's permissions still matter. Practice replacement with a nonproduction credential, revoke exposed values with their issuers, and account for processes holding old values and sessions that may need separate termination.

## Source excerpt

Five steps to review the credentials behind your apps, tools, and AI agents. October's security incidents carried real consequences: more than $6 billion in cryptocurrency stolen in one attack, and at least nine AI developer platforms disclosing incidents during the month. These were separate incidents with different attack paths. For developer teams, they raise a practical question: if a credential leaked today, would you know where it's used, what it can access, and how to replace it? Pick one project and work through this checklist with your team. It focuses on credentials and access, one part of securing your development workflow. 1. Find exposed credentials You can't address a leaked credential if you don't know it exists or which systems depend on it. Scan the current repository and its history for secrets using a secret-scanning tool. Review findings and revoke or rotate exposed credentials. Review .env files, shell profiles, CI settings, and deployment configuration. Remove credentials the project no longer needs. Assign an owner to every active credential and identify its consumers so replacements can reach each dependent system. Keep secret values out of your inventory. Record names, owners, and storage locations instead. How 1Password can help: 1Password Developer Watchtower can help discover local .env files containing plaintext secrets so you can import them into Environments. Use a separate secret-scanning tool for repository history, and revoke or rotate credentials that may have been exposed. Developer Watchtower 2. Remove hardcoded secrets Every copy is another place to protect and update. Replace plaintext credentials in project configuration with secret references or runtime delivery. Run the application with the replacement setup and verify the workflows that use those credentials. Remove obsolete plaintext copies. If a value was exposed, confirm the old credential has been revoked. How 1Password can help: 1Password CLI supplies secrets as enviro