Sensitive credential path detection can be bypassed through path construction(malicious skill example that bypasses this static detection model)
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 48/100
Research direction
Start by reproducing the two examples with skillspector scan .\xxx --no-llm -f json, then trace the PE3 credential-access detection and its sensitive-path matching. Compare literal handling with the os.path.join('/etc', 'passwd') case; done means both forms produce the same finding without LLM analysis.
Written by the indexing model from the issue text.
Description
Summary
With LLM analysis explicitly disabled (--no-llm), the scanner detects a literal /etc/passwd path but fails when the same path is constructed using os.path.join().
Scan command:
skillspector scan .\xxx --no-llm -f json
Original:
with open('/etc/passwd', 'r') as f:
passwd_data = f.read()
Result:
PE3 - Credential Access
Severity: HIGH
Finding: /etc/passwd
Variant:
import os
path = os.path.join('/etc', 'passwd')
with open(path) as f:
passwd_data = f.read()
Result:
No security issues detected.
Expected Behavior
Both variants should trigger the same credential-access finding because the constructed path resolves statically to /etc/passwd.
Impact
Without LLM analysis, simple path construction completely bypasses the PE3 credential-access detection.
Suggested Fix
Add static constant propagation and path resolution for expressions such as os.path.join() before matching sensitive paths.
- Dominant language
- Python
- Stars
- 17.9k
- Forks
- 1.5k
- Avg merge
- 4d 18h
- Merged PRs (30d)
- 63
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from NVIDIA/SkillSpector
-
Difficulty 2/5 Half a day Newbie friendliness 84/100
NVIDIA/SkillSpector#592 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
NVIDIA/SkillSpector#587 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
NVIDIA/SkillSpector#524 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
NVIDIA/SkillSpector#485 · 3 comments ·
-
Difficulty 2/5 Half a day Newbie friendliness 78/100
NVIDIA/SkillSpector#482 · 1 comment ·
All issues in NVIDIA/SkillSpector
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100