Realistic fake tokens trip secret scanners
Test data and evals often need a token-shaped value. When the fake looks real, such as svc_stg_8f2c14be9d0a4177b1e6, nobody can tell it apart from a leaked key: not registry scans, not secret scanners, and not a person reading the file.
The skill then gets blocked or reported, and anyone auditing it has to work out whether the value is live. That is why the same value outside a test data folder fails the secrets rule. Here it costs a warning, because it's usually a fake.
"Audit thoroughly: Review all files bundled in the Skill: SKILL.md, scripts, images, and other resources."
"Many organizations have them hardcoded within the source code in plaintext, littered throughout configuration files and configuration management tools."
"Files under a folder named tests, examples, fixtures, or mocks, or the singular form, are skipped at any depth"
Use a value that is plainly fake
Make it obvious at a glance that the value is a placeholder.
This fails:
API_TOKEN=svc_stg_8f2c14be9d0a4177b1e6This passes:
API_TOKEN=test-token-placeholderSkillland's call: Charging only a warning for test data folders is Skillland's call.
10 of 4462 indexed skills fail this check
This check against the 10 that fire most often in the index:
Run the same check on your own skill in the validator, or from a terminal with the skillland CLI.