T09 · Insecure Skill Coding Practices
- Location
scripts/login.js:13- Finding
Privileged RiskShield Credentials Embedded in Documentation and Executable Scripts
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill automates RiskShield approvals, but it ships reusable credentials and tokens and can submit consequential decisions with unsafe defaults.
Treat this as a Review item, not a routine install. Do not use it against real RiskShield data unless the exposed password and token have been revoked, credentials are supplied through a managed secret channel, fixed-case/default-decision behavior is removed, debug scripts are excluded, and approvals require explicit user-directed case/action input in an isolated least-privilege account.
scripts/login.js:13Privileged RiskShield Credentials Embedded in Documentation and Executable Scripts
token.json:1Bearer Token and Secret Token Packaged and Persisted in Plaintext
scripts/risk_approve.js:14Approval Script Fails Open to a Fixed Case and PASS Decision When Arguments Are Missing
scripts/risk_approve.js:34Chromium Sandbox Disabled During Authenticated Approval Automation
scripts/test_login_fetch.js:30Login Debug Script Writes Authentication Response Headers and Body to Logs
The documentation describes a limited browser approval skill, but the referenced behavior includes undeclared authenticated access, token handling, direct API interaction, local token persistence, screenshots, and diagnostic logging. This mismatch is dangerous because reviewers and operators may authorize a much more powerful skill than they realize, enabling covert data access or high-impact system actions.
The documentation describes a limited browser approval skill, but the referenced behavior includes undeclared authenticated access, token handling, direct API interaction, local token persistence, screenshots, and diagnostic logging. This mismatch is dangerous because reviewers and operators may authorize a much more powerful skill than they realize, enabling covert data access or high-impact system actions.
The documentation describes a limited browser approval skill, but the referenced behavior includes undeclared authenticated access, token handling, direct API interaction, local token persistence, screenshots, and diagnostic logging. This mismatch is dangerous because reviewers and operators may authorize a much more powerful skill than they realize, enabling covert data access or high-impact system actions.
The documentation describes a limited browser approval skill, but the referenced behavior includes undeclared authenticated access, token handling, direct API interaction, local token persistence, screenshots, and diagnostic logging. This mismatch is dangerous because reviewers and operators may authorize a much more powerful skill than they realize, enabling covert data access or high-impact system actions.
The documentation describes a limited browser approval skill, but the referenced behavior includes undeclared authenticated access, token handling, direct API interaction, local token persistence, screenshots, and diagnostic logging. This mismatch is dangerous because reviewers and operators may authorize a much more powerful skill than they realize, enabling covert data access or high-impact system actions.
The documentation describes a limited browser approval skill, but the referenced behavior includes undeclared authenticated access, token handling, direct API interaction, local token persistence, screenshots, and diagnostic logging. This mismatch is dangerous because reviewers and operators may authorize a much more powerful skill than they realize, enabling covert data access or high-impact system actions.
The documentation describes a limited browser approval skill, but the referenced behavior includes undeclared authenticated access, token handling, direct API interaction, local token persistence, screenshots, and diagnostic logging. This mismatch is dangerous because reviewers and operators may authorize a much more powerful skill than they realize, enabling covert data access or high-impact system actions.
The documentation describes a limited browser approval skill, but the referenced behavior includes undeclared authenticated access, token handling, direct API interaction, local token persistence, screenshots, and diagnostic logging. This mismatch is dangerous because reviewers and operators may authorize a much more powerful skill than they realize, enabling covert data access or high-impact system actions.
The documentation describes a limited browser approval skill, but the referenced behavior includes undeclared authenticated access, token handling, direct API interaction, local token persistence, screenshots, and diagnostic logging. This mismatch is dangerous because reviewers and operators may authorize a much more powerful skill than they realize, enabling covert data access or high-impact system actions.
The documentation describes a limited browser approval skill, but the referenced behavior includes undeclared authenticated access, token handling, direct API interaction, local token persistence, screenshots, and diagnostic logging. This mismatch is dangerous because reviewers and operators may authorize a much more powerful skill than they realize, enabling covert data access or high-impact system actions.
The documentation describes a limited browser approval skill, but the referenced behavior includes undeclared authenticated access, token handling, direct API interaction, local token persistence, screenshots, and diagnostic logging. This mismatch is dangerous because reviewers and operators may authorize a much more powerful skill than they realize, enabling covert data access or high-impact system actions.
The documentation describes a limited browser approval skill, but the referenced behavior includes undeclared authenticated access, token handling, direct API interaction, local token persistence, screenshots, and diagnostic logging. This mismatch is dangerous because reviewers and operators may authorize a much more powerful skill than they realize, enabling covert data access or high-impact system actions.
The documentation describes a limited browser approval skill, but the referenced behavior includes undeclared authenticated access, token handling, direct API interaction, local token persistence, screenshots, and diagnostic logging. This mismatch is dangerous because reviewers and operators may authorize a much more powerful skill than they realize, enabling covert data access or high-impact system actions.
The documentation describes a limited browser approval skill, but the referenced behavior includes undeclared authenticated access, token handling, direct API interaction, local token persistence, screenshots, and diagnostic logging. This mismatch is dangerous because reviewers and operators may authorize a much more powerful skill than they realize, enabling covert data access or high-impact system actions.
The documentation describes a limited browser approval skill, but the referenced behavior includes undeclared authenticated access, token handling, direct API interaction, local token persistence, screenshots, and diagnostic logging. This mismatch is dangerous because reviewers and operators may authorize a much more powerful skill than they realize, enabling covert data access or high-impact system actions.
The documentation describes a limited browser approval skill, but the referenced behavior includes undeclared authenticated access, token handling, direct API interaction, local token persistence, screenshots, and diagnostic logging. This mismatch is dangerous because reviewers and operators may authorize a much more powerful skill than they realize, enabling covert data access or high-impact system actions.
The documentation describes a limited browser approval skill, but the referenced behavior includes undeclared authenticated access, token handling, direct API interaction, local token persistence, screenshots, and diagnostic logging. This mismatch is dangerous because reviewers and operators may authorize a much more powerful skill than they realize, enabling covert data access or high-impact system actions.
The documentation describes a limited browser approval skill, but the referenced behavior includes undeclared authenticated access, token handling, direct API interaction, local token persistence, screenshots, and diagnostic logging. This mismatch is dangerous because reviewers and operators may authorize a much more powerful skill than they realize, enabling covert data access or high-impact system actions.
The documentation describes a limited browser approval skill, but the referenced behavior includes undeclared authenticated access, token handling, direct API interaction, local token persistence, screenshots, and diagnostic logging. This mismatch is dangerous because reviewers and operators may authorize a much more powerful skill than they realize, enabling covert data access or high-impact system actions.
The documentation describes a limited browser approval skill, but the referenced behavior includes undeclared authenticated access, token handling, direct API interaction, local token persistence, screenshots, and diagnostic logging. This mismatch is dangerous because reviewers and operators may authorize a much more powerful skill than they realize, enabling covert data access or high-impact system actions.
The documentation describes a limited browser approval skill, but the referenced behavior includes undeclared authenticated access, token handling, direct API interaction, local token persistence, screenshots, and diagnostic logging. This mismatch is dangerous because reviewers and operators may authorize a much more powerful skill than they realize, enabling covert data access or high-impact system actions.
The documentation describes a limited browser approval skill, but the referenced behavior includes undeclared authenticated access, token handling, direct API interaction, local token persistence, screenshots, and diagnostic logging. This mismatch is dangerous because reviewers and operators may authorize a much more powerful skill than they realize, enabling covert data access or high-impact system actions.
The documentation describes a limited browser approval skill, but the referenced behavior includes undeclared authenticated access, token handling, direct API interaction, local token persistence, screenshots, and diagnostic logging. This mismatch is dangerous because reviewers and operators may authorize a much more powerful skill than they realize, enabling covert data access or high-impact system actions.
The documentation describes a limited browser approval skill, but the referenced behavior includes undeclared authenticated access, token handling, direct API interaction, local token persistence, screenshots, and diagnostic logging. This mismatch is dangerous because reviewers and operators may authorize a much more powerful skill than they realize, enabling covert data access or high-impact system actions.
The documentation describes a limited browser approval skill, but the referenced behavior includes undeclared authenticated access, token handling, direct API interaction, local token persistence, screenshots, and diagnostic logging. This mismatch is dangerous because reviewers and operators may authorize a much more powerful skill than they realize, enabling covert data access or high-impact system actions.
Detected: suspicious.exposed_secret_literal