Lint a .env file like dotenv-linter (syntax, duplicates, ordering, quotes, subst...
https://code.halowerk.com/v1/dotenv-lintOverview
Lint a .env file like dotenv-linter (syntax, duplicates, ordering, quotes, substitutions) and detect secrets by key name and gitleaks patterns, reporting each secret only as SHA-256 prefix and length - never in plain text.
Protocol
x402 (POST)
Price
$0.0030
Payment Asset
USD Coin
Payment Network
Base
Category
uncategorized
Provider
code
Source
bazaar
Indexed
2026-11-20 13:10:04
Health
Status
unknown
Latency (p50)
—
Uptime (30d)
—
Reliability Score
—
Last Checked
Never
Last Healthy
Never
Consecutive Failures
0
x402 Payment Validation
Payment Requirements
—
Asset Verified
—
Facilitator
—
Input Schema
{
"body": {
"content": "DB_HOST=localhost\ndb_port = 5432\nDB_PASSWORD=correct-horse-battery\nDB_HOST=db\n"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"limitations": [
"Secret detection is pattern- and name-based; unusual secrets can be missed and harmless values flagged.",
"A 12-digit hash prefix of a short or guessable secret can be confirmed by brute force; rotate secrets that were committed.",
"Variable expansion (dotenv-expand) is not performed."
],
"result": {
"assignments": 4,
"duplicates": [
{
"effective_line": 4,
"key": "DB_HOST",
"lines": [
1,
4
]
}
],
"findings": [
{
"key": "DB_PASSWORD",
"line": 3,
"message": "DB_PASSWORD holds a likely secret (secret-key-name); value not shown, SHA-256 prefix 622493693890, length 21.",
"rule": "SecretDetected",
"severity": "medium",
"source": "https://cwe.mitre.org/data/definitions/798.html"
},
{
"key": "db_port",
"line": 2,
"message": "The line has spaces around equal sign.",
"rule": "SpaceCharacter",
"severity": "low",
"source": "https://github.com/dotenv-linter/dotenv-linter/tree/v4.0.0/dotenv-analyzer/src/check/space_character.rs"
},
{
"key": "db_port",
"line": 2,
"message": "The db_port key should be in uppercase.",
"rule": "LowercaseKey",
"severity": "low",
"source": "https://github.com/dotenv-linter/dotenv-linter/tree/v4.0.0/dotenv-analyzer/src/check/lowercase_key.rs"
},
{
"key": "DB_PASSWORD",
"line": 3,
"message": "The DB_PASSWORD key should go before the db_port key.",
"rule": "UnorderedKey",
"severity": "low",
"source": "https://github.com/dotenv-linter/dotenv-linter/tree/v4.0.0/dotenv-analyzer/src/check/unordered_key.rs"
},
{
"key": "DB_HOST",
"line": 4,
"message": "The DB_HOST key is duplicated (first defined on line 1); dotenv 16.6.1 parse() keeps the last value.",
"rule": "DuplicatedKey",
"severity": "low",
"source": "https://github.com/dotenv-linter/dotenv-linter/tree/v4.0.0/dotenv-analyzer/src/check/duplicated_key.rs"
}
],
"keys": 3,
"parsed_by_dotenv": 3,
"secrets": [
{
"detected_by": "key_name",
"key": "DB_PASSWORD",
"length": 21,
"line": 3,
"rule": "secret-key-name",
"sha256_prefix": "622493693890"
}
],
"summary": {
"critical": 0,
"high": 0,
"info": 0,
"low": 4,
"medium": 1
}
},
"service": "dotenv-lint",
"status": "success"
},
"type": "json"
}