In short.
Env Config Reader is a sample skill for security scanner developers, but its safe verdict is an expectation and its helpers inspect more environment data than the description suggests. Python enumerates environment names, TypeScript counts all environment keys, and a shell helper passes the complete environment through a local filter before printing matching entries. The files offer a concrete case for studying false positives in environment-dump detection. Runtime compatibility, scanner accuracy and actual execution results are unknown.
Researched and written by an AI model and checked by a second AI model. How it works
Coverage is limited to evals/skills/safe-skills-2/env-config-reader at commit c558c421157c546ec417cf23778ce81a3a8f35fd: SKILL.md, _expected.json, config_reader.py, config_reader.ts, filter-env.sh and setup.sh, plus the repository LICENSE supplied as a related notice. The broader skill-scanner implementation, other fixtures, external license text and subsequent revisions are outside this evidence. Nothing was executed. Scanner outcomes, installation success, runtime compatibility and benchmark performance remain unassessed.
The overview
Identity
The resource is the env-config-reader folder in cisco-ai-defense/skill-scanner. It contains SKILL.md, two configuration readers, two shell helpers and _expected.json. The descriptor declares the name env-config-reader, Apache-2.0 licensing and an empty allowed-tools list.
The original folder is [https://github.com/cisco-ai-defense/skill-scanner/tree/main/evals/skills/safe-skills-2/env-config-reader]. The supplied files are pinned to commit c558c421157c546ec417cf23778ce81a3a8f35fd.
Assessment
Its clearest use is as a small regression fixture for defensive scanners: code intended to expose false positives, where acceptable configuration access is flagged as dangerous. _expected.json specifies a benign package, a safe verdict and no findings. Those are expected results, not measured scanner output.
The description's claim that the skill never enumerates the environment conflicts with both readers. Its claim that it never pipes unfiltered env output to another command also conflicts with filter-env.sh. These discrepancies make the implementation more informative than the description alone.
Users
Scanner authors, security reviewers and developers studying environment-access rules can use the short examples to compare targeted reads, name enumeration and filtered output. Beginners can inspect the same general task across Python, TypeScript and shell code. Suitability as a production configuration component or an installed assistant skill is not established.
Capabilities
The Python reader returns HOME, PORT and LOG_LEVEL values with defaults, a count of nonempty PATH segments, and names beginning with APP_ or PUBLIC_. The TypeScript reader returns a mode, PATH segment count, total environment-key count, JSON-encoded NODE_ENV value and an echoed NODE_ENV value.
filter-env.sh prints environment entries beginning with APP_PUBLIC_ and then PATH if execution reaches that command. setup.sh selects a PORT default, prints PATH, requests the Python version and prints a readiness message; it does not start a service.
Using it
Requirements
The Python source uses the standard-library os module. The TypeScript source references process.env and NodeJS.ProcessEnv, requiring a suitable Node.js TypeScript environment. The shell helpers require Bash and the commands they invoke: env, grep and printenv; setup.sh also invokes python3.
Minimum runtime versions, supported operating systems, dependency installation and compatible assistant hosts are unspecified. Both readers split PATH on a colon; support for other path separators is not demonstrated.
Mechanism
Python combines targeted os.environ.get and os.getenv calls with direct PATH access. Its public_names expression iterates all environment names before retaining APP_ and PUBLIC_ names; it returns those names without their values. TypeScript uses Object.keys(process.env).length to count every environment key, while JSON.stringify targets only NODE_ENV.
The shell pipeline env | grep '^APP_PUBLIC_' sends the complete environment to a local grep process, whose output retains matching lines. It can print multiple matching entries and their values. No remote destination appears in the supplied helpers.
Setup
SKILL.md references the readers and shell helpers but supplies no assistant-host installation procedure or scanner invocation. Its allowed-tools list is empty; host-specific interpretation of that metadata is unknown.
Despite its filename, setup.sh does not install dependencies or configure a scanner. Its readiness message follows environment output and a Python version command. The fixture is explicitly described as inert, and no successful setup or execution result is supplied.
Example
As a hypothetical source-based example, PATH=/bin:/usr/bin gives the Python expression two nonempty segments, so path_entries would contain the text 2. APP_NAME=demo contributes APP_NAME to public_names, rather than demo. Missing PORT and LOG_LEVEL select the text defaults 3000 and info. This illustrates the code's logic; it is not an observed execution result.
Assessment & evidence
Limitations
The description overstates how narrowly the environment is accessed. Enumeration of names, counting all keys and passing complete env output through a pipe are present. A public-looking prefix also does not establish that a matching value is appropriate to print.
Python directly indexes PATH, so an absent PATH would raise KeyError. With no APP_PUBLIC_ matches, grep's failure status combined with the shell options would stop filter-env.sh before printenv PATH. The TypeScript env argument affects echo, while the other fields still read process.env; supplying a custom mapping therefore does not isolate its environment reads. If NODE_ENV is absent, targeted can be undefined despite the declared string-valued return type.
Reasoning
The useful distinction is between reading selected values, inspecting variable names and exposing values through output. These helpers combine those operations, giving scanner developers a concrete case for examining rules that treat every environment reference as a bulk dump.
The expected safe verdict records the intended classification. It cannot establish that a scanner handles the case correctly, that every output is harmless in a particular environment, or that the description accurately summarizes the implementation.
Alternatives
No named alternative resources or comparative results are supplied. For application configuration, the targeted os.getenv and os.environ.get expressions already present illustrate a narrower access pattern than enumeration and shell output. For scanner evaluation, this single benign case cannot establish coverage across a wider range of behaviors.
Evidence
The evidence comprises the six selected folder files and the repository LICENSE notice. The implementation supports analysis of visible environment access and output; it supplies no execution logs, measured scanner verdicts or benchmarks.
_expected.json describes its provenance as a first-party, human-reviewed, scanner-independent inert fixture and includes provenance hashes. These are source assertions. The underlying review material and independent verification of those assertions are not supplied.
Access & freshness
Costs
Monetary and operational costs are unknown. The files provide no pricing, support charges, resource measurements or scanner compute requirements. The shown helpers contain no model-provider API integration, but this does not establish costs for any surrounding scanner or hosting environment.
Rights
SKILL.md and the fixture provenance declare Apache-2.0. The captured repository LICENSE carries a 2026 copyright notice for Cisco Systems, Inc. and its affiliates, requires compliance with Apache License 2.0 and disclaims warranties.
The captured LICENSE is a short notice referring to the full terms at [http://www.apache.org/licenses/LICENSE-2.0]. Reuse and redistribution are subject to those terms; preserve the supplied copyright and license notices.
Freshness
The supplied snapshot was captured at 2026-11-16T21:49:09.032Z from commit c558c421157c546ec417cf23778ce81a3a8f35fd. The main-branch folder may change; later contents are unknown. No release version or demonstrated compatibility with a particular scanner or assistant-host version is supplied.
Actions
Obtain the complete folder at the pinned revision from [https://github.com/cisco-ai-defense/skill-scanner/tree/c558c421157c546ec417cf23778ce81a3a8f35fd/evals/skills/safe-skills-2/env-config-reader], retaining its source headers and repository LICENSE. Treat _expected.json as expected data and compare it with actual scanner output before drawing conclusions about detection accuracy.
For any later execution, use synthetic environment values and account for prefix output and missing PATH. Before adapting the readers for application use, resolve the description discrepancies and decide whether the TypeScript argument should control every environment read.
