T01 · Skill Instruction Hijacking
- Location
SKILL.md:17- Finding
Forced First-Response Instruction Hijacking
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill mostly fits a paper-analysis helper, but it overrides the first assistant turn and can send full papers, reviews, replies, and an API credential to a configurable LLM endpoint.
Review this before installing, especially if you work with unpublished papers or confidential reviews. Use only trusted LLM endpoints, verify OPENAI_API_BASE, avoid untrusted command/acpx backends, and expect the skill to read/write project files and generated skill outputs in your workspace.
SKILL.md:17Forced First-Response Instruction Hijacking
scripts/engine/analyze_extracted_papers.py:401Configurable LLM Endpoint Can Receive API Credentials and Confidential Research Content
Repository traversal for forbidden strings, absolute paths, and compliance checks is a materially different capability from research assistance. That mismatch matters because it increases read access over local files and can surface sensitive path information or embedded tokens if not tightly scoped.
Repository traversal for forbidden strings, absolute paths, and compliance checks is a materially different capability from research assistance. That mismatch matters because it increases read access over local files and can surface sensitive path information or embedded tokens if not tightly scoped.
Repository traversal for forbidden strings, absolute paths, and compliance checks is a materially different capability from research assistance. That mismatch matters because it increases read access over local files and can surface sensitive path information or embedded tokens if not tightly scoped.
Repository traversal for forbidden strings, absolute paths, and compliance checks is a materially different capability from research assistance. That mismatch matters because it increases read access over local files and can surface sensitive path information or embedded tokens if not tightly scoped.
Repository traversal for forbidden strings, absolute paths, and compliance checks is a materially different capability from research assistance. That mismatch matters because it increases read access over local files and can surface sensitive path information or embedded tokens if not tightly scoped.
Repository traversal for forbidden strings, absolute paths, and compliance checks is a materially different capability from research assistance. That mismatch matters because it increases read access over local files and can surface sensitive path information or embedded tokens if not tightly scoped.
Repository traversal for forbidden strings, absolute paths, and compliance checks is a materially different capability from research assistance. That mismatch matters because it increases read access over local files and can surface sensitive path information or embedded tokens if not tightly scoped.
Repository traversal for forbidden strings, absolute paths, and compliance checks is a materially different capability from research assistance. That mismatch matters because it increases read access over local files and can surface sensitive path information or embedded tokens if not tightly scoped.
Repository traversal for forbidden strings, absolute paths, and compliance checks is a materially different capability from research assistance. That mismatch matters because it increases read access over local files and can surface sensitive path information or embedded tokens if not tightly scoped.
Repository traversal for forbidden strings, absolute paths, and compliance checks is a materially different capability from research assistance. That mismatch matters because it increases read access over local files and can surface sensitive path information or embedded tokens if not tightly scoped.
Repository traversal for forbidden strings, absolute paths, and compliance checks is a materially different capability from research assistance. That mismatch matters because it increases read access over local files and can surface sensitive path information or embedded tokens if not tightly scoped.
Repository traversal for forbidden strings, absolute paths, and compliance checks is a materially different capability from research assistance. That mismatch matters because it increases read access over local files and can surface sensitive path information or embedded tokens if not tightly scoped.
Repository traversal for forbidden strings, absolute paths, and compliance checks is a materially different capability from research assistance. That mismatch matters because it increases read access over local files and can surface sensitive path information or embedded tokens if not tightly scoped.
Repository traversal for forbidden strings, absolute paths, and compliance checks is a materially different capability from research assistance. That mismatch matters because it increases read access over local files and can surface sensitive path information or embedded tokens if not tightly scoped.
Repository traversal for forbidden strings, absolute paths, and compliance checks is a materially different capability from research assistance. That mismatch matters because it increases read access over local files and can surface sensitive path information or embedded tokens if not tightly scoped.
Repository traversal for forbidden strings, absolute paths, and compliance checks is a materially different capability from research assistance. That mismatch matters because it increases read access over local files and can surface sensitive path information or embedded tokens if not tightly scoped.
Repository traversal for forbidden strings, absolute paths, and compliance checks is a materially different capability from research assistance. That mismatch matters because it increases read access over local files and can surface sensitive path information or embedded tokens if not tightly scoped.
Repository traversal for forbidden strings, absolute paths, and compliance checks is a materially different capability from research assistance. That mismatch matters because it increases read access over local files and can surface sensitive path information or embedded tokens if not tightly scoped.
Forcing Chinese for diagnosis, reasoning, ranking, and risk communication removes user choice and can materially reduce transparency if the user or downstream reviewer does not read Chinese. Because these sections convey safety-relevant judgments and workflow decisions, language coercion can obscure risks, inhibit oversight, and make it harder for users to catch incorrect or overreaching actions.
Copying the full parent environment into a subprocess can expose secrets such as API keys, tokens, proxy credentials, and other sensitive runtime variables to whatever executable is launched. Because this file also supports arbitrary command execution, inherited environment variables materially increase the blast radius of that capability and make secret exfiltration easier.
paper_key=paper_key,
stage=stage,
)
env = os.environ.copy()
env.update(
{
"LLM_REQUEST_JSON": str(request_path),
Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
# Generated Skill Contract
## Required Layout
Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
# Generated Skill Contract
## Required Layout
Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
# Generated Skill Contract
## Required Layout
Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
# Generated Skill Contract
## Required Layout
Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
# Generated Skill Contract
## Required Layout